Bug 198181

Summary: Allow for repopulating dynamic playlist when all tracks are queued
Product: [Applications] amarok Reporter: Christoph Lange <langec>
Component: Playlists/Dynamic PlaylistsAssignee: Amarok Developers <amarok-bugs-dist>
Status: REPORTED ---    
Severity: wishlist CC: lfranchi, ralf-engels, stuffcorpse
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christoph Lange 2009-06-28 16:07:31 UTC
Version:           2.1.1 (using 4.2.4 (KDE 4.2.4), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.28-thinkpad-r2

I frequently use the random dynamic playlist but then don't like listening to all randomly selected tracks.  Instead, I enqueue some of them and then repopulate the list.  In Amarok 1.4, when all tracks [behind the current one] in the playlist were already queues, repopulating the playlist appended another N tracks (N = max. size of a repopulation).  I found this bug/feature very convenient.
Comment 1 Ralf Engels 2011-06-07 19:21:46 UTC
Just an idea:
the repopulate could NOT remove queued tracks.

However I have looked at the code. This would mean that the old tracks need to be removed in several steps and that would mess up the undo history.

But apart from this small hitch it's a small change in src/playlist/navigators/DynamicTrackNavigator.cpp