subsonic-rating-sync
v0.2.1
Published
Sync favorite music tracks from a playlist to a Subsonic server.
Readme
Subsonic Rating Sync
Sync music file ratings from a playlist to a Subsonic server. You need to use a local music management app to export all your rated tracks.
Login to Subsonic server
⚠️ The password is stored in plain text in the current folder.
npx subsonic-rating-sync login --server="https://example.com" --username="user" --password="123"ℹ️ Navidrome: Go to the player settings and enable Report Real Paths for the SubsonicRatingSync player.
Push ratings as stars to the Subsonic server
⚠️ All existing stars are cleared. If you manually starred songs and didn’t sync those back to your playlist, they will be unstarred.
The playlist needs to match the file paths on the server. The --playlist-prefix and --server-prefix arguments are used to define the respective root for the music folder.
Add --dry-run to simulate actions that would be performed without actually starring/unstarring songs.
npx subsonic-rating-sync push --playlist="./favorites.m3u" --playlist-prefix="C:\Music\\" --server-prefix="/data/Music/"