tinuzz/zina

Fix scrobbler

Closed this issue · 5 comments

Last.FM scrobbler isn't working with current release of Zina.

  • How to reproduce: Add your Last.FM credentials ( which by the way I think are saved in plaintext) and listen to a track that has proper id3 tags so Last.FM can parse it. Now go to your Last.FM profile and see the song that you currently listen.
  • Expected behavior: Once the song is finished , you should see it on Recently Listened Tracks list.
  • Current behavior: The song in Zina can be seen at the list while playing. But once the song is finished, it disappears from the list.

I have never used Last.FM before. Just created an account and tried to make Zina post something to it, but I can't seem to make it work. The code that is responsible for contacting post.audioscrobbler.com just never seems to run. No scrobbler queue file is ever created. Is there anything else needed to enable Last.FM support in Zina?

Quoting the settings page:
"For logged in users only. Requires "Private Key" in authentication."

However, I can't figure out what that means. There is no such field in 'authentication'. Some more pointers are very welcome. For the record: I only use Zina in stand-alone mode, so I never tried to use it with a supported CMS.

As far as I know , you just put your login username and pass in Zina and you're good to go. Regarding "Requires "Private Key" in authentication." , any possibility it means that requires a password?

The scrobbling behavior is quite unpredictable. Some times it tries to something and other occasions do nothing at all. Just try to play 5-6 tracks in Zina and have a look each time if it tries at least to scrobble something.

I have my server migrated so I can help you right now but I expect at the end of the week to provide better feedback for this and set up a testing environment to play around with it (both in stand alone and under CMS) . In my case I run it under Drupal but the way Zina works in CMS enviroment is more of an embedded approach rather than an integration. I will keep you updated when I get something useful in hands!

As Zina seems to use Last.fm Submissions Protocol v1.2.1, it may be necessary to update to Scrobbling 2.0 anyway...

Aha! So Zina uses 1.2.1 ? Then for sure the protocol is deprecated : http://www.lastfm.pl/forum/21716/_/479563
Now all errors and issues make sense!

Archiving this repository.