The wishlist table has a UNIQUE constraint on spotify_track_id, so INSERT OR REPLACE silently overwrote the existing entry when the same track appeared on a different album (same Spotify track ID). Now uses a composite key (track_id::album_id) when allow_duplicates is on and the base track ID already exists, allowing both versions to coexist. Only affects users with allow_duplicates enabled. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| music_database.py | ||