Sync Music Assistant favorites to Jellyfin #2

Merged
james merged 1 commit from jellyfin-sync-favorites into main 2026-10-31 22:24:25 +00:00
Owner

Upstream's Jellyfin provider reads favorites but never writes them, so a favorite set in Music Assistant never reaches Jellyfin, Symfonium, Harmonie or ListenBrainz.

patches/jellyfin-sync-favorites.patch declares FAVORITE_{ARTISTS,ALBUMS,TRACKS,PLAYLISTS}_EDIT and implements set_favorite with POST/DELETE /UserFavoriteItems/{id}. It applies after the playback patch and reuses its request helper, so a failure is logged, never raised. The helper's log message is now generic.

tests/test_jellyfin_sync_favorites.py checks the requests and the declared features. Both tests pass in a local build against 2.10.9.

Merging builds and publishes the next image (2.10.); Keel then offers it for approval.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CbPPc19ztjvWzSc5JPMH2B

Upstream's Jellyfin provider reads favorites but never writes them, so a favorite set in Music Assistant never reaches Jellyfin, Symfonium, Harmonie or ListenBrainz. `patches/jellyfin-sync-favorites.patch` declares `FAVORITE_{ARTISTS,ALBUMS,TRACKS,PLAYLISTS}_EDIT` and implements `set_favorite` with `POST`/`DELETE /UserFavoriteItems/{id}`. It applies after the playback patch and reuses its request helper, so a failure is logged, never raised. The helper's log message is now generic. `tests/test_jellyfin_sync_favorites.py` checks the requests and the declared features. Both tests pass in a local build against 2.10.9. Merging builds and publishes the next image (2.10.<run>); Keel then offers it for approval. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01CbPPc19ztjvWzSc5JPMH2B
The Jellyfin provider reads favorites but never writes them. Declare the
favorite edit features and implement set_favorite with
POST/DELETE /UserFavoriteItems/{id}, reusing the playback patch's request
helper (whose log message is now generic). Tested in the built image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CbPPc19ztjvWzSc5JPMH2B
james merged commit 98bff35e02 into main 2026-10-31 22:24:25 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
music-assistant/docker-music-assistant!2
No description provided.