Page 1 of 1

last.fm compatibility

Posted: Sat Dec 24, 2011 2:41 pm
by tamale
Hi,
I have noticed recently that my tracks are not being scrobbled to last.fm. If I visit the last.fm page, it shows my track as "now playing", but it is never added to the total plays or recently played list.

Re: last.fm compatibility

Posted: Mon Dec 26, 2011 8:37 pm
by sbooth
This was a bug with a previous version of the Last.fm plug-in, but I thought it was fixed. It is possible that the saved list of tracks to scrobble isn't been handled properly- try moving or deleting ~/Library/Preferences/org.sbooth.Decibel.ScrobblerPlugIn.plist

Re: last.fm compatibility

Posted: Wed Dec 28, 2011 5:17 am
by tamale
I deleted the org.sbooth.Decibel.ScrobblerPlugIn.plist file, and songs have started scrobbling again. However, it appears that not all songs are scrobbling. I will play around with my last.fm to see if this happens only with some files and not with others...

Re: last.fm compatibility

Posted: Wed Apr 04, 2012 2:04 am
by tamale
Just following up:
Deleting the aforementioned file fixed the problem temporarily, but eventually the program stopped scrobbling again and deleting the file again did not help. However, after deleting the org.sbooth.Decibel.plist file, it seems I am now scrobbling again.

Re: last.fm compatibility

Posted: Thu Apr 19, 2012 10:58 pm
by tamale
the problem keeps resurfacing for me, so I would have to say it is still a bug in the current version. last.fm shows my Now Playing, allows me to Love/Unlove tracks, but simply will not scrobble. I keep deleting the plist files, but soon the problem just comes back.

Re: last.fm compatibility

Posted: Thu Apr 26, 2012 11:10 pm
by dusty
I have the same problem. Last.fm always shows the current track being scrobbled, but fails to store it once you move on to the next track.

Deleting my plist files isn't working.

Re: last.fm compatibility

Posted: Fri Apr 27, 2012 11:51 am
by sbooth
Please enable logging (as described in http://forums.sbooth.org/viewtopic.php?f=22&t=5055) but set the level to 7. If you post the log here or email it to me I might be able to get a better idea of what is going on.

Re: last.fm compatibility

Posted: Fri Apr 27, 2012 5:40 pm
by pl_svn
... btw... could you, please, add a "scrobble/don't scrobble" toggle?

thanks :-)

Re: last.fm compatibility

Posted: Fri Jun 08, 2012 1:14 am
by doubleaa
Ok, this problem has plagued me of late and I see what's wrong after I turned on logging (from the log):

Code: Select all

Jun  7 21:07:47 Aldebaran-MBP.local Decibel[4010] <Error>: HTTP error 400: bad request
Jun  7 21:07:47 Aldebaran-MBP.local Decibel[4010] <Error>: Last.fm error: Missing required parameter artist[27]
There's a ton a stuff in the queue from what I can see in the log so something in there must not have an artist name. The fix would appear to be to not scrobble if the required information is not all present. I would presume this would be artist and track name. Short of that, maybe putting in a 'dummy' value as last.fm seems to skip over tracks (even in other apps) that it either has no clue of or have names like 'Track 1'.

Anyways, this would be awesome if you could fix this. Decibel is still hands down the best music app for a mac imo.

Thanks!

Aaron

Re: last.fm compatibility

Posted: Fri Jun 08, 2012 1:28 am
by sbooth
You're right that the artist and track names are required last.fm parameters. Decibel checks to make sure that they aren't missing, but otherwise no validation is performed. I wonder in your case if the track's artist was just an empty string?

I will add code to check for empty strings in the next version so hopefully this problem can finally be resolved. Thanks for the help!

Re: last.fm compatibility

Posted: Fri Jun 08, 2012 2:12 am
by doubleaa
Thanks. I checked the log section (and PM'd it to you) and didn't necessarily see any blank/empty/null artists, but I wouldn't be surprised if that's it.

Thanks again!

Aaron

Re: last.fm compatibility

Posted: Sun Jul 15, 2012 3:15 pm
by LordMortis
Here's an interesting data point (I don't have logs at this point) - could the problem be with scrobbling songs that have not been played before?

I just noticed after playing a bunch of singles (which I don't have in my itunes library) i got no output on my last.fm profile (but the ~/Library/Preferences/org.sbooth.Decibel.plist does have a large list of "pending scrobbles") but one of them did scrobble: "Break My Soul" which I *have* scrobbled from iTunes before. Interestingly enough "Blind Side" (also by the same artist, but marked off in my singles folder as being from a different album as in my iTunes collection) did *not* scrobble correctly.

I shall send some logs through tomorrow.

Re: last.fm compatibility

Posted: Thu Mar 20, 2014 2:37 am
by tamale
Has there been any progress in this area? Even though Decibel hasn't been updated for a while, it is still by far my favourite music player because everything works great... except this one small thing which really bugs me! Decibel always shows my "listening now" correctly on last.fm, but inexplicably only a small number of these tracks are scrobbled. Fiddling with .plist files no longer seems to have any effect.