/ Published in: Bash
This script fetches the current playing song of user XY
Expand |
Embed | Plain Text
curl -s http://www.last.fm/user/$LASTFMUSER | grep -A 1 subjectCell | sed -e 's#<[^>]*>##g' | head -n2 | tail -n1 | sed 's/^[[:space:]]*//g'
You need to login to post a comment.
