Bug 115425 - playlists added to dynamic mode aren't shown as added after restart amarok
Summary: playlists added to dynamic mode aren't shown as added after restart amarok
Status: RESOLVED DUPLICATE of bug 113356
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.3.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-31 16:17 UTC by Sergio Cambra
Modified: 2006-08-30 02:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the Dynamic config after selecting "Never Played" and "Three Stars" (32.62 KB, image/jpeg)
2006-05-26 03:21 UTC, wally
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Cambra 2005-10-31 16:17:13 UTC
Version:           1.3.5 (using KDE KDE 3.4.3)
Installed from:    Ubuntu Packages
OS:                Linux

If I add some playlists to dynamic mode when I close and start again amarok, this playlists are added to dynamic mode, but they aren't shown as added (they don't have the star icon). In amarokrc Dynamic Custom List has the playlists which I had selected. Because of this I can't remove these playlists from dynamic mode. The playlists are from a smart playlist expanded by artist.
Comment 1 wally 2006-05-26 03:21:09 UTC
Created attachment 16276 [details]
Screenshot of the Dynamic config after selecting "Never Played" and "Three Stars"
Comment 2 wally 2006-05-26 03:21:22 UTC
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).
Comment 3 bonne 2006-05-30 10:40:44 UTC
This is probably related to #113356
Comment 4 Dave Baker 2006-07-22 23:32:20 UTC
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".
Comment 5 Dave Baker 2006-08-30 01:20:25 UTC
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.
Comment 6 Alexandre Oliveira 2006-08-30 02:05:37 UTC
Different problem, same cause.

*** This bug has been marked as a duplicate of 113356 ***