aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/PlaylistCommands.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-11PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songsMax Kellermann1-0/+3
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.
2014-06-16command: make argc unsignedMax Kellermann1-11/+11
2014-05-10PlaylistCommands: remove redundant playlist_load_spl() callMax Kellermann1-17/+1
This case is handled already by playlist_open_in_playlist_dir() (via playlist_mapper_open()). And the call didn't work anyway.
2014-02-27Playlist: use the Error library to return errorsMax Kellermann1-8/+6
2014-02-27Playlist*: move to queue/Max Kellermann1-1/+1
2014-02-07Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann1-1/+2
Use Storage::MapUTF8() internally, don't use global variables.
2014-02-04Instance: add Database attributeMax Kellermann1-2/+1
Move from db/DatabaseGlue.cxx, eliminating global variable.
2014-02-04db/DatabasePlaylist: pass Database reference aroundMax Kellermann1-1/+6
Reduce global variable usage, move to frontend code.
2014-02-03PlaylistFile: use class SongLoaderMax Kellermann1-7/+2
2014-02-03PlaylistFile: switch spl_append_uri() argumentsMax Kellermann1-1/+1
Playlist file name first, to be consistent with the other functions in this library.
2014-02-03SongLoader: new class that merges duplicate codeMax Kellermann1-1/+3
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
2014-01-30db: add compile-time option to disable databaseMax Kellermann1-1/+6
2014-01-27Playlist{Info,Vector}: move to db/Max Kellermann1-1/+1
2014-01-24Database*: move to db/Max Kellermann1-1/+1
2014-01-24Client*: move to client/Max Kellermann1-1/+1
2014-01-23playlist/*: move to playlist/plugins/Max Kellermann1-1/+2
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-3/+0
2013-10-20*Commands: move to src/command/Max Kellermann1-0/+0
2013-10-20command: convert command_return to to a strictly-typed enumMax Kellermann1-29/+29
2013-10-20PlaylistError: convert playlist_result to a strictly-typed enumMax Kellermann1-12/+9
2013-10-19ClientInternal: move class Client to Client.hxxMax Kellermann1-1/+1
Publish the Client API, preparing to move more code into the Client class.
2013-10-19*: use references instead of pointersMax Kellermann1-16/+16
2013-09-04util/Error: new error passing libraryMax Kellermann1-28/+32
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-10/+10
2013-04-08uri: convert to C++Max Kellermann1-4/+1
2013-01-04Client: add "playlist" attributeMax Kellermann1-3/+3
Reduce access to the global variable "g_playlist".
2013-01-04playlist: convert to C++Max Kellermann1-1/+1
2013-01-04PlaylistFile: reuse classes PlaylistInfo and PlaylistVectorMax Kellermann1-1/+2
.. instead of rolling own classes.
2013-01-03Client: rename the struct client to class ClientMax Kellermann1-12/+12
2013-01-03ls.h: rename to ls.hxxMax Kellermann1-1/+1
2013-01-03client: convert to C++Max Kellermann1-3/+3
2013-01-02*_print: convert to C++Max Kellermann1-1/+1
2013-01-02playlist_{any,song,queue}: convert to C++Max Kellermann1-2/+2
2012-09-28main: use C++ compilerMax Kellermann1-1/+1
2012-09-28PlaylistFile: use std::list instead of GPtrArrayMax Kellermann1-12/+7
2012-09-28stored_playlist, playlist_save: use C++ compilerMax Kellermann1-2/+2
2012-09-25rename CommandError.h to CommandError.hxxMax Kellermann1-1/+1
2012-08-29playlist_print: rename to PlaylistPrint.cxxMax Kellermann1-1/+1
2012-08-29dbUtils.h: eliminate this headerMax Kellermann1-2/+3
2012-08-29command: move code to *Commands.cxxMax Kellermann1-0/+227