Scrobbling with SubAir?

General discussions.

Moderator: moderators Scrobbling with SubAir?

Postby quickasfoxes » Mon Sep 13, 2010 7:28 pm

Hi there,

I'd love to be able to scrobble with SubAir but it doesnt look like its happening, and I couldnt find much info about it around the forums. Is this possible at all? Thanks!

Posts: 1
Joined: Mon Sep 13, 2010 7:26 pm

Postby ianimacleod » Wed Feb 09, 2011 2:11 pm

Scrobbling issues are not related to the App, they are related to Subsonic. I am also having issue with items being scrobbled to

I have an admin and a user configured to scrobble, but neither do. I cannot find anything useful in the logs, and have been unable to work out how to increase logging for useful information.

Any advice you can provide to help us scrobbling would be greatly appreciated.

Maybe I lie, I use iSub and it has not been scrobbling - I just tried from web and it is working now... but iSub does not.
Posts: 8
Joined: Tue Feb 08, 2011 3:15 pm

Postby haptic » Thu Feb 10, 2011 1:27 am

Might be something to do with external players. Scrobbling has stopped working on my Android phone.

Scrobbling is pretty huge for me; I hope this gets fixed quickly!
Posts: 9
Joined: Tue Feb 08, 2011 12:11 am

Postby baaldemon » Mon Feb 14, 2011 5:40 pm

4.4 changes how scrobbling is happening. The application has disabled scrobbling from previous versions on the server side by disabling it for player that use the rest interface.

Code: Select all
            if (player.getClientId() == null) {  // Don't scrobble REST players.
                audioScrobblerService.register(file, player.getUsername(), false);

So if you are using a client that sets its clientId then the way scrobbling has happened in the past will not work.

Code: Select all
However a scrobbling has been added to the API

Since 1.5.0

"Scrobbles" a given music file on Requires that the user has configured his/her credentials on the Subsonic server (Settings > Personal).
Parameter    Required    Default    Comment
id    Yes       A string which uniquely identifies the file to scrobble.
submission    No    True    Whether this is a "submission" or a "now playing" notification.

Returns an empty <subsonic-response> element on success.

So it is now up to your client to handle the scrobbling, they should update their code to call the new api. This will result in more accurate scrobbling statistics, because previously the song was scrobbled when it had completed downloading, not necessarily whether you played it or not. Now the client is in control of when this gets called, not the server, so the client actually knows whether or not you actually listened to the song.
Posts: 99
Joined: Fri May 07, 2010 11:54 am

Postby einsteinx2 » Sat Feb 19, 2011 6:03 pm

Yes, in the newest versions of Subsonic, it no longer automatically scrobbles songs that are played by API clients. I wasn't aware of this when I submitted iSub 3.0 or it would already be working in iSub. I'll be releasing 3.0.1 shortly which includes calls to the new scrobbling API. Other Subsonic client devs will need to release updates as well to support the new API.

It's a good thing though, because now only songs that are actually being listened to will get scrobbled (instead of songs getting pre-cached or manually cached) and I can add an option to let you specify how long into the song to scrobble it whereas before it always scrobbled right when the song started IIRC.
iSub Developer - -
User avatar
Posts: 214
Joined: Thu Mar 25, 2010 2:31 am

Postby steez » Mon Mar 28, 2011 9:49 pm

So far none of the apps have been updated. It has been a solid month.

SubAir, Android App, and iSub do not scrobble.
Posts: 24
Joined: Tue Jan 25, 2011 5:44 pm

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests