GNOME Bugzilla – Bug 145276
cannot add a song multiple times to a simple playlist
Last modified: 2018-05-24 10:34:26 UTC
This bug has been reported in the Debian BTS: http://bugs.debian.org/257086 "When I drag a song from the library onto a simple playlist, it will add the song to that playlist. However, dragging the same song into the playlist again doesn't add a second copy; I am limited to one copy of a song in a playlist."
Confirming still present in CVS HEAD as of 2006-01-25.
Allowing multiple copies of a track would require changing the internals of RhythmDBQueryModel, so it isn't going to magically get fixed. Doing so would require changing it to no longer use reverse mappings (entry -> position) which would be difficult to do without suffering a large performance penalty.
*** Bug 339075 has been marked as a duplicate of this bug. ***
A potential solution to this would be to create the "entry model" interface mentioned on bug 334884, and then separate the query-based model (including filtering) from the list-of-uris model. The latter could support having multiple instances of an entry in the list, as the reverse-mapping probably isn't as essential for that case.
It's pretty easy to make the query model's hash table optional, then modify the static playlist class to use query models without the hash table. I considered splitting the query model class up, but it didn't seem quite right. I've got this working to the point where you can create a playlist (or play queue) containing the same song multiple times. The remaining problem is that the play orders just store the current entry. Things like rhythmdb_query_model_get_next_from_entry don't work properly when the same entry is present multiple times. We should be able to use GtkTreeIters, I think, as long as we make sure we keep them up to date with the contents of the query model.
RhythmDBQueryModel current sets the "persistant iterators" flag to true (iterators are valid after model changes), so as long as you haven't made iterators non-persistant it should work.
*** Bug 369106 has been marked as a duplicate of this bug. ***
Ubuntu bug about that: https://launchpad.net/products/rhythmbox/+bug/63587
*** Bug 565522 has been marked as a duplicate of this bug. ***
*** Bug 569541 has been marked as a duplicate of this bug. ***
*** Bug 615532 has been marked as a duplicate of this bug. ***
*** Bug 623499 has been marked as a duplicate of this bug. ***
*** Bug 643030 has been marked as a duplicate of this bug. ***
*** Bug 657128 has been marked as a duplicate of this bug. ***
I understand this isn't going to "magically get fixed." It has now been seven years since it was first reported, though. Is it going to get fixed at all?
I hope this bug was fix. I use Rythmbox for teaching Dance and i need to play many time the same song (i used the same playlist for the all the lesson). I have the same problem to make playlist for "milonga" (argentin bal), i use many time the same song between different musical theme.
The problem is still there, it looks like nobody will fix it.
Is here some progress about this bug? Or the code is so complicated that nobody dares to solve this?
Eleven years on, this bug is still open. Could someone from the dev team update the user-ship on this? Thank you.
-- 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/40.