Your password is "hashed", then concatenated to a hash sent by the server, then hashed again, so we can't do anything with that, we can't guess your password, nor use that hash to fake authentication
main debug: connection: Resource temporarily unavailable
>> Looks strange
main debug: connection succeeded (socket = 4804)
audioscrobbler debug: Handshake successfull
![Smile :)](./images/smilies/icon_smile.gif)
>> But it succeeds so we don't care
main debug: connection succeeded (socket = 4820)
audioscrobbler debug: Authentication failed, handshaking again
>> There is 3 possibilities
1/ There was a "BADSESSION" answer, from the audioscrobbler specification at
http://www.audioscrobbler.net/development/protocol/
BADSESSION
This indicates that the Session ID sent was somehow invalid, possibly because another client has performed a handshake for this user. On receiving this, the client should re-handshake with the server before continuing.
Do you have another program using last.fm which is running ?
2/ VLC couldn't find the string "OK" in the answer, and if it is the case there are 2 possibilities:
2a/
All other responses should be treated as a hard failure.
An error may be reported to the user, but as with other messages this should be kept to a minimum.
So there was an unspecified problem.
OR
2b/
The 1024 bytes buffer which contains the answer is too small << that would be VERY bad, but from the tests I made it is sufficient
Please confirm that you don't have another program running some last.fm authentication, if not, I will provide you a binary with a larger buffer size, and extended debug, so we can sort that
From the protocol:
The body of the server response will consist of a single \n (ASCII 10) terminated line. The client should process the first line of the body to determine the action it should take
That means the "OK" string should be in the first 2 bytes of the answer, so it seems like it's one of the 2 first cases.
And it just continues that over and over pretty endlessly. Plus, it doesn't retain the audioscrobbler activation between program runs. Every time I open VLC, I have to go into the prefs and reactivate the audioscrobbler interface. It remembers my username and pass however.
In some cases, the audioscrobbler plugin unloads itself, but it shouldn't be removed of the config. Can you verify your vlcrc file after quitting VLC ?
P.S.
On
http://www.last.fm/user/funman , almost every song has been submitted with VLC
![Wink ;)](./images/smilies/icon_wink.gif)
So maybe we have a specific windows bug, we'll see.