diff --git a/api/search b/api/search index 4a154ac..e01c8cc 100755 --- a/api/search +++ b/api/search @@ -2,8 +2,12 @@ echo "content-type: text/html" echo -echo '' -echo '' +echo ' +
+ + + +' args=$(echo "$SP_TRACK" | awk -F? '{print $2}' | sed 's/%20/ /g') @@ -14,22 +18,20 @@ result=$(../spotify-dl.sh "$args" | tee $log_file 2>&1 | grep "/var/www/spotify- track=$(echo "$result" | awk -F '.mp3' '{print $1}') if [[ $track ]];then - echo "" else echo "