Hi last.fm,
I really like your site and the services it offers. I really love music and appreciate finding people with similar tastes, reading up on bands I like, expanding my own library by finding other bands through your site and just letting people know what I’ve been listening to.
But lately I’ve been experiencing a bug that’s been annoying the hell out of me: after scrobbling my latest songs I check my Recently Listened Tracks and find songs show up twice or more when I know I only listened to that song once at that time.
I thought maybe the problem was with the scrobbler so I updated to the latest version and took some screenshots of what it was doing. It showed each song only once so all looked well there.
When I checked my recent tracks on the web site I saw duplicate entries for a number of bands.
The biggest culprit seems to be Hammock. I’ve seen their tracks show up over 20 times on my playlist at the same exact minute.
The only thing I can offer about Hammock is that I fall asleep to them most every night, but definitely not on infinite loop. But this problem also happens with other bands, so I don’t think it’s Hammock specific.
So my questions for you are?
Are these songs showing up twice in the database table (or whatever) for my “song plays”?
When I try to delete one of the dupes, both/all entries end up getting deleted. I don’t see this until I refresh the page though. From poking around your code I see the following:
- The HTML for the dupes show the same exact JavaScript code for deleting the dupe tracks: rmrecenttrack(this, 21617457, 1238250572)
- The rmrecentrack method is defined as such: rmrecenttrack(link, trackid, listendate)
So both the trackid and listendate are the same. That explains why they both end up getting deleted – they are in fact the same entry. But if they have the same exact listendate… why are they showing up multiple times?
My only guess is that you have duplicate entries in your database, or whatever is feeding your view code is generating duplicate entries. I wonder where this is coming from if the scrobbler is showing a single entry for these songs. I’d love to help you figure this out.
Are these dupe entries also counting as duplicate plays towards the play count for that song/artist?
This is the only answer I really care about. I don’t want these dupe entries messing up my play counts, especially when a song can be duped up to 20 times. I suppose I could do some more digging on this but I’ve already spent an hour looking into this. It seems to be happening to others as I’ve found other people complaining about duplicate entries in the last.fm forums.
I know I don’t pay for your service (I’m sure you’re doing alright on ads, yea?) but would appreicate knowing if you’re aware of the problem and if you have figured out the cause and know how to fix.







