Version: 2.0-SVN (using 4.1.60 (KDE 4.1.60 (KDE 4.2 >= 20080709)), Gentoo) Compiler: x86_64-pc-linux-gnu-gcc OS: Linux (x86_64) release 2.6.26 Create a new Dynamic playlist, add some biases. -Click save and choose a name for it. -Repopulate the playlist with the new dynamic playlist. -Exit amarok -Reopen amarok: the custom playlist is gone.
Saving of dynamic playlists is still work in progress right now.
Can you do me a favor and post your '.kde/share/apps/amarok/dynamic.xml'?
That file seems to contain all the biases I chose, but the preset won't show up in amarok. Anyway, here it is: <biasedPlaylist title="No Hard Rock" > <bias type="global" > <weight value="0" /> </bias> <bias type="global" > <weight value="0" /> </bias> <bias type="global" > <weight value="0" /> </bias> <bias type="global" > <weight value="0" /> </bias> <bias type="global" > <weight value="0" /> </bias> </biasedPlaylist> <biasedPlaylist title="No Rock-Metal" > <bias type="global" > <weight value="0" /> <query version="1.0" > <filters> <include field="genre" value="Rock" /> </filters> <returnValues> <track/> </returnValues> <order value="random" /> </query> </bias> <bias type="global" > <weight value="0" /> <query version="1.0" > <filters> <include field="genre" value="Hard Rock" /> </filters> <returnValues> <track/> </returnValues> <order value="random" /> </query> </bias> <bias type="global" > <weight value="0" /> <query version="1.0" > <filters> <include field="genre" value="Heavy Metal" /> </filters> <returnValues> <track/> </returnValues> <order value="random" /> </query> </bias> <bias type="global" > <weight value="0" /> <query version="1.0" > <filters> <include field="genre" value="Rock & Roll" /> </filters> <returnValues> <track/> </returnValues> <order value="random" /> </query> </bias> <bias type="global" > <weight value="0" /> <query version="1.0" > <filters> <include field="genre" value="Progressive Rock" /> </filters> <returnValues> <track/> </returnValues> <order value="random" /> </query> </bias> <bias type="global" > <weight value="0" /> <query version="1.0" > <filters> <include field="genre" value="Progressive Metal" /> </filters> <returnValues> <track/> </returnValues> <order value="random" /> </query> </bias> <bias type="global" > <weight value="0" /> <query version="1.0" > <filters> <include field="genre" value="Power Metal" /> </filters> <returnValues> <track/> </returnValues> <order value="random" /> </query> </bias> </biasedPlaylist>
SVN commit 838988 by djones: Fixed saving multiple dynamic playlists not working. (Xml changed a bit, so be sure to delete your dynamic.xml) Make the remove button actually do something. Various minor fixes. BUG: 167581 M +6 -17 browsers/playlistbrowser/DynamicBiasWidgets.cpp M +4 -0 browsers/playlistbrowser/DynamicCategory.cpp M +81 -11 browsers/playlistbrowser/DynamicModel.cpp M +3 -2 browsers/playlistbrowser/DynamicModel.h M +1 -1 collection/support/XmlQueryReader.cpp M +2 -2 dynamic/BiasedPlaylist.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=838988