diff --git a/sp b/sp old mode 100644 new mode 100755 index aacc89c..9274fe1 --- a/sp +++ b/sp @@ -178,9 +178,7 @@ function sp-feh { function sp-url { # Prints the HTTP url. - - TRACK=$(sp-metadata | grep "url" | cut -d'|' -f2 | cut -d':' -f3) - echo "http://open.spotify.com/track/$TRACK" + echo `sp metadata | grep url | cut -d'|' -f2` } function sp-clip { @@ -333,4 +331,4 @@ else # It's not. Try a search. eval "sp-search $@" fi -fi \ No newline at end of file +fi