Bug 136176 - duplicate last.fm submission on resuming tracks
Summary: duplicate last.fm submission on resuming tracks
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.0-SVN
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 12:33 UTC by der Graph
Modified: 2009-12-09 11:28 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description der Graph 2006-10-23 12:33:41 UTC
Version:           1.4.3 (using KDE KDE 3.5.5)
OS:                Linux

The option to resume playback on application startup may lead to duplicate (or even more) submission, and therefore to duplicate entries in your last.fm profile. That is, when playing a track up to half the play time or the first 4 minutes, the track is (correctly) submitted to last.fm. If Amarok is for some reason shut down after this submission and then restarted, the playback resumes and the track is (incorrectly) submitted once again after half the remaining time (or immediately after playback resumes - I cannot really tell - sorry).

The easiest solution would be to set the 'skip' flag on resuming playback and thereby preventing submission even if the track had not already been submitted. After all, this behaviour seems to fit the last.fm guidelines for submission the best.
Comment 1 Bram Schoenmakers 2006-11-14 22:05:29 UTC
Dupe of bug 130440?
Comment 2 der Graph 2006-11-15 17:39:13 UTC
No, not at all! Bug 130440 is about last.fm streams showing up twice in the recent tracks list. This is about local files (not streams) which are submitted once again if Amarok was shut down after submitting the track the first time.
Comment 3 Seb Ruiz 2007-10-21 05:16:09 UTC
yes, i must admit this is one of the most annoying bugs ever
Comment 4 Rez(A) 2008-06-06 10:16:27 UTC
Yes! i was to report the same bug! glad to see already here ... 

yeah as said before, if resumed, don't submit ... 
goodluck
Comment 5 Edward Hades 2008-06-15 17:31:17 UTC
I confirm this bug for 1.4.9.1.

Can't verify for 2.0-SVN because of #164156.

Comment 6 Lydia Pintscher 2008-08-05 23:38:33 UTC
Can someone check this with current Amarok 2 please?
Comment 7 Sven Krohlas 2008-09-06 14:32:35 UTC
Yeah, seems to happen with Amarok 2 r857763, too. The tracks seems to be submitted after the playback finishes.
Comment 8 Leo Franchi 2008-11-14 15:42:52 UTC
can't reproduce this anymore, so i'm closing. it doesn't really make sense--submission is done *only* at the end, and a track only ends once.

re-open if you can reproduce.