Last.fm submissions are processed too quickly
Brought to you by:
sindre_mehus
Subsonic registers a "now playing" for Last.fm as soon as the song plays. That's correct.
Subsonic registers a "submission" for Last.fm 2 to 5 seconds after the "now playing". That's not correct. The submission (the considered meaning is that the song has been played) should not happen until the song is halfway through.
Anonymous
Last.fm specific log
While I also think that 2-5 seconds is too short, I don't see a particular reasons why submitting at 50% playback time should necessarily be the way to go. IIRC, the official Android Last.fm client set the timeout to 30 seconds which I believe to be quite a reasonable value. My personal experience is that I cannot always guarantee being able to listen to 50% of a, say, 7-9 minutes song due to network disruptions. And yes, certain music genres comprise songs that long. (Read: Heavy Metal. :) )
Looking at the success of the submits. It seems that the 2 submits are so close together, that it succeeds with the "now playing" submission, but frequently fails with the "played" submission. A possibility is just eliminating the "now playing" submission altogether.
[8/24/12 9:59:25 AM EDT] INFO PlaylistInputStream admin listening to "I Created Disco (2007)/Love Souvenir.mp3"
[8/24/12 9:59:28 AM EDT] DEBUG AudioScrobblerService Successfully registered now playing for song 'Love Souvenir' for user champro at Last.fm.
[8/24/12 9:59:31 AM EDT] DEBUG AudioScrobblerService Successfully registered submission for song 'Love Souvenir' for user champro at Last.fm.
[8/24/12 10:09:58 AM EDT] INFO PlaylistInputStream admin listening to "I Created Disco (2007)/Electro Man.mp3"
[8/24/12 10:10:01 AM EDT] DEBUG AudioScrobblerService Successfully registered now playing for song 'Electro Man' for user champro at Last.fm.
[8/24/12 10:10:04 AM EDT] WARN AudioScrobblerService Failed to scrobble song 'Electro Man' at Last.fm: FAILED Plugin bug: Not all request variables are set - no POST parameters.
Just want to say that being able to set the play time before scrobbling would be a good feature to add.