Last.FM Rating Plugin #6037
Shredder5262
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
A beets plugin that fetches Last.fm listener stats and maps them to ratings for your music library — with optional push-to-Kodi integration.
✨ Features
🔗 Last.fm integration – fetch track listener counts via Last.fm API
📊 Smart rating mapping – normalize listeners to a 1–10 rating scale
💿 Album ratings – compute album rating as the median of track ratings
📺 Kodi support – automatically push track and album ratings into your Kodi library (rating for tracks, fRating for albums)
🛠 Configurable behavior
--pretend mode (dry-run, no database writes)
debug_api flag for full API request/response logging
push_to_kodi toggle to enable/disable Kodi syncing
strict_album_match option to avoid false positives on compilations and greatest hits
📌 Beets fields
lastfm_track_rating (per track)
lastfm_album_rating (per album)
https://github.com/Shredder5262/lastfmrating
Enjoy!


All reactions