This is a simple Last.fm command-line scrobbler written in Python.
pip install lastfm-cli-scrobblerpip install git+https://github.com/maximtrp/lastfm-cli-scrobbler.gitAfter the installation, two commands will be available: scrobble (my own API implementation) and scrobble2 (pylast API implementation).
$ scrobble -h
Usage: scrobble [FILES]
Options:
-h, --help show this help message and exitPylast-based version is probably more stable, but my own implementation of Last.fm API returns the full log (and shows a cross instead of a check if a track was ignored):
$ scrobble {01..04}*.flac
Scrobbling report:
[v] Shuttle358 - Ash
[v] Shuttle358 - Chessa
[v] Shuttle358 - Blast
[v] Shuttle358 - Duh