jkramer / shell-fm

Lightweight console-based radio player for Last.FM radio streams.
227 stars 43 forks source link

"Handshake failed." -- scrobbling no longer occurs. Probably outdated API usage. #64

Closed AndydeCleyre closed 11 years ago

AndydeCleyre commented 12 years ago

As of September 3rd, each time a new song begins, shell-fm prints "Handshake failed." and no tracks are scrobbled to the user's profile. I believe shell-fm is using an outdated Last.fm API protocol.

Requests should be made to http://ws.audioscrobbler.com/2.0/ and provide the required parameters listed at http://www.last.fm/api/show/track.scrobble, but shell-fm appears to converse with http://post.audioscrobbler.com/ instead -- at least in submit.c and service.c.

AndydeCleyre commented 12 years ago

Today scrobbling works again, even though there has been no shell-fm code change, and even though shell-fm complains "DEBUG: Chunked! DEBUG: Chunked! Couldn't scrobble track(s)."

In shell-fm's wisdom it has also successfully submitted all of yesterday's activities. That's great.

Still, I think the API protocol used in shell-fm should be updated for reliability and future-safety.

jkramer commented 11 years ago

Please check out the api-v2 branch for the implementation of the new API.