Add favorite sync to play_state_sync — union semantics, music first

Favorites on any server propagate to all others; never unmarks.
Covers MusicArtist, MusicAlbum, Movie, Series (Audio tracks future).
Provider map extended to include FAV_TYPES alongside SYNC_TYPES,
with Series/Episode TVDB IDs namespaced to avoid collisions.
This commit is contained in:
Gmer4Lfe
2026-06-22 23:42:39 -04:00
parent 4de10a7d01
commit d058cf15c9
2 changed files with 163 additions and 9 deletions
+1
View File
@@ -691,6 +691,7 @@
PLAY_SYNC_REMOTE=true # sync across hosts via Tailscale
PLAY_SYNC_DAYS=90 # days back to check for played items (0 = all time)
PLAY_SYNC_TYPES="Movie,Episode" # Audio excluded — music library too large; favorites handled separately
PLAY_SYNC_FAV_TYPES="MusicArtist,MusicAlbum,Movie,Series" # union sync — never unmarks; Audio tracks future
# ━━━ Play State Sync — Handback ━━━
# play_state_sync runs before DNS cutover so users land on current watch state.