Summary: | playlists added to dynamic mode aren't shown as added after restart amarok | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Sergio Cambra <sergio> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | davidbaker84 |
Priority: | NOR | ||
Version: | 1.3.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Screenshot of the Dynamic config after selecting "Never Played" and "Three Stars" |
Description
Sergio Cambra
2005-10-31 16:17:13 UTC
Created attachment 16276 [details]
Screenshot of the Dynamic config after selecting "Never Played" and "Three Stars"
This still seems to exist in 1.4.0, FC5, qt 3.3.5, KE 3.5.2. The GUI does not show that the Smart playlist is selected, but it in fact does work in the Dynamic list. It also shows up in the dynamicbrowser_save.xml file. <dynamic name="Test" > <cycleTracks>false</cycleTracks> <markHistory>false</markHistory> <upcoming>10</upcoming> <previous>5</previous> <appendCount>1</appendCount> <appendType>2</appendType> <items>Never Played,Three Stars,</items> </dynamic> Note items "Never Played" and "Three Stars", but compare a screenshot of the GUI attached to this note, it only shows "Three Stars" selected. (Ignore the "No Queen one, it's in use in a separate Dynamic list). This is probably related to #113356 The following is my experience: When a smart playlist is in the entries for a dynamic playlist, the smart playlist is not added to the entries when the dynamic playlist is loaded. If 'Edit' is clicked, the smart playlist appears with its checkbox checked to indicate that it is part of the dynamic playlist, but in the playlists bar, it does not appear with a star beside it. Furthermore, no songs are added to the playlist when the dynamic playlist is loaded. Workaround: After loading a dynamic playlist whose entries contain a smart playlist, right-click on the smart playlist and choose "Add to the <dynamic playlist> entries". Okay, the cause of at least the bug that I'm experiencing is that it adds dynamic playlists as entries of dynamic playlists over smart playlists of the same name. I've been having a smart and a dynamic playlist of the same name (because they do very similar things) and after a couple of hours of wading through the source and printing the RTTIs of the dynamic playlist entries, the problem is that the dynamic playlist of that name is being added as an entry instead of the smart playlist. So obviously the workaround is to give them different names. Oddly, it works fine when Amarok restores the same dynamic playlist on startup, but not when loading the dynamic playlist. |