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 580484 - Rhymthbox Lastfm plugins gets the same titles several times the first time it connects
Rhymthbox Lastfm plugins gets the same titles several times the first time it...
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: last.fm
0.12.x
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 585472 594487 614128 620321 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-04-27 17:12 UTC by Benjamin Lebsanft
Modified: 2018-05-24 14:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benjamin Lebsanft 2009-04-27 17:12:57 UTC
Please describe the problem:
When choosing a lastfm station, the first titles are loaded several times, see screenshot, this is latest jaunty, rhythmbox 0.12, happens on 32 and 64 bit.


It's reproducible for every station, tracks are ordered:
1 2 3 4 5, 5 4 3 2 1, 1 2 3 4 5

and it only happens for the first station, when changing the station this does not happen.

I just noticed this only happens when doubleclicking the first station, single clicking gives the expected result. So it would be best to unify single and double click behaviour here.

Steps to reproduce:
0. start rhythmbox
1. select last.fm in rhythmbox
2. chose a station
3. double click it
4. 

Actual results:
first 5 tracks are loaded, loaded again in reverse order then again in right order, totalling 15 songs

Expected results:
first 5 tracks are loaded

Does this happen every time?


Other information:
http://launchpadlibrarian.net/24155970/lastfm.png
Comment 1 Bastien Nocera 2009-04-28 13:44:09 UTC
Yep, I've just seen this as well.
Comment 2 Jonathan Matthew 2009-06-11 23:20:41 UTC
*** Bug 585472 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Matthew 2010-06-02 00:34:57 UTC
*** Bug 594487 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Matthew 2010-06-02 00:35:03 UTC
*** Bug 620321 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Matthew 2010-06-02 00:35:10 UTC
*** Bug 614128 has been marked as a duplicate of this bug. ***
Comment 6 Kirill Lashuk 2010-07-08 17:10:07 UTC
The problem is that first time you select any station rhythmbox opens this station and gets playlist (if there is already selected station rhythmbox do nothing on selection change). But if you double click the first station (instead of just selecting it) rhythmbox fills its queue with three pairs of change_station and get_playlist requests. From these three change_station requests only first changes station and two others do nothing, because target station is already selected. But every from three get_playlist requests is submitted and as the result you have 5x3 songs in the playlist. And this strange song repetition is caused by last.fm itself - the service generates similar responses on requests that go just one after another.

I think all we need is just to prevent multiple get_playlist requests with the same station on double click event.
Comment 7 GNOME Infrastructure Team 2018-05-24 14:19:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/734.