aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue/QueueSave.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-08-28DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann1-1/+1
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-10/+12
2014-07-12QueueSave: use the long format to save partial songsMax Kellermann1-1/+6
Previously, only streams were saved with range and tags, but this is necessary for all "partial" songs (e.g. CUE tracks).
2014-02-03QueueSave: use class SongLoaderMax Kellermann1-14/+10
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-24Queue*: move to queue/Max Kellermann1-0/+0
2014-01-20Queue: rename struct queue to QueueMax Kellermann1-2/+2
Works around a build failure on Solaris because annoyingly, Solaris reserves the name "queue". This rename was pending anyway.
2014-01-17QueueSave: use DatabaseDetachSong()Max Kellermann1-11/+3
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-19/+16
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-12-08TextFile: move to fs subsystemDenis Krjuchkov1-1/+1
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov1-1/+1
2013-11-28Util/StringUtil: add StringStartsWith()Max Kellermann1-4/+3
Replaces GLib's g_str_has_prefix().
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-19*: use references instead of pointersMax Kellermann1-12/+12
2013-10-19*: use nullptr instead of NULLMax Kellermann1-4/+4
2013-10-18PlaylistEdit, QueueSave: free the Song object after Append()Max Kellermann1-0/+2
Fix for a major memory leak.
2013-10-17fs/Path: move definitions to struct PathTraitsMax Kellermann1-2/+2
2013-10-17Song: GetURI() returns std::stringMax Kellermann1-4/+2
2013-10-14fs/Path: add method IsAbsolute()Max Kellermann1-1/+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-02Listen, ...: add missing includesMax Kellermann1-0/+2
2013-09-04util/Error: new error passing libraryMax Kellermann1-6/+6
Replaces GLib's GError.
2013-07-28song: convert header to C++Max Kellermann1-8/+8
2013-04-08uri: convert to C++Max Kellermann1-4/+1
2013-01-06queue: convert all functions to methodsMax Kellermann1-5/+5
2013-01-04playlist: convert to C++Max Kellermann1-1/+1
2013-01-03TextFile: convert to a classMax Kellermann1-4/+3
2013-01-03text_file: convert to C++Max Kellermann1-1/+1
2013-01-03database.h: eliminate db_*_song()Max Kellermann1-17/+19
Use the C++ API.
2013-01-02db_save, state_file: convert to C++Max Kellermann1-4/+7
2012-08-21queue_save: save song prioritiesMax Kellermann1-2/+19
2012-08-16DatabasePlugin: add method ReturnSong()Max Kellermann1-0/+3
Allow the plugin to allocate the GetSong() return value.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-07-25queue_save: save tags and range of non-database songsMax Kellermann1-13/+43
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: simplify get_song()Max Kellermann1-10/+3
Don't try db_get_song() if the URI has a scheme.
2010-07-25queue_save: move code to queue_save_song()Max Kellermann1-7/+11
2010-07-25queue_save: queue_load_song() returns voidMax Kellermann1-5/+4
The only caller doesn't use its return value, and the value isn't useful anyway.
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-03-13all: Update copyright header.Avuton Olrich1-3/+4
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-02-25ls: moved generic URI utilities to uri.cMax Kellermann1-1/+1
"ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.
2009-01-23playlist: moved saving/loading code to queue_save.cMax Kellermann1-0/+78
Create a new library which saves/loads the queue to/from the state file.