Bug 220558

Summary: Switching to a dynamic playlist should clear the playlist sorting configuration
Product: [Applications] amarok Reporter: Oliver
Component: Playlists/Dynamic PlaylistsAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: lfranchi, matej, nhn, ra.ravi.rav, ralf-engels, teo
Priority: NOR    
Version: 2.3-GIT   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 2.6

Description Oliver 2009-12-29 18:22:20 UTC
Version:            (using KDE 4.3.3)
Compiler:          gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4 
OS:                Linux
Installed from:    Gentoo Packages

Amarok should clear the playlist sorting configuration when switching to a dynamic playlist. 

Otherwise new songs might be added _before_ the currently playing song. I tried it with an alphabetically sorted playlist and after it finished the last song (artist starting with "Z") Amarok stopped playing.

The playlist contained several songs that were not played.

I also noticed that one of the played songs appeared 9 times in the playlist.
Comment 1 Myriam Schweingruber 2010-01-04 13:54:16 UTC
Changing element, since it is about playlist sorting.
Comment 2 Ravi Arora 2011-04-16 07:42:11 UTC
I also think that this is a small but needed change. Why not keep this as an option in config dialog.
Comment 3 Matěj Laitl 2012-05-05 20:17:13 UTC
This is not a wish, but a bug.
Comment 4 Matěj Laitl 2012-05-05 20:43:27 UTC
Git commit 065fd08c501293ecd80f19da33545a82392790a5 by Matěj Laitl.
Committed on 05/05/2012 at 22:28.
Pushed by laitl into branch 'master'.

PlaylistActions: when enabling dynamic, clear sorting and populate

BUGFIXES:
 * When turning dynamic playlist on, immediately populate playlist and clear
   any possible playlist sorting.
FIXED-IN: 2.6

M  +2    -0    ChangeLog
M  +10   -6    src/playlist/PlaylistActions.cpp

http://commits.kde.org/amarok/065fd08c501293ecd80f19da33545a82392790a5