Skip wing-it fallback tracks from wishlist during playlist sync
Wing-it tracks (ID prefix 'wing_it_') have no real metadata and should never be added to wishlist when they fail to match on the media server. The per-track check in the sync service covers all sync paths: regular sync page, LB/Last.fm/Tidal/Deezer/Beatport discovery syncs, and automation-triggered syncs.
This commit is contained in:
parent
f5441c7992
commit
8c96e0e197
1 changed files with 6 additions and 0 deletions
|
|
@ -324,6 +324,12 @@ class PlaylistSyncService:
|
||||||
for match_result in unmatched_tracks:
|
for match_result in unmatched_tracks:
|
||||||
spotify_track = match_result.spotify_track
|
spotify_track = match_result.spotify_track
|
||||||
|
|
||||||
|
# Skip wing-it fallback tracks — they have no real metadata
|
||||||
|
# and should never be added to wishlist
|
||||||
|
if str(spotify_track.id).startswith('wing_it_'):
|
||||||
|
logger.info(f"Skipping wishlist for wing-it track: {spotify_track.name}")
|
||||||
|
continue
|
||||||
|
|
||||||
# Check if we have original track data with full album objects
|
# Check if we have original track data with full album objects
|
||||||
original_track_data = None
|
original_track_data = None
|
||||||
if hasattr(self, '_original_tracks_map') and self._original_tracks_map:
|
if hasattr(self, '_original_tracks_map') and self._original_tracks_map:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue