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
scrobble
http://your-server/rest/scrobble.view
Since 1.5.0
"Scrobbles" a given music file on last.fm. Requires that the user has configured his/her last.fm 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.