clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.69k stars 672 forks source link

Last.fm scrobbler sometimes scrobbles songs twice. #2672

Open Clementine-Issue-Importer opened 10 years ago

Clementine-Issue-Importer commented 10 years ago

From piotrnal...@gmail.com on January 27, 2012 23:13:49

What steps will reproduce the problem? <- I'm doing a log now, we'll see.

  1. Play music with clementine, scrobble to last.fm from it.
  2. Watch your last.fm profile / clementine log.
  3. Seek for double scrobbles. What is the expected output? What do you see instead? No double scrobbles on the same song, if song is not just played again. Scrobble once every song. What version of the product are you using? On what operating system? Kubuntu 11.10 fully updated with Clementine 1.0.1 (from your PPA). Please provide any additional information below. I thought it was kinda connected with pausing songs, but not sure about that. I'm attaching log (clementine > clementine-duplicated-scrobbles.log) - around 23:03:59 there's song change to "Secret Pint".

History from last.fm profile:

Mogwai – Mogwai Fear Satan (F**k Buttons Remix) 4 minuty temu
Mogwai – Secret Pint 8 minut temu
Mogwai – Secret Pint 8 minut temu
Mogwai – Kids Will Be Skeletons Ulubiony utwór 13 minut temu

It's "4 minutes ago" ;) and - I didn't do anything to play the Secret Pint twice. Another thing - while playing the newest song, there was another scrobble of the same title with "Playing right now" status (but I closed the clementine before the song finished).

Attachment: clementine-duplicated-scrobbles.log

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=2672

Clementine-Issue-Importer commented 10 years ago

From dominikm...@gmail.com on February 11, 2012 16:24:33

I can confirm this is happening too with Clementine 1.0.1 on Windows 7 Ultimate 64 bit.

I noticed that the song that is currently FINISHING briefly changes its displayed info (title, track number) in Clementine's playlist to THE NEXT TRACK'S. After a second or so, it is back to normal and the next track commences playing. I figure this is when the double scrobble might occur. Perhaps it's sending the scrobble info as played song instead of updating the "now playing" status?

Attachment: double-scrobble.jpg

Clementine-Issue-Importer commented 10 years ago

From piotrnal...@gmail.com on February 11, 2012 16:49:55

I've found a way to bypass the bug - cleaning the clementine configs. It looks like it cured the situation. From what I recall, for me it started happening after updating from 0.7.x to 1.0.0. Looks like the old configs make the new clementine scrobble twice.

Clementine-Issue-Importer commented 10 years ago

From lag...@trioptimum.com on February 20, 2012 12:56:31

how do you clean the configs? this issue is really annoying me!

Clementine-Issue-Importer commented 10 years ago

From piotrnal...@gmail.com on February 20, 2012 23:42:20

I've changed the name of the Clementine's config folder. It's in system users data folder (C:\Users\yourusername.config\Clementine or /home/yourusername/.config/Clementine), I've changed the name to "Clementine-old" and Clementine started like new installation. Still - you have to do all the configs and remember about configuring last.fm. It does not look like a perfect cure - sometimes I've got again the same issue.

Clementine-Issue-Importer commented 10 years ago

From Liavonl...@gmail.com on August 26, 2013 07:26:44

I can confirm this issue too. It repeats on win7 and linux every time. I've founded something wrong in scrobble process(protocol). After the track have scrobbled(approximately in 3-4 minutes after start playing(depends on length)) "now playing" status is active, but it looks like the track is playing from the very begining. Then after 3-4 minutes this sequence of actions repeats and track scrobbles second time. Everybody can try, just choose very big track like "Pink Floyd - Echoes" or "Meshuggah - I" or "Periphery - Racecar" (about 20 minutes).

Amarok hasn't this issue.

If nobody cares, I can try to create patch to fix this problem. Thanks.

Clementine-Issue-Importer commented 10 years ago

From arnaud.bienner on August 26, 2013 07:59:51

If don't think anyone is working on this currently. If you have some time to spend on this, we would be glad to integrate your patch if you manage to do something valuable :)

pavelliavonau commented 10 years ago

Since some moment one track scrobbles only one time. Someone fixed? But there is problems with "now playing - scrobbling" workflow described at http://www.lastfm.ru/api/scrobbling. I've fixed it.