Force-refresh MA playlist tracks instead of trusting the cache #51

Merged
neerdoc merged 1 commit from macsome_10 into main 2026-07-30 11:02:50 +00:00
Owner

get_playlist_tracks() defaults to force_refresh=False, returning MA's
cached track list. MA's own periodic provider sync only refreshes
playlist presence/metadata, not track contents, so every playlist we
read here (including the wishlist itself) could be stale until someone
manually hits "Refresh the items listing" in the MA UI. That produced
exactly the kind of ghost re-adds this integration is meant to avoid.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

get_playlist_tracks() defaults to force_refresh=False, returning MA's cached track list. MA's own periodic provider sync only refreshes playlist presence/metadata, not track contents, so every playlist we read here (including the wishlist itself) could be stale until someone manually hits "Refresh the items listing" in the MA UI. That produced exactly the kind of ghost re-adds this integration is meant to avoid. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
get_playlist_tracks() defaults to force_refresh=False, returning MA's
cached track list. MA's own periodic provider sync only refreshes
playlist presence/metadata, not track contents, so every playlist we
read here (including the wishlist itself) could be stale until someone
manually hits "Refresh the items listing" in the MA UI. That produced
exactly the kind of ghost re-adds this integration is meant to avoid.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
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
WulfScience-FOSS/ha-music-own!51
No description provided.