aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue/PlaylistState.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann1-1/+1
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-08-29PlayerThread: use SongTime for elapsed_timeMax Kellermann1-4/+4
2014-08-28Playlist: use std::chrono::duration for Seek*()Max Kellermann1-4/+4
2014-08-07fs/output, fs/TextFile: move to fs/io/Max Kellermann1-2/+2
2014-07-30*Save, *State: use the OutputStream API instead of FILE*Max Kellermann1-24/+23
2014-02-27Playlist*: move to queue/Max Kellermann1-0/+0
2014-02-03QueueSave: use class SongLoaderMax Kellermann1-3/+5
2014-01-24Config*: move to config/Max Kellermann1-2/+2
2014-01-24Queue*: move to queue/Max Kellermann1-1/+1
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-08TextFile: move to fs subsystemDenis Krjuchkov1-1/+1
2013-11-28Util/StringUtil: add StringStartsWith()Max Kellermann1-14/+13
Replaces GLib's g_str_has_prefix().
2013-10-30PlaylistState: ignore "mixrampdelay:nan"Max Kellermann1-1/+7
mixramp_delay==nan() causes severe problems with cross-fading.
2013-10-28player_control: rename to PlayerControlMax Kellermann1-3/+3
2013-10-19*: use references instead of pointersMax Kellermann1-51/+51
2013-10-17fs/Path: move MPD_PATH_MAX to Limits.hxxMax Kellermann1-0/+1
2013-10-17Thread/Thread: replacement library for GThreadMax Kellermann1-0/+2
2013-10-02Log: new logging library APIMax Kellermann1-3/+6
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-10-02Playlist*: use nullptr instead of NULLMax Kellermann1-3/+3
2013-09-27PlayerControl: use strictly typed enumsMax Kellermann1-11/+13
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+2
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-01-30ConfigFile: add enum ConfigOptionMax Kellermann1-1/+1
Look up top-level config options by enum (= integer), not by name string.
2013-01-20PlayerControl: move functions into the classMax Kellermann1-18/+11
2013-01-07Playlist: convert functions to methodsMax Kellermann1-21/+11
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-3/+0
2013-01-06queue: convert all functions to methodsMax Kellermann1-9/+6
2013-01-04player_control.h: convert header to C++Max Kellermann1-1/+1
2013-01-04playlist: convert to C++Max Kellermann1-2/+2
2013-01-03TextFile: convert to a classMax Kellermann1-7/+7
2013-01-03text_file: convert to C++Max Kellermann1-1/+1
2013-01-02db_save, state_file: convert to C++Max Kellermann1-3/+5
2011-02-23playlist_state: add option "restore_paused"Max Kellermann1-0/+8
When set, MPD will not auto-start playback on startup; it will be in "paused" state.
2011-02-23playlist_state: declare local variable as enumMax Kellermann1-1/+1
2011-01-29copyright year 2011Max Kellermann1-1/+1
2011-01-10player_control: removed the global variable "pc"Max Kellermann1-21/+27
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.
2010-09-23playlist_state: Fix the "state" line in the outputThomas Jansen1-1/+1
An '\n' was erroneously inserted in the line containing the state, e.g. "state: \nplay" instead of "state: play". Fix for bug #2992.
2010-07-25queue_save: save tags and range of non-database songsMax Kellermann1-1/+1
Use the functions song_save() and song_load() to use the same format as in the database file for those songs which need the tags.
2010-07-25queue_save: queue_load_song() returns voidMax Kellermann1-3/+1
The only caller doesn't use its return value, and the value isn't useful anyway.
2010-07-25state_file: use the text_file libraryMax Kellermann1-32/+31
Don't use a large stack buffer.
2010-07-25playlist_state: simplify printf() callsMax Kellermann1-22/+18
Let the C compiler concatenate string constants.
2010-03-21Add support for MixRamp tagsTim Phipps1-0/+10
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
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-23output_plugin: added methods enable() and disable()Max Kellermann1-0/+6
With these methods, an output plugin can allocate some global resources only if it is actually enabled. The method enable() is called after daemonization, which allows for more sophisticated resource allocation during that method.
2009-10-08player_control: no CamelCaseMax Kellermann1-8/+4
2009-10-08player_control: bundle "get" functions in pc_get_status()Max Kellermann1-4/+14
The new player_status struct replaces a bunch of playerGetX() functions. When we add proper locking to the player_control struct, we will only need to lock once for the "status" command.
2009-10-08state_file: save only if something has changedMax Kellermann1-0/+18
If nothing has changed since the last save, don't save the state file. Saving will spin up the hard drive, which is undesirable on hosts where MPD is idling in background.
2009-07-28playlist: CamelCaseIsBadCourtney Cavin1-9/+9
Renamed all playlist functions to non-CamelCase.
2009-07-15state_file: don't rewind the stream while reading the state fileMax Kellermann1-14/+15
Parse the state file line by line, let each subsystem probe a line. Only the playlist_state code gets the FILE pointer to read the following lines.