Hi,
Thank you for this script, it works great. I used it last week and it successfully populated my library with my scrobbles.
However, I have a few questions and issues about how tracks are matched, which I saw others mention as well.
Last week I used:
ENABLE_FUZZY_MATCHING=True
PLAYCOUNT_CONFLICT_RESOLUTION=ask
ALBUM_MATCHING_MODE=album_agnostic
This required several hours of manually selecting matches for many songs.
After finishing, I noticed that a lot of albums (live albums, bootlegs, compilations, etc.) ended up with hundreds of scrobbles even though I’ve never listened to them. The problem was that I couldn't see which album the script was assigning scrobbles to when I was asked to confirm matches.
Could an option be added to show the album the scrobbles belong to, and the album they will be assigned to?
As it works now, it's hard to see where the scrobbles are coming from or where they’re going.
Second question: Is it possible to consolidate scrobbles?
(e.g., multiple scrobbles of the same song from different albums on Last.fm being merged into one playcount)
Today I tried again on my backup database, this time with:
ALBUM_MATCHING_MODE=album_aware
But before even getting to album-aware prompts, I was still receiving the same fuzzy match questions as before, so I stopped and decided to ask here first.
Here’s an example:
Fuzzy match found for:
Navidrome: Anna Ternheim - To Be Gone
Potential matches in Last.fm:
[1] Anna Ternheim - To Be Gone (5 scrobbles) (similarity: 100%)
[2] Anna Ternheim - To Be Gone (1 scrobbles) (similarity: 100%)
[3] Anna Ternheim - To Be Gone (1 scrobbles) (similarity: 100%)
[4] Anna Ternheim - To Be Gone (2 scrobbles) (similarity: 100%)
[0] None of these match (skip this track)
→ Select match [0-4]:
On Last.fm:
Scrobbles 9
| Track | Album |
|--------------|---------------------------------------|
| To Be Gone | Somebody Outside |
| To Be Gone | Somebody Outside |
| To Be Gone | Somebody Outside |
| To Be Gone | Rolling Stone: New Noises, Volume 75 |
| To Be Gone | Somebody Outside |
| To Be Gone | Leaving on a Mayday |
| To Be Gone | Halfway To Fivepoints |
| To Be Gone | Somebody Outside |
| To Be Gone | Halfway To Fivepoints |
All 9 scrobbles are the exact same song, but from different albums, presumably because of Spotify. If I view the track on Last.fm, it correctly shows 9 total plays, even though they’re split by album in the history.
Since this is essentially the same track across different albums, shouldn't this be handled automatically when using ALBUM_MATCHING_MODE=album_aware?
Finally, last time I ran this, I experienced the same issue: I got prompted repeatedly for the same song and kept pressing [1]. This caused scrobbles to be added to multiple albums like live versions and bootlegs. After the import, one artist ended up with 14,000 playcounts in Navidrome, even though the actual number on Last.fm is only about 5,000.
Thanks in advance for any clarification or improvements!
Hi,
Thank you for this script, it works great. I used it last week and it successfully populated my library with my scrobbles.
However, I have a few questions and issues about how tracks are matched, which I saw others mention as well.
Last week I used:
This required several hours of manually selecting matches for many songs.
After finishing, I noticed that a lot of albums (live albums, bootlegs, compilations, etc.) ended up with hundreds of scrobbles even though I’ve never listened to them. The problem was that I couldn't see which album the script was assigning scrobbles to when I was asked to confirm matches.
Could an option be added to show the album the scrobbles belong to, and the album they will be assigned to?
As it works now, it's hard to see where the scrobbles are coming from or where they’re going.
Second question: Is it possible to consolidate scrobbles?
(e.g., multiple scrobbles of the same song from different albums on Last.fm being merged into one playcount)
Today I tried again on my backup database, this time with:
ALBUM_MATCHING_MODE=album_aware
But before even getting to album-aware prompts, I was still receiving the same fuzzy match questions as before, so I stopped and decided to ask here first.
Here’s an example:
On Last.fm:
All 9 scrobbles are the exact same song, but from different albums, presumably because of Spotify. If I view the track on Last.fm, it correctly shows 9 total plays, even though they’re split by album in the history.
Since this is essentially the same track across different albums, shouldn't this be handled automatically when using ALBUM_MATCHING_MODE=album_aware?
Finally, last time I ran this, I experienced the same issue: I got prompted repeatedly for the same song and kept pressing [1]. This caused scrobbles to be added to multiple albums like live versions and bootlegs. After the import, one artist ended up with 14,000 playcounts in Navidrome, even though the actual number on Last.fm is only about 5,000.
Thanks in advance for any clarification or improvements!