aboutsummaryrefslogtreecommitdiffstats
path: root/src/Playlist.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songsMax Kellermann2014-07-111-0/+6
| | | | | | | | | | Implement a "bulk" edit mode that postpones both UpdateQueuedSong() and OnModified(). This way, the playlist version gets incremented only once. More importantly: when adding multiple songs to a queue that consists of only one song, the first song that got added will always be played next. By postponing this choice, all newly added songs get a chance to become the next song. Fixes the second (and last) part of Mantis ticket 0004005.
* Playlist: randomize next song when enabling "random" mode while not playingMax Kellermann2014-07-111-1/+3
| | | | | | Don't restore the current song after shufflung when MPD is stopped (but still remembers the current song internally). Fixes the first part of Mantis ticket 0004005.
* player_control: rename to PlayerControlMax Kellermann2013-10-281-10/+10
|
* Playlist: refresh new tags after database updateMax Kellermann2013-10-221-7/+0
| | | | Fixes regression from commit e96779d.
* Queue: ModifyAtOrder() does not increment versionMax Kellermann2013-10-221-0/+1
| | | | | Leave that to the caller, allowing it to modify multiple items at a time.
* Playlist: copy stream tags from the PlayerThreadMax Kellermann2013-10-221-2/+7
| | | | | | Finally restores an important feature that has been broken for several months when the PlayerThread started working with Song copies instead of pointers to the Queue's Song instances (commit e96779d).
* *: use references instead of pointersMax Kellermann2013-10-191-36/+36
|
* Song: GetURI() returns std::stringMax Kellermann2013-10-171-11/+10
|
* Log: new logging library APIMax Kellermann2013-10-021-5/+5
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* Playlist*: use nullptr instead of NULLMax Kellermann2013-10-021-3/+3
|
* PlayerControl: use strictly typed enumsMax Kellermann2013-09-271-6/+6
|
* song: convert header to C++Max Kellermann2013-07-281-11/+10
|
* PlayerControl: move functions into the classMax Kellermann2013-01-201-14/+12
|
* Playlist: move playlist_increment_version_all() into the classMax Kellermann2013-01-091-2/+2
|
* idle: convert to C++Max Kellermann2013-01-091-4/+1
|
* Playlist: convert functions to methodsMax Kellermann2013-01-071-170/+94
|
* queue: convert all functions to methodsMax Kellermann2013-01-061-36/+27
|
* Playlist: add constructor and destructorMax Kellermann2013-01-061-15/+0
|
* Playlist: pass max_length to playlist_init()Max Kellermann2013-01-041-5/+2
| | | | Move the configuration lookup to Main.cxx.
* player_control.h: convert header to C++Max Kellermann2013-01-041-1/+1
|
* playlist: convert to C++Max Kellermann2013-01-041-0/+452