Bug #262
Scrobbler 2.0 may re-scrobble tracks when starting Audacious in "paused" mode
0%
Description
When starting Audacious, if a track is paused, we can scrobble a track even if was already scrobbled before.
This needs to be further investigated to find possible solutions.
History
#1 Updated by Luís Picciochi over 11 years ago
- Subject changed from Starting Audacious in "paused" mode to Scrobbler 2.0 may re-scrobble tracks when starting Audacious in "paused" mode
#2 Updated by John Lindgren over 11 years ago
We scrobble a track once per "playback ready", so quitting and then restarting the program causes the track to be scrobbled twice. Is that the problem?
#3 Updated by Luís Picciochi over 11 years ago
- File dupscrobbles.png dupscrobbles.png added
Yes, but it can only happen with long tracks (> 8 minutes) that have been played for half of their length or for 4 minutes before the player was shutdown.
Given my inability to explain this in text, I'm attaching a diagram that I used to help myself understand where the problem is. I hope this explains the issue a bit better.
A possible solution is to save somewhere an indication that the current song has been scrobbled until it is stopped/finishes playing. This could probably be a plugin preference on the config file. When starting the plugin, we can check if the current song is paused. If it corresponds to the saved song, we can skip it.
Note that for on this issue I'm considering "scrobbled" with the same meaning as "*enqueued* for scrobbling".
#4 Updated by John Lindgren over 9 years ago
- Status changed from New to Rejected
Closing old scrobbler "TODO" items since Luís has not been actively working on the plugin for a while now.