Bug 305596 - APG shouldn't replace current playlist
Summary: APG shouldn't replace current playlist
Status: CONFIRMED
Alias: None
Product: amarok
Classification: Applications
Component: Playlists/Automated Playlist Generator (show other bugs)
Version: 2.6.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: 2.7
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-22 12:46 UTC by Wyatt Epp
Modified: 2014-01-11 11:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wyatt Epp 2012-08-22 12:46:18 UTC
The Advanced Playlist Generator has a number of issues related to bulding playlists, but chief among them is that when you use APG, it replaces your current playlist without confirmation.  This is highly unexpected for an end user, especially given the icon that triggers this is a friendly blue arrow.  The default expected mode reinforced by the rest of the Amarok UI is to append.  Most operations in Amarok are non-destructive to the playlist state; APG is an anomaly in this regard.

Moreover, this prevents it from being used to build playlists from smaller constituent parts (e.g. a common use case for me is to use short sections of known good songs that haven't been played in the last three months to separate new albums when I'm listening.  Up until a couple weeks ago, when I was using Amarok 1.4, I could just drag and drop a smart playlist into place and it would populate correctly, but APG playlists can't be dragged at all.)

Reproducible: Always
Comment 1 robert marshall 2014-01-11 11:32:05 UTC
I've made a minor change to my checkout of the amarok code so that if amarok is stopped when APG is used then the playlist is replaced, however if a track is playing then the AGP generated tracks are appended to the current playlist.

Maybe this change introduces other inconsistencies but I'm finding that it suits my way of interacting with APG - it also has the side effect that running AGP (when a track is being played)
- doesn't remove the current track from the playlist (it feels odd to me that what's playing isn't in the playlist)
- doesn't turn off dynamic playlists (I assume this happens when the playlist is cleared), I tend to keep dynamic playlists on so that played tracks disappear off the top of the playlist.