Audioscrobbler compatibility
-
anonymous
Hello! I found Synergy after iScrobbler started going a little strange, and I do very much love the easy control functions. My only question is: does Synergy support multiple track scrobbling? By which I mean, if I listen to a track on repeat, should it scrobble all the plays? I do this quite often and I would like my last.fm page to reflect it. iScrobbler used to do it, but now seems to have stopped, which is why I went looking for another application.
-
Greg Hurrell
(Going from memory of the Audioscrobbler protocol...) I think that according to the protocol it certainly should submit a track multiple times if it is played multiple times, and from my memory of how this is implemented in the Synergy code that's what I would expect to happen.
I'm going to do some tests and see if I can get it to submit multiple times.
So there are really three possibilities here:
- The protocol doesn't allow repeated submissions and so last.fm is discarding the repeats
- The protocol allows it but a bug in Synergy is stopping it from happening
- The protocol allows it but a bug in the last.fm code is stopping it from happening
I doubt the last.fm code is at fault, so it's probably between options 1 and 2...
-
Greg Hurrell
Ok, looks like it was option two... Here's a sample of log output:
17/8/2009 13:56:33 Synergy[209] Audioscrobbler: Received notification from iTunes 17/8/2009 13:56:33 Synergy[209] Audioscrobbler: Received notification of playing status 17/8/2009 13:56:33 Synergy[209] Audioscrobbler: Track information: { WOAudioscrobblerAlbum = "Por la boca vive el pez"; WOAudioscrobblerArtist = "Fito y Fitipaldis"; WOAudioscrobblerLength = 134; WOAudioscrobblerTrack = "214 sullivan street"; } 17/8/2009 13:56:33 Synergy[209] Audioscrobbler: This track appears to be a new submission 17/8/2009 13:56:33 Synergy[209] Audioscrobbler: Cancelling previously existing submission timer, if any 17/8/2009 13:56:33 Synergy[209] Audioscrobbler: Setting up new submission timer (67 seconds) 17/8/2009 13:56:33 Synergy[209] Audioscrobbler: Setting up new submission timer (67 seconds) 17/8/2009 13:57:40 Synergy[209] Audioscrobbler: Submission timer fired; will double-check that current track position matches expected value 17/8/2009 13:57:40 Synergy[209] Audioscrobbler: Position matches, will submit to Audioscrobbler 17/8/2009 13:57:40 Synergy[209] Audioscrobbler: Adding song to submission queue; song information: { WOAlbum = "Por la boca vive el pez"; WOArtist = "Fito y Fitipaldis"; WODate = "2009-08-17 11:57:40"; WOLength = 134; WOMBID = ""; WOTrack = "214 sullivan street"; } 17/8/2009 13:57:40 Synergy[209] Audioscrobbler: Enqueuing object: { WOAlbum = "Por la boca vive el pez"; WOArtist = "Fito y Fitipaldis"; WODate = "2009-08-17 11:57:40"; WOLength = 134; WOMBID = ""; WOTrack = "214 sullivan street"; } 17/8/2009 13:57:40 Synergy[209] Audioscrobbler: Number of items currently on the queue: 1 17/8/2009 13:57:40 Synergy[209] Audioscrobbler: Queue was empty: processing item 17/8/2009 13:57:40 Synergy[209] Audioscrobbler: Will handle next item on the queue after delay (Audioscrobbler specified delay in seconds: 1) 17/8/2009 13:57:40 Synergy[209] Audioscrobbler: Will handle next item on the queue after delay (Audioscrobbler specified delay in seconds: 1) 17/8/2009 13:57:41 Synergy[209] Audioscrobbler: Will proceed with submission 17/8/2009 13:57:41 Synergy[209] Audioscrobbler: Will perform submission using URL: http://post2.audioscrobbler.com:80/protocol_1.1 17/8/2009 13:57:41 Synergy[209] Audioscrobbler: Submission as URL-encoded string is: u=wcolaiuta... 17/8/2009 13:57:41 Synergy[209] Audioscrobbler: Submission as data is: <753d7763 ... 413430> 17/8/2009 13:57:41 Synergy[209] Audioscrobbler: Starting connection attempt 17/8/2009 13:57:41 Synergy[209] Audioscrobbler: Waiting for submission response 17/8/2009 13:57:41 Synergy[209] Audioscrobbler: Waiting for submission response 17/8/2009 13:57:47 Synergy[209] Audioscrobbler: Connection to Audioscrobbler did finish loading (response received) 17/8/2009 13:57:47 Synergy[209] Audioscrobbler: Received an INTERVAL directive 17/8/2009 13:57:47 Synergy[209] Audioscrobbler: Storing interval value: 1 17/8/2009 13:57:47 Synergy[209] Audioscrobbler: Processing submission response 17/8/2009 13:57:47 Synergy[209] Audioscrobbler: Received OK response 17/8/2009 13:57:47 Synergy[209] Audioscrobbler: Dequeueing first object 17/8/2009 13:57:47 Synergy[209] Audioscrobbler: Will handle next item on the queue after delay (Audioscrobbler specified delay in seconds: 1) 17/8/2009 13:57:48 Synergy[209] Audioscrobbler: Queue is empty, not proceeding 17/8/2009 13:57:48 Synergy[209] Audioscrobbler: Queue is empty, not proceeding 17/8/2009 13:57:48 Synergy[209] Audioscrobbler: Queue is empty, not proceeding 17/8/2009 13:58:48 Synergy[209] Audioscrobbler: Received notification from iTunes 17/8/2009 13:58:48 Synergy[209] Audioscrobbler: Received notification of playing status 17/8/2009 13:58:48 Synergy[209] Audioscrobbler: Track information: { WOAudioscrobblerAlbum = "Por la boca vive el pez"; WOAudioscrobblerArtist = "Fito y Fitipaldis"; WOAudioscrobblerLength = 134; WOAudioscrobblerTrack = "214 sullivan street"; } 17/8/2009 13:58:48 Synergy[209] Audioscrobbler: This track was previously submitted for consideration but no paused timer found; doing nothing
So as that last line clearly shows, it submits the first time but will disregard subsequent plays. Will open a ticket in the issue tracker for this one.
-
Greg Hurrell
Ok, the ticket is ticket #1365. Please continue any further discussion on the topic there.
Reply
This topic is now closed.