PlaylistSyncService now accepts profile_id and applies per-profile library selection before syncing. _apply_profile_library sets Plex library name or Jellyfin user/library on the client based on the profile's saved preferences. All existing _get_active_media_client calls automatically pick up the active profile via instance state. Admin and profiles without custom library settings: zero change. |
||
|---|---|---|
| .. | ||
| sync_service.py | ||