last.fm compatibility

Discuss Decibel, a high quality audio player.
Post Reply
tamale
Posts: 18
Joined: Sat Aug 27, 2011 1:22 pm

last.fm compatibility

Post by tamale » Sat Dec 24, 2011 2:41 pm

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.

User avatar
sbooth
Site Admin
Posts: 2450
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: last.fm compatibility

Post by sbooth » Mon Dec 26, 2011 8:37 pm

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

tamale
Posts: 18
Joined: Sat Aug 27, 2011 1:22 pm

Re: last.fm compatibility

Post by tamale » Wed Dec 28, 2011 5:17 am

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...

tamale
Posts: 18
Joined: Sat Aug 27, 2011 1:22 pm

Re: last.fm compatibility

Post by tamale » Wed Apr 04, 2012 2:04 am

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.

tamale
Posts: 18
Joined: Sat Aug 27, 2011 1:22 pm

Re: last.fm compatibility

Post by tamale » Thu Apr 19, 2012 10:58 pm

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.

dusty
Posts: 1
Joined: Thu Apr 26, 2012 11:08 pm

Re: last.fm compatibility

Post by dusty » Thu Apr 26, 2012 11:10 pm

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.

User avatar
sbooth
Site Admin
Posts: 2450
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: last.fm compatibility

Post by sbooth » Fri Apr 27, 2012 11:51 am

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.

pl_svn
Posts: 98
Joined: Thu Jan 26, 2012 12:34 pm

Re: last.fm compatibility

Post by pl_svn » Fri Apr 27, 2012 5:40 pm

... btw... could you, please, add a "scrobble/don't scrobble" toggle?

thanks :-)

doubleaa
Posts: 5
Joined: Thu Oct 15, 2009 8:40 pm

Re: last.fm compatibility

Post by doubleaa » Fri Jun 08, 2012 1:14 am

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

User avatar
sbooth
Site Admin
Posts: 2450
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: last.fm compatibility

Post by sbooth » Fri Jun 08, 2012 1:28 am

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!

doubleaa
Posts: 5
Joined: Thu Oct 15, 2009 8:40 pm

Re: last.fm compatibility

Post by doubleaa » Fri Jun 08, 2012 2:12 am

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

LordMortis
Posts: 1
Joined: Sun Jul 15, 2012 3:10 pm

Re: last.fm compatibility

Post by LordMortis » Sun Jul 15, 2012 3:15 pm

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.

tamale
Posts: 18
Joined: Sat Aug 27, 2011 1:22 pm

Re: last.fm compatibility

Post by tamale » Thu Mar 20, 2014 2:37 am

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.

Post Reply