Hi, I had the same problem yesterday, but I knew it was a problem with last.fm. During that time, the log file shows that tracks were happily added to the cache. However, NOW when I try to play a song in XMPlay with the scrobbler plugin enabled, it doesn't play the song and freezes XMPlay. It works fine with the plugin disabled.
I had a similar problem before (except that time it was at least playing half the song rather than none, and crashing when it came to the time it would try to upload it to Last.fm), and I solved it by deleting the .cache file. That time, there were only 10 tracks in the cache, so I wondered whether it was a problem related to large numbers of tracks. (But this time, 58 songs were added to the cache during the time I was either disconnected from the internet or Last.fm wasn't working, and I obviously don't want to lose those from my statistics! So this time I've just renamed the .cache file, rather than deleting it entirely. When this problem's solved, will there be a way to restore the track names from that cache and upload them?)
OS: Windows XP Home, SP2
Here is the log file:
Last few songs I played while the Last.fm site wasn't working (they're video game remixes, if you're wondering):
2007-09-09 22:29:23 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-09 22:29:23 [DEBUG] GetVersion() = 170393861 (5.1, build 2600)
2007-09-09 22:29:23 [DEBUG] curl_version() = libcurl/7.16.2 OpenSSL/0.9.8a zlib/1.2.3
2007-09-09 22:33:42 [DEBUG] DSP_NewTrack (OPEN)
2007-09-09 22:33:42 [DEBUG] XMP_ScrobInit() started
2007-09-09 22:33:42 [DEBUG] CacheManager::Load()
2007-09-09 22:33:42 [DEBUG] Resizing cache array - new length: 53
2007-09-09 22:33:42 [INFO] Number of entries in the cache: 54
2007-09-09 22:33:42 [DEBUG] Scrobbler::init() - cache loaded, doing handshake...
2007-09-09 22:33:42 [DEBUG] XMP_ScrobInit() finished
2007-09-09 22:33:42 [DEBUG] DSP_SetFormat( 1, 44100, 2 )
2007-09-09 22:33:51 [DEBUG] XMP_FetchInfo -- start
2007-09-09 22:33:51 [WARNING] No valid MusicBrainz ID found, consider using MusicBrainz taggers to tag this file properly!
2007-09-09 22:33:51 [DEBUG] XMP_FetchInfo -- end
2007-09-09 22:33:51 [DEBUG] len = 94, diff = 8
2007-09-09 22:33:51 [INFO] Current track: Aeolius - Apocalyptic Orbital Ovum (Sonic the Hedgehog 2: Hedgehog Heaven)
2007-09-09 22:33:51 [INFO] Submitting in 86 seconds...
2007-09-09 22:34:16 [DEBUG] Could not connect to server.
2007-09-09 22:34:16 [DEBUG] Operation timed out after 30000 milliseconds with 0 bytes received
2007-09-09 22:34:16 [DEBUG] Unable to handshake: sleeping...
2007-09-09 22:34:16 [WARNING] Handshake with Last.fm server failed!
2007-09-09 22:35:16 [DEBUG] DSP_Process -- sec <= 0
2007-09-09 22:35:16 [DEBUG] XMP_SubmitProc start
2007-09-09 22:35:16 [DEBUG] Resizing cache array - new length: 106
2007-09-09 22:35:16 [DEBUG] AddTrack (cache_size = 54, tracks_size = 106)
2007-09-09 22:35:16 [INFO] Track added to the cache for submission
2007-09-09 22:35:16 [INFO] Preparing to submit 10 track(s) from the cache
2007-09-09 22:36:29 [DEBUG] Unable to handshake: sleeping...
2007-09-09 22:36:29 [WARNING] Handshake with Last.fm server failed!
2007-09-09 22:36:50 [DEBUG] DSP_NewTrack (CLOSE)
2007-09-09 22:36:50 [DEBUG] DSP_NewTrack (OPEN)
2007-09-09 22:36:59 [DEBUG] XMP_FetchInfo -- start
2007-09-09 22:36:59 [WARNING] No valid MusicBrainz ID found, consider using MusicBrainz taggers to tag this file properly!
2007-09-09 22:36:59 [DEBUG] XMP_FetchInfo -- end
2007-09-09 22:36:59 [DEBUG] len = 106, diff = 8
2007-09-09 22:36:59 [INFO] Current track: CarboHydroM - The Nine Tails Fox And The Avenger (Street Fighter 2)
2007-09-09 22:36:59 [INFO] Submitting in 98 seconds...
2007-09-09 22:38:30 [DEBUG] Unable to handshake: sleeping...
2007-09-09 22:38:30 [WARNING] Handshake with Last.fm server failed!
2007-09-09 22:38:37 [DEBUG] DSP_Process -- sec <= 0
2007-09-09 22:38:37 [DEBUG] XMP_SubmitProc start
2007-09-09 22:38:37 [DEBUG] AddTrack (cache_size = 55, tracks_size = 106)
2007-09-09 22:38:37 [INFO] Track added to the cache for submission
2007-09-09 22:38:37 [DEBUG] Previous submission still in progress
2007-09-09 22:40:24 [DEBUG] DSP_SetFormat( 1, NULL )
2007-09-09 22:40:24 [DEBUG] DSP_StopTrack
2007-09-09 22:40:31 [DEBUG] Unable to handshake: sleeping...
2007-09-09 22:40:31 [WARNING] Handshake with Last.fm server failed!
2007-09-09 22:40:36 [DEBUG] DSP_NewTrack (CLOSE)
2007-09-09 22:40:36 [DEBUG] DSP_NewTrack (OPEN)
2007-09-09 22:40:36 [DEBUG] DSP_SetFormat( 1, 44100, 2 )
2007-09-09 22:40:44 [DEBUG] XMP_FetchInfo -- start
2007-09-09 22:40:44 [WARNING] No valid MusicBrainz ID found, consider using MusicBrainz taggers to tag this file properly!
2007-09-09 22:40:44 [DEBUG] XMP_FetchInfo -- end
2007-09-09 22:40:44 [DEBUG] len = 110, diff = 8
2007-09-09 22:40:44 [INFO] Current track: Daniel Baranowsky - Awakened Fears of the Gerudo (Zelda)
2007-09-09 22:40:44 [INFO] Submitting in 102 seconds...
2007-09-09 22:42:20 [WARNING] Handshake with Last.fm server failed!
2007-09-09 22:42:25 [INFO] Track added to the cache for submission
2007-09-09 22:43:06 [WARNING] Seeking during playback is not allowed - current file is not going to be submitted!
2007-09-09 22:44:09 [WARNING] Handshake with Last.fm server failed!
2007-09-09 22:44:42 [INFO] Shutting down...
2007-09-09 22:44:42 ----
Loading XMPlay again today, when the problem started. I tried enabling and disabling debug mode a few times.
2007-09-11 00:09:17 ----
2007-09-11 00:09:17 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-11 00:14:59 [INFO] Number of entries in the cache: 58
2007-09-11 00:15:37 ----
2007-09-11 00:15:37 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-11 00:16:17 ----
2007-09-11 00:16:17 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-11 00:16:22 [INFO] Number of entries in the cache: 58
2007-09-11 00:16:57 ----
2007-09-11 00:16:57 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-11 00:17:50 [INFO] Number of entries in the cache: 58
2007-09-11 00:33:54 ----
2007-09-11 00:33:54 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-11 00:34:20 ----
2007-09-11 00:34:20 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-11 00:35:02 [DEBUG] DSP_Free()
2007-09-11 00:35:02 [INFO] Shutting down...
2007-09-11 00:35:02 ----
2007-09-11 00:35:04 ----
2007-09-11 00:35:04 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-11 00:35:04 [DEBUG] GetVersion() = 170393861 (5.1, build 2600)
2007-09-11 00:35:04 [DEBUG] curl_version() = libcurl/7.16.2 OpenSSL/0.9.8a zlib/1.2.3
2007-09-11 00:35:25 [DEBUG] DSP_NewTrack (OPEN)
2007-09-11 00:35:25 [DEBUG] XMP_ScrobInit() started
2007-09-11 00:35:25 [DEBUG] CacheManager::Load()
Hmmm... 58 > 57... could these next two lines have something to do with it?
2007-09-11 00:35:25 [DEBUG] Resizing cache array - new length: 57
2007-09-11 00:35:25 [INFO] Number of entries in the cache: 58
2007-09-11 00:35:25 [DEBUG] Scrobbler::init() - cache loaded, doing handshake...
2007-09-11 00:35:25 [DEBUG] XMP_ScrobInit() finished
2007-09-11 00:42:12 ----
2007-09-11 00:42:12 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-11 00:42:12 [DEBUG] GetVersion() = 170393861 (5.1, build 2600)
2007-09-11 00:42:12 [DEBUG] curl_version() = libcurl/7.16.2 OpenSSL/0.9.8a zlib/1.2.3
2007-09-11 00:43:23 [DEBUG] DSP_Free()
2007-09-11 00:43:23 [INFO] Shutting down...
2007-09-11 00:43:23 ----
And then at this point I renamed the cache file and let the plugin create a brand new one.
2007-09-11 00:43:53 ----
2007-09-11 00:43:53 [INFO] Hello, this is xmp-scrobbler 0.8
2007-09-11 00:43:53 [DEBUG] GetVersion() = 170393861 (5.1, build 2600)
2007-09-11 00:43:53 [DEBUG] curl_version() = libcurl/7.16.2 OpenSSL/0.9.8a zlib/1.2.3
2007-09-11 00:43:56 [DEBUG] DSP_NewTrack (OPEN)
2007-09-11 00:43:56 [DEBUG] XMP_ScrobInit() started
2007-09-11 00:43:56 [DEBUG] CacheManager::Load()
2007-09-11 00:43:56 [DEBUG] Scrobbler::init() - cache loaded, doing handshake...
2007-09-11 00:43:56 [DEBUG] XMP_ScrobInit() finished
2007-09-11 00:43:58 [DEBUG] Handshaking: Client up to date.
2007-09-11 00:43:58 [DEBUG] http://87.117.229.205:80/protocol_1.1
2007-09-11 00:43:58 [DEBUG] Submit interval set to 1 second(s).
2007-09-11 00:43:58 [DEBUG] Handshake successful.
2007-09-11 00:43:58 [INFO] Handshake with Last.fm server successful!
2007-09-11 00:43:59 [DEBUG] DSP_SetFormat( 1, 44100, 2 )
2007-09-11 00:44:07 [DEBUG] XMP_FetchInfo -- start
2007-09-11 00:44:07 [WARNING] No valid MusicBrainz ID found, consider using MusicBrainz taggers to tag this file properly!
2007-09-11 00:44:07 [DEBUG] XMP_FetchInfo -- end
2007-09-11 00:44:07 [DEBUG] len = 109, diff = 8
2007-09-11 00:44:07 [INFO] Current track: Nirvana - Come As You Are (Nevermind)
2007-09-11 00:44:07 [INFO] Submitting in 101 seconds...
2007-09-11 00:45:47 [DEBUG] DSP_Process -- sec <= 0
2007-09-11 00:45:47 [DEBUG] XMP_SubmitProc start
2007-09-11 00:45:47 [DEBUG] AddTrack (cache_size = 0, tracks_size = 10)
2007-09-11 00:45:47 [INFO] Track added to the cache for submission
2007-09-11 00:45:47 [INFO] Preparing to submit 1 track(s) from the cache
2007-09-11 00:45:47 [DEBUG] Submitting...
2007-09-11 00:45:47 [DEBUG] Submission succeeded.
2007-09-11 00:45:47 [INFO] Submission succeeded!