Comments
-
Greg Hurrell
Can you turn on logging and collect some information?
It is recommended that you turn on Audioscrobbler logging by entering the following command in the Terminal when Synergy is not running:
defaults write org.wincent.Synergy LogAudioscrobblerEvents -bool yes
This will cause detailed information about all Audioscrobbler-related operations to be logged to the console. To turn the logging off you may use this command when Synergy is not running:
defaults write org.wincent.Synergy LogAudioscrobblerEvents -bool no
-
patrickjoseph
Ok I've turned on logging... do you want me to just give you log info after a few days? or are you looking for something specific?
-
Greg Hurrell
No, I'm not looking for anything specific. The log will most likely provide an explanation of why the tracks aren't being submitted. There's no need to send the entire log; just a segment containing the messages printed when your tracks aren't being submitted.
-
patrickjoseph
I'm pasting a bit of my log below:
Jan 15 02:38:38 Saturn /Applications/System Preferences.app/Contents/MacOS/System Preferences: CMSCreateDataProviderOrGetInfo : Invalid colorspace type Jan 15 02:38:47 Saturn /Library/PreferencePanes/Synergy.prefPane/Contents/Resources/Synergy.app/Contents/MacOS/Synergy: CMSCreateDataProviderOrGetInfo : Invalid colorspace type Jan 15 02:38:47 Saturn /Library/PreferencePanes/Synergy.prefPane/Contents/Resources/Synergy.app/Contents/MacOS/Synergy: CMSCreateDataProviderOrGetInfo : Invalid colorspace type Jan 15 02:38:47 Saturn /Library/PreferencePanes/Synergy.prefPane/Contents/Resources/Synergy.app/Contents/MacOS/Synergy: CMSCreateDataProviderOrGetInfo : Invalid colorspace type Jan 15 02:38:47 Saturn /Library/PreferencePanes/Synergy.prefPane/Contents/Resources/Synergy.app/Contents/MacOS/Synergy: CMSCreateDataProviderOrGetInfo : Invalid colorspace type 2007-01-15 02:38:47.500 Synergy[7851] Audioscrobbler: Read preferences 2007-01-15 02:38:47.501 Synergy[7851] Audioscrobbler: Perform first-time initialization 2007-01-15 02:38:47.529 Synergy[7851] Audioscrobbler: Initializing WOAudioscrobbler object 2007-01-15 02:38:47.571 Synergy[7851] Audioscrobbler: Read new username 2007-01-15 02:38:47.571 Synergy[7851] Audioscrobbler: Read new password 2007-01-15 02:38:47.571 Synergy[7851] Audioscrobbler: First time we've read the preferences; will start a new session 2007-01-15 02:38:47.571 Synergy[7851] Audioscrobbler: Start Audioscrobbler session 2007-01-15 02:38:47.571 Synergy[7851] Audioscrobbler: Will request handshake 2007-01-15 02:38:47.571 Synergy[7851] Audioscrobbler: Handshake URL is http://post.audioscrobbler.com/?hs=true&p=1.1&c=syn&v=0.1&u=pizzapancakes 2007-01-15 02:38:47.571 Synergy[7851] Audioscrobbler: Starting connection attempt 2007-01-15 02:38:47.573 Synergy[7851] Audioscrobbler: Waiting for handshake reply 2007-01-15 02:39:06.836 Synergy[7851] Audioscrobbler: Received notification from iTunes 2007-01-15 02:39:06.836 Synergy[7851] Audioscrobbler: Received notification of playing status 2007-01-15 02:39:06.836 Synergy[7851] Audioscrobbler: Track information: {
WOAudioscrobblerAlbum = "Facts And Figures"; WOAudioscrobblerArtist = "The Legends"; WOAudioscrobblerLength = 127; WOAudioscrobblerTrack = "Lucky Star";
} 2007-01-15 02:39:06.836 Synergy[7851] Audioscrobbler: This track appears to be a new submission 2007-01-15 02:39:06.836 Synergy[7851] Audioscrobbler: Cancelling previously existing submission timer, if any 2007-01-15 02:39:06.837 Synergy[7851] Audioscrobbler: Setting up new submission timer (63 seconds) 2007-01-15 02:39:47.576 Synergy[7851] NSURLConnection for URL http://post.audioscrobbler.com/?hs=true&p=1.1&c=syn&v=0.1&u=pizzapancakes returned error: timed out 2007-01-15 02:40:09.837 Synergy[7851] Audioscrobbler: Submission timer fired; will double-check that current track position matches expected value 2007-01-15 02:40:09.839 Synergy[7851] Audioscrobbler: Position matches, will submit to Audioscrobbler 2007-01-15 02:40:09.839 Synergy[7851] Audioscrobbler: Adding song to submission queue; song information: {
WOAlbum = "Facts And Figures"; WOArtist = "The Legends"; WODate = "2007-01-15 07:40:09"; WOLength = 127; WOMBID = ""; WOTrack = "Lucky Star";
} 2007-01-15 02:40:09.839 Synergy[7851] Audioscrobbler: Enqueuing object: {
WOAlbum = "Facts And Figures"; WOArtist = "The Legends"; WODate = "2007-01-15 07:40:09"; WOLength = 127; WOMBID = ""; WOTrack = "Lucky Star";
} 2007-01-15 02:40:09.839 Synergy[7851] Audioscrobbler: Number of items currently on the queue: 1 2007-01-15 02:40:09.839 Synergy[7851] Audioscrobbler: Queue was empty: processing item 2007-01-15 02:40:09.839 Synergy[7851] Audioscrobbler: Will handle next item on the queue after delay (Audioscrobbler specified delay in seconds: 1) 2007-01-15 02:40:10.839 Synergy[7851] Audioscrobbler: Handshake previously failed, will retry 2007-01-15 02:40:10.839 Synergy[7851] Audioscrobbler: Will request handshake 2007-01-15 02:40:10.839 Synergy[7851] Audioscrobbler: Handshake URL is http://post.audioscrobbler.com/?hs=true&p=1.1&c=syn&v=0.1&u=pizzapancakes 2007-01-15 02:40:10.839 Synergy[7851] Audioscrobbler: Starting connection attempt 2007-01-15 02:40:10.840 Synergy[7851] Audioscrobbler: Waiting for handshake reply 2007-01-15 02:41:14.754 Synergy[7851] Audioscrobbler: Received notification from iTunes 2007-01-15 02:41:14.754 Synergy[7851] Audioscrobbler: Received notification of playing status 2007-01-15 02:41:14.754 Synergy[7851] Audioscrobbler: Track information: {
WOAudioscrobblerAlbum = "Facts And Figures"; WOAudioscrobblerArtist = "The Legends"; WOAudioscrobblerLength = 233; WOAudioscrobblerTrack = Closer;
} 2007-01-15 02:41:14.754 Synergy[7851] Audioscrobbler: This track appears to be a new submission 2007-01-15 02:41:14.754 Synergy[7851] Audioscrobbler: Cancelling previously existing submission timer, if any 2007-01-15 02:41:14.754 Synergy[7851] Audioscrobbler: Setting up new submission timer (116 seconds) 2007-01-15 02:41:17.574 Synergy[7851] NSURLConnection for URL http://post.audioscrobbler.com/?hs=true&p=1.1&c=syn&v=0.1&u=pizzapancakes returned error: timed out 2007-01-15 02:43:10.755 Synergy[7851] Audioscrobbler: Submission timer fired; will double-check that current track position matches expected value 2007-01-15 02:43:10.755 Synergy[7851] Audioscrobbler: Position matches, will submit to Audioscrobbler 2007-01-15 02:43:10.756 Synergy[7851] Audioscrobbler: Adding song to submission queue; song information: {
WOAlbum = "Facts And Figures"; WOArtist = "The Legends"; WODate = "2007-01-15 07:43:10"; WOLength = 233; WOMBID = ""; WOTrack = Closer;
} 2007-01-15 02:43:10.756 Synergy[7851] Audioscrobbler: Enqueuing object: {
WOAlbum = "Facts And Figures"; WOArtist = "The Legends"; WODate = "2007-01-15 07:43:10"; WOLength = 233; WOMBID = ""; WOTrack = Closer;
} 2007-01-15 02:43:10.756 Synergy[7851] Audioscrobbler: Number of items currently on the queue: 2 2007-01-15 02:43:10.756 Synergy[7851] Audioscrobbler: Queue was non-empty, last attempt failed: processing item 2007-01-15 02:43:10.756 Synergy[7851] Audioscrobbler: Will handle next item on the queue after delay (Audioscrobbler specified delay in seconds: 1) 2007-01-15 02:43:11.756 Synergy[7851] Audioscrobbler: Handshake previously failed, will retry 2007-01-15 02:43:11.756 Synergy[7851] Audioscrobbler: Will request handshake 2007-01-15 02:43:11.756 Synergy[7851] Audioscrobbler: Handshake URL is http://post.audioscrobbler.com/?hs=true&p=1.1&c=syn&v=0.1&u=pizzapancakes 2007-01-15 02:43:11.756 Synergy[7851] Audioscrobbler: Starting connection attempt 2007-01-15 02:43:11.756 Synergy[7851] Audioscrobbler: Waiting for handshake reply 2007-01-15 02:44:11.756 Synergy[7851] NSURLConnection for URL http://post.audioscrobbler.com/?hs=true&p=1.1&c=syn&v=0.1&u=pizzapancakes returned error: timed out 2007-01-15 02:45:08.277 Synergy[7851] Audioscrobbler: Received notification from iTunes 2007-01-15 02:45:08.277 Synergy[7851] Audioscrobbler: Received notification of playing status 2007-01-15 02:45:08.277 Synergy[7851] Audioscrobbler: Track information: {
WOAudioscrobblerAlbum = "Facts And Figures"; WOAudioscrobblerArtist = "The Legends"; WOAudioscrobblerLength = 198; WOAudioscrobblerTrack = "Another Sunday";
}
-
Greg Hurrell
Thanks for posting the log output. I see several failure messages in there, all saying that the connection to last.fm timed out. This indicates a problem with the network somewhere outside of Synergy's control; the problem could be anywhere between your computer (Mac OS X firewall, for example), your modem/router, your local network, any of the nodes between your machine and the last.fm servers, or even the last.fm servers themselves.
All you can really do is wait, Synergy will keep trying to submit, maintaining the tracks in a queue so your submissions won't be lost even if they do arrive late. You could try troubleshooting to find the cause of the timeout but given that there are so many links in the chain between the source and the destination, the odds of the problem actually being at your end and something that you have control over are probably not too high.
-
patrickjoseph
thanks for your help. the only thing that leads me to think that it's synergy is the fact that if i run the iscrobber app by last.fm it connects fine and submits my played tracks.
any ideas? thanks again.
-
Greg Hurrell
Two possible explanations:
(1) The network problems might be (and almost certainly are) transient in nature
(2) The other client may be overriding the default timeout value and waiting longing for the server to respond. I don't actually know what the default timeout value set by Cocoa is, but it's most likely a not-very-surprising interval like 30 or 60 seconds (and looking at the time stamps on the log messages, their looks to be about 60 or seconds between starting the connection and timing out).
I could add a user-settable preference to override the default timeout value, although I am a bit sceptical about the value of doing so given that Synergy retries and so the submissions will succeed eventually anyway, and if the Audioscrobbler servers are struggling then timing out and trying again later is probably a good thing for their servers.
Add a comment
Comments are now closed for this issue.