Summary: | Custom dynamic playlist isn't saved | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Mikko C. <mikko.cal> |
Component: | Playlists/Saved Playlists | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | danielcjones |
Priority: | NOR | ||
Version: | 2.0-SVN | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mikko C.
2008-07-28 12:50:55 UTC
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 |