Some Python CLI tools for talking to the Last.fm API.
Uses pylast:
pip install pylast
Show my now playing song, or that of a given username.
Shows the last 20 tracks you scrobbled (or of a given username).
Loves whatever track is now playing on Last.fm, then prints confirmation of last loved track.
Shows your last 20 (or a given number of) loved tracks.
Command-line loopy thing to show what a Last.fm user is now playing. Based on bbcscrobbler.
Takes a track and scrobbles it
- Mandatory parameter 1: "artist - track"
- Optional parameter 2: UNIX timestamp. Default: now
Config and common things. You need your own Last.fm API key and secret, get them from https://www.last.fm/api/account/create and put them here. Also put your username and either password or password hash.