Bug 124170

Summary: "All Collection" playlist doesn't get updated when a song is added to the collection
Product: [Applications] amarok Reporter: Sander Bouwhuis <sanderb>
Component: Playlists/Saved PlaylistsAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 1.4-beta1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sander Bouwhuis 2006-03-24 10:34:33 UTC
Version:           1.4-beta1 (using KDE KDE 3.5.1)
Installed from:    Ubuntu Packages
OS:                Linux

When Amarok has the "All Collection" playlist loaded and another song is added to the music directory, the song is added to the collection on the next update but not to the currently loaded playlist. I have to re-load the playlist to have it available. I believe the smart playlist should be updated automatically, together with the collection.
Comment 1 Mark Kretschmann 2006-03-24 10:48:58 UTC
You shouldn't report bugs for beta1 when beta2 has already been released. It may or may not have been fixed.
Comment 2 Sander Bouwhuis 2006-03-24 11:30:05 UTC
Just upgraded, it's not.
Comment 3 Martin Aumueller 2006-03-24 15:21:51 UTC
I don't think this is a bug: a smart playlist is always used as a "snapshot" - it is sampled at some point in time and it gets a fixed representation. This fixed representation is then loaded into amaroK's playlist window (thereby forgetting that this item list once was a smart playlist) and the items on this list are played. If the item list in amaroK's playlist window was constantly updated according to a changed smart playlist, then it would have to change constantly for smart playlists that are randomly ordered. Nobody would want that. Thus, it is also impossible to do that for the 'All Collection' smart playlist.

If this comment fits the intention of your bug report, this bug should be marked as INVALID.
Comment 4 Sander Bouwhuis 2006-03-24 15:46:20 UTC
I agree that for random playlists it's not desired behaviour, but I'd argue that for many other smart playlists it is. If you have a smart playlist based on genre for example, and you rip a new cd into your library folder, I fail to see why it should take a reload of the playlist to have it updated. Especially because usually when I add a new song to my library, I'd also like to listen to it very soon. If you need to reload the playlist each time it gets kind of annoying.

Furthermore it would fit the intuitive definition of a "smart playlist" better in my opinion, since it's so smart it updates itself for you without any hassle :)

Please reconsider.
Comment 5 Alexandre Oliveira 2006-03-24 16:00:05 UTC
The playlist is supposed to be static, dynamic playlists are the only exceptions.
Comment 6 Christie 2006-06-05 09:59:33 UTC
I've never noticed this - using smart playlists as sources for a dynamic playlists, if I add an album, the incremental scanner picks it up (or with latest svn, inotify triggers an incremental scan) and it then appears in the dynamic playlist. I'm assuming because each time the dynamic playlist queries the smart playlist for a track, it's refreshed.
Comment 7 Alex Mauer 2008-01-24 01:54:02 UTC
I agree with Sander that the "snapshot" method is not intuitive behavior for a supposedly "smart" playlist.

The problems I see with using the "all collection" as a source for a dynamic playlist vs. having a truly smart playlist:
* does not allow the use of the "favor" randomization types.
* amarok stops when encountering a missing file, so if a file is moved or removed while in the upcoming queue, it can cause undesired stoppage of play.

Again, please reconsider the resolution for this bug.
Comment 8 Stefán Freyr Stefánsson 2008-03-02 15:58:25 UTC
This feature request gets my vote too. It's very unintuitive to select "All Collection" and then nothing happens when new files are added to my collection.

If it makes people feel better, move the "All Collection" playlist from the "Smart Playlist" group over to the "Dynamic Playlist" group but have it behave in such a way that the ordering of the tracks stay consistent and don't removed played tracks.