Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions sp
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -333,4 +331,4 @@ else
# It's not. Try a search.
eval "sp-search $@"
fi
fi
fi