Fix "Fill missing album tracks" button never pushing to the Plex Wish List #60
No reviewers
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
WulfScience-FOSS/ha-music-own!60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "macsome_20"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Confirmed live: the button correctly finds album gaps and adds them to the
wanted table (Qobuz purchase links show up fine), but fill_missing_tracks()
only ever called engine.fill_missing_album_tracks() and re-read the DB
state — it never called fetch_ma_playlists()/sync_wishlist_playlist() at
all, so nothing ever reached the actual Apple Music Wish List playlist.
The no_uri_tracks/_apple_resolve_uri support built for exactly this case
(gap-filled tracks have no MA-sourced URI) was sitting there unused because
this entrypoint never invoked the wishlist push in the first place.
fill_missing_tracks() now fetches the wishlist playlist and calls
sync_wishlist_playlist() afterward, mirroring _do_sync()'s existing
pattern (uri_index/no_uri_tracks build, resolved_uris persisted back via
record_resolved_uris).
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com