Scrobble up to 50 old, cached tracks in a row
All scrobbles in the scrobble.log should be sent in a single request.
If the log contains more than 50 tracks, send them 50 at a time.
This also implies further interpreting the results received from last.fm. See http://www.last.fm/api/show/track.scrobble. Tracks ignored because the daily scrobble limit was exceeded (ignoredMessage code="5") should be kept and retried later.
#1 Updated by Luís Picciochi over 8 years ago
- Subject changed from Scrobble up to 50 cached tracks in a row to Scrobble up to 50 old, cached tracks in a row
last.fm does not allow scrobbling tracks with a timestamp older than 2 weeks. See:
8 Sep 2008 - «partial scrobbling failure asfter a month offline»
18 Feb 2013 - «Two Week Limit on iPod Scrobbles???»
iPod Scrobbling FAQ - How long can I wait to scrobble tracks from my iPod?
Apparently, on the iPod, they seem to scrobble all plays of the same track with the same timestamp, which although not ideal, might help mitigate that 2-week issue.
I started a quick implementation to allow us not to lose old tracks. It's not what I'd call an ideal solution, but it may work.
What this implementation does is retry rejected, old scrobbles, with a timestamp refreshed to "now".
This might get track plays in a different order they were played, but I prefer having that than to lose them.