Mach5 / supersonic

Open-source web-based media streamer and jukebox fork of Subsonic. Supports MP3, OGG, AAC and other streamable audio and video formats. Runs on Windows, GNU/Linux and Mac using Java.
226 stars 61 forks source link

Last.fm Scrobble does 2 scrobbles if track has never been scrobbled #59

Open theVDude opened 12 years ago

theVDude commented 12 years ago

I had this same issue when I was using lastfmsubmitd, and when I switched to mpd and mpdscribble it stopped (and finally would say NOW PLAYING instead of LAST PLAYED)

Not sure how the scrobbling works currently, I've written some stuff with the last.fm api and may be able to look into what's happening with it.

Haven't done anything in java in a while. :/ The file is subsonic-main/src/java/net/sourceforge/subsonic/service/AudioScrobblerService.java I'm scanning through it to see what it might be. Going to try looking up mpdscribble and lastfmsubmitd to compare it to, as well.

porkcharsui commented 12 years ago

Thanks you for posting the issue report. Definitely seems like a bug based on your description.