aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue/PlaylistEdit.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-29Tag: use SignedSongTime for the song durationMax Kellermann1-4/+5
2014-08-28PlaylistEdit: pass std::chrono::duration to SetSongIdRange()Max Kellermann1-7/+7
2014-08-28DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann1-2/+2
2014-07-12QueueCommands: new command "rangeid"Max Kellermann1-0/+57
Manipulates the playback range of a queued song.
2014-07-11PlaylistEdit: fix typo in code commentMax Kellermann1-1/+1
2014-02-27Playlist: use the Error library to return errorsMax Kellermann1-25/+15
2014-02-27Playlist*: move to queue/Max Kellermann1-0/+0
2014-02-03SongLoader: new class that merges duplicate codeMax Kellermann1-23/+11
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-0/+2
2014-01-24Database*: move to db/Max Kellermann1-1/+1
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-1/+0
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-17Mapper: add function map_song_detach()Max Kellermann1-0/+1
Make the DetachedSong(Song) conversion constructor private. Everybody should use map_song_detach() which will take over more responsibilities soon.
2014-01-17DatabaseSong: new library merging duplicate codeMax Kellermann1-11/+3
2014-01-15DetachedSong: add method Update()Max Kellermann1-5/+3
Don't create an intermediate Song instance when all we want is a DetachedSong.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-24/+24
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
2013-10-28player_control: rename to PlayerControlMax Kellermann1-16/+16
2013-10-22Playlist*, Queue: use GetDatabase() overload without ErrorMax Kellermann1-1/+1
Don't use IgnoreError() when there's an overload that does not try to give us one.
2013-10-22PlaylistEdit: compare Song URIs in DeleteSong()Max Kellermann1-2/+1
Fixes purging deleted songs from the queue after update. Fixes regression from commit e96779d.
2013-10-20PlaylistError: convert playlist_result to a strictly-typed enumMax Kellermann1-38/+38
2013-10-19*: use references instead of pointersMax Kellermann1-1/+1
2013-10-18PlaylistEdit, QueueSave: free the Song object after Append()Max Kellermann1-1/+5
Fix for a major memory leak.
2013-10-02Log: new logging library APIMax Kellermann1-1/+3
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-10-02Playlist*: use nullptr instead of NULLMax Kellermann1-2/+2
2013-09-27PlayerControl: use strictly typed enumsMax Kellermann1-1/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-2/+3
Replaces GLib's GError.
2013-07-28song: convert header to C++Max Kellermann1-18/+14
2013-04-08uri: convert to C++Max Kellermann1-1/+1
2013-01-20PlayerControl: move functions into the classMax Kellermann1-2/+2
2013-01-18Playlist, Song: clarify parameter encodingMax Kellermann1-2/+2
2013-01-09idle: convert to C++Max Kellermann1-1/+1
2013-01-07Playlist: convert functions to methodsMax Kellermann1-186/+140
2013-01-06queue: convert all functions to methodsMax Kellermann1-55/+47
2013-01-04player_control.h: convert header to C++Max Kellermann1-1/+1
2013-01-04playlist: convert to C++Max Kellermann1-1/+2
2013-01-03database.h: eliminate db_*_song()Max Kellermann1-23/+18
Use the C++ API.
2013-01-03playlist_edit: convert to C++Max Kellermann1-1/+3
2012-08-21queue_save: save song prioritiesMax Kellermann1-1/+1
2012-08-16DatabasePlugin: add method ReturnSong()Max Kellermann1-1/+6
Allow the plugin to allocate the GetSong() return value.
2012-08-08player_control: add GError attributeMax Kellermann1-13/+0
Rewrite of the pc_get_error_message() function, now using a GError object instead of the complicated "errored_song" attribute.
2012-03-06playlist_edit: move UID check to client_allow_file()Max Kellermann1-23/+2
2011-12-21Playlist: fix bug in moving after current songMaarten Sebregts1-1/+1
Moving songs using either 'move' or 'moveid' to position -1 (after the current song) would fail for a song which is just before the current song. This patch corrects the check to see if the current song is in the range to be moved. Since the range is from `start` up to `end` (exclusive) the check was incorrect, but is now fixed.
2011-07-19queue: implement song "priorities"Max Kellermann1-0/+55
Sorts remaining songs by priority. This can be used for the much-demanded "queue feature".
2011-01-29copyright year 2011Max Kellermann1-1/+1
2011-01-10player_control: removed the global variable "pc"Max Kellermann1-39/+48
Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-0/+1
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-10-08player_control: no CamelCaseMax Kellermann1-2/+2
2009-09-30command: range support for "delete"Max Kellermann1-0/+26
2009-09-30playlist_edit: moved code to playlist_delete_internal()Max Kellermann1-10/+19