last.fm
I just *heart* last.fm.
It really is the LAST radio station you will need to tune into... well, unless you're in the car or on a bus or something silly like that.
Last.fm is a streaming internet radio station that learns to what you listen to. It also allows you to listen to stations tailored to other people, or listen to particular types of music, or artists similar to the ones you like, etc, etc etc.
I've been using latfmproxy to be able to control the music w/o a gui... keyboard shortcuts for skipping songs are much nicer. But, it turns out that lastfm player does listen to a local port 32213 (thanks to dave0 for reading the code). You so you can do something like:
$ echo "player/skip" | netcat localhost 32213
The commands are basically anything that looks like lastfm:// URL, but without the lastfm:// part. Other things that do interesting things are:
- player/status
- player/currentlyPlaying
- player/currentCover
- player/userTags
- player/love
- player/skip
- player/ban
To listen to loved tracks, you can use this:
$ echo "lastfm://user/BartTrojanowski/loved" | netcat localhost 32213
---
Updates:
- Dave wrote up how to tag using XMLRPC: http://www.dmo.ca/blog/last-fm-api-hacking-1