After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 330645 - songs queued in wrong order for audioscrobbler
songs queued in wrong order for audioscrobbler
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.9.3
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 336353 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-10 11:12 UTC by Timo Aaltonen
Modified: 2006-05-06 21:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch? (515 bytes, patch)
2006-04-23 12:06 UTC, Jonathan Matthew
committed Details | Review
less broken patch (481 bytes, patch)
2006-05-06 21:29 UTC, Jonathan Matthew
none Details | Review

Description Timo Aaltonen 2006-02-10 11:12:39 UTC
Please describe the problem:
Sometimes RB puts the songs in audioscrobbler.queue in wrong order. The result
is that last.fm:s spam-protections kicks in and drops those submissions because
the timestamp is earlier than on a previous submission.

Steps to reproduce:
don't know yet..

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Hector E. Gomez 2006-03-12 19:58:01 UTC
I can confirm this bug, the queue is saved in a wrong order so the spam protection in last.fm kicks in.
Comment 2 James "Doc" Livingston 2006-03-29 01:48:59 UTC
*** Bug 336353 has been marked as a duplicate of this bug. ***
Comment 3 Lionel Dricot 2006-04-11 18:57:36 UTC
I confirm this one too
Comment 4 Jonathan Matthew 2006-04-17 12:05:28 UTC
Can you (anyone) provide any more information on how to reproduce this?  I've just had several songs queued over a number of rb restarts, and all were submitted correctly.
Comment 5 Stanislav Brabec 2006-04-18 12:55:02 UTC
I cannot. But the problem appeared when I was online and submission has failed for some reason (maybe last.fm down).
Comment 6 Lionel Dricot 2006-04-19 11:52:44 UTC
In fact, it happens when you shut down RB with an unsubmited queue. 

RB will keep the queue to submit it later but it seems that RB will wait until at least one song is played before submitting the forgiven queue.

So, the forgiven queue will be submitted later but with an earlier timestamp than the song currently played.

I might be wrong but it seems something like that.
Comment 7 Jonathan Matthew 2006-04-23 12:06:59 UTC
Created attachment 64139 [details] [review]
patch?

I think this accounts for the out of order queue file I had for a while - when a submission fails, the list of submitted entries is in the wrong order, so when we prepend this to the main queue, the queue is no longer in the right order.
Comment 8 Jonathan Matthew 2006-04-25 06:29:02 UTC
I've committed the patch.  Please reopen this bug if you experience further problems with out-of-order last.fm submission.
Comment 9 Jonathan Matthew 2006-05-06 21:29:00 UTC
Created attachment 64939 [details] [review]
less broken patch

in case anyone needs to backport this fix, here's a version of the patch that actually has the right filename in it.  (how did I do that?)