GNOME Bugzilla – Bug 580484
Rhymthbox Lastfm plugins gets the same titles several times the first time it connects
Last modified: 2018-05-24 14:19:07 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
Yep, I've just seen this as well.
*** Bug 585472 has been marked as a duplicate of this bug. ***
*** Bug 594487 has been marked as a duplicate of this bug. ***
*** Bug 620321 has been marked as a duplicate of this bug. ***
*** Bug 614128 has been marked as a duplicate of this bug. ***
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.
-- 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.