Scrobbler (Last.fm & ListenBrainz)
Sends what you listen to to Last.fm and/or ListenBrainz: now playing when a track starts and a scrobble after half the track or 4 minutes. Offline scrobbles are queued and sent later; love the playing track with Alt+L; podcasts, audiobooks and chosen folders are skipped. Needs your ListenBrainz user token, or your Last.fm API key + shared secret (free) and one browser authorisation.
"Open in Vivi" shows the plugin in Settings → Extensions → Browse, where you confirm its permissions and install it.
Needs Vivi 0.9.0 or newer. No Vivi yet? curl -fsSL https://viviplayer.app/install.sh | sh
Screenshots
Changelog
- v1.2.0 · download zip · latest
Love the playing track (Alt+L) on Last.fm and ListenBrainz; skip podcasts, audiobooks (.m4b) and chosen folders; repeat one counts every play; Connect Last.fm finishes by itself once you allow access, plus Disconnect; Status checks the ListenBrainz token and says why a file is not scrobbled; streams described by music packages (YouTube Music) are scrobbled; album artist, track number and MusicBrainz release / artist ids are sent. Privacy: the Last.fm session key moves out of Vivi's config into a private 0600 file, tokens no longer appear on curl's command line or in mpv's log, queue files are 0600, and the ListenBrainz token is only sent over https. Fixes: a wrong Last.fm secret or API key no longer deletes the offline queue, one rejected listen no longer drops a whole batch, messages are Vivi toasts instead of mpv's hidden OSD, the Last.fm session survives restarts on Vivi 0.9.0, MD5 works on Lua 5.1 builds without the bit library, and the needless filesystem permission is gone. On Vivi 0.13+: track data comes from Vivi's shared now-playing track (tags, library and music-package metadata merged; no own copy of vivi-media-meta), secret settings come from a private file instead of mpv's script-opts (which mpv logs), and live radio is not scrobbled.
- v1.1.0
Last.fm scrobbling and now playing (your API key + browser authorisation), next to ListenBrainz; separate offline queue per service.
- v1.0.1
Requires Vivi 0.9.0 (the plugin package system).
- v1.0.0
First release: ListenBrainz now playing and listens with an offline queue.
Permissions
- Internet access
- Runs other programs
Settings
- ListenBrainz user token (listenbrainz.org/settings) (secret)
- Last.fm API key (create one free at last.fm/api/account/create) (text)
- Last.fm shared secret (secret)
- Last.fm session key (optional, instead of Connect) (secret)
- Send now playing (toggle)
- Only music (skip videos) (toggle)
- Skip these genres (Audiobook also skips .m4b) (text)
- Skip files in these folders (comma-separated) (text)
- ListenBrainz API server (https) (text)


