Bug 175172

Summary: make sure that no song that is already in the playlist is added
Product: [Applications] amarok Reporter: S. Burmeister <sven.burmeister>
Component: Playlists/Dynamic PlaylistsAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: wishlist CC: danielcjones, franz.reinhardt, mikael.lammentausta, pprkut, ralf-engels, samuel.brack, ss.paranoid
Priority: NOR    
Version: 2.3-GIT   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 2.4.2

Description S. Burmeister 2008-11-14 22:49:38 UTC
Version:           2.0 svn (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

I have set the dynamic playlist to only add rated songs. So in total there are 16 songs in the playlist at a given time. It happens quite frequently that I have the same song, i.e. same file, twice in the playlist, which should not happen IMO.
Comment 1 Stas 2009-01-21 10:59:33 UTC
I think it is required only for dynamic playlists but not global playlist. I don't like application choosing for me what to listen, and i am adding 3-4 copies of my favourite songs to playlist to listen them more often in random mode.
Comment 2 S. Burmeister 2009-01-21 15:33:40 UTC
Since the component of this bug is dynamic playlists, it should be obvious, that it only relates to those and not the normal playlists.
Comment 3 Franz Reinhardt 2009-02-28 18:04:22 UTC
I have also on rating based dynamic playlists. I always get the same song in my playlist.

Here is a screenshot of my amarok: http://pickhost.eu/images/0001/8731/amarok1.png

As you can see it is always the same songs... If i click on the last song in the playslist and "new" items are added I also get the same songs. 
It is nearly the same with the repopulate button. When I click repopulate I get first time new songs but the new songs which were added are also double in my playlist.

I'm using amarok 2.0.1
Comment 4 Samuel Brack 2010-12-12 19:13:33 UTC
This seems to be a duplicate of bug 205284
Comment 5 Myriam Schweingruber 2010-12-13 11:33:23 UTC
*** Bug 205284 has been marked as a duplicate of this bug. ***
Comment 6 Myriam Schweingruber 2010-12-13 11:36:41 UTC
*** Bug 226971 has been marked as a duplicate of this bug. ***
Comment 7 Ralf Engels 2010-12-13 13:56:15 UTC
I would guess that your filter is too specific.
However there is currently no way to prevent duplicate tracks in the playlist.

Even adding a "last played" or "playcount" bias doesn't help you.

I am currently refactoring the dynamic playlist, but currently that is really a problem.
Comment 8 Ralf Engels 2011-05-27 19:50:52 UTC
New dynamic playlist has a global switch to prevent duplicates.