aboutsummaryrefslogtreecommitdiffstats
path: root/src/Partition.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-27Playlist: use the Error library to return errorsMax Kellermann1-4/+4
2014-02-27Playlist*: move to queue/Max Kellermann1-1/+1
2014-02-21PlayerListener: new interface to replace GlobalEvents accessMax Kellermann1-2/+7
2014-02-19Mixer: add class MixerListenerMax Kellermann1-1/+7
Use a listener interface instead of GlobalEvents.
2014-02-03SongLoader: new class that merges duplicate codeMax Kellermann1-7/+4
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
2014-02-01Playlist: pass Database to DatabaseModified()Max Kellermann1-1/+1
Don't use global variable.
2014-02-01Partition: disable DatabaseModified() if not ENABLE_DATABASEMax Kellermann1-0/+2
2014-01-30db: add compile-time option to disable databaseMax Kellermann1-0/+4
2014-01-28OutputAll: convert to class, move instance to class PartitionMax Kellermann1-2/+5
Another big chunk of code for multi-player support.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-2/+2
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-1/+1
2013-10-22Partition: add method DatabaseModified()Max Kellermann1-0/+6
2013-10-22Playlist: copy stream tags from the PlayerThreadMax Kellermann1-2/+2
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).
2013-10-21Partition: add methods TagModified(), SyncWithPlayer()Max Kellermann1-0/+11
Move code from class Instance.
2013-10-20PlaylistError: convert playlist_result to a strictly-typed enumMax Kellermann1-22/+22
2013-07-28song: convert header to C++Max Kellermann1-1/+1
2013-04-17Main: move global variables to struct InstanceMax Kellermann1-2/+7
More preparations for multi-player support.
2013-01-18Playlist, Song: clarify parameter encodingMax Kellermann1-2/+2
2013-01-07Playlist: convert functions to methodsMax Kellermann1-0/+122
2013-01-06Playlist: add constructor and destructorMax Kellermann1-6/+2
2013-01-05Partition: new class, container for Playlist and PlayerControlMax Kellermann1-23/+20
This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process.
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann1-4/+4
2013-01-02update: convert to C++Max Kellermann1-5/+3
2012-02-12update_walk: move code to update_db.cMax Kellermann1-7/+22
2012-02-12playlist/embcue: new plugin for reading embedded cue sheetsMax Kellermann1-11/+8
Parses CUE data from the "CUESHEET" tag. Needs further integration in the update thread.
2012-02-11decoder_plugin: scan tags with callback tableMax Kellermann1-0/+5
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
2012-02-11decoder/vorbis: move code to vorbis_comment.cMax Kellermann1-4/+7
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-11-18replay_gain_ape: parse replay gain from APE tagsMax Kellermann1-7/+5
Based on the APE reader.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-09-24listen: handle fatal errors with GErrorMax Kellermann1-1/+6
Don't call g_error(), which will abort the process and dump core.
2009-03-13all: Update copyright header.Avuton Olrich1-6/+7
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-24listen: no CamelCaseMax Kellermann1-3/+3
Renamed functions.
2008-12-30main: use the GLib main loopMax Kellermann1-7/+0
This is a rather huge patch, which unfortunately cannot be splitted. Instead of using our custom ioops.h library, convert everything to use the GLib main loop.
2008-12-30listen: eliminated freeAllListenSockets()Max Kellermann1-1/+0
Merged freeAllListenSockets() into closeAllListenSockets(), because this is its only caller.
2008-10-31added prefix to header macrosMax Kellermann1-2/+2
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
2008-10-08don't include os_compat.hMax Kellermann1-1/+1
When there are standardized headers, use these instead of the bloated os_compat.h.
2008-04-12clean up CPP includesMax Kellermann1-1/+0
Try to only include headers which are really needed. We should particularly check all "headers including other headers". The long-term goal is to have a manageable, small API for plugins (decoders, output) without so many mpd internals cluttering the namespace. git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-01-03Cleanup #includes of standard system headers and put them in one placeEric Wong1-5/+1
This will make refactoring features easier, especially now that pthreads support and larger refactorings are on the horizon. Hopefully, this will make porting to other platforms (even non-UNIX-like ones for masochists) easier, too. os_compat.h will house all the #includes for system headers considered to be the "core" of MPD. Headers for optional features will be left to individual source files. git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-01Removing the getBoundPort() function and just making boundPort an extern.J. Alexander Treuman1-2/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@6445 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-04-05The massive copyright updateAvuton Olrich1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@5834 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-01-11Added zeroconf service publishing using avahiJim Ramsay1-0/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@5238 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-20Fix warnings for -Wmissing-prototypesAvuton Olrich1-3/+3
Add -Wmissing-prototypes if compiling with gcc Static where possible git-svn-id: https://svn.musicpd.org/mpd/trunk@4657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-20Add mpd-indent.shAvuton Olrich1-1/+1
Indent the entire tree, hopefully we can keep it indented. git-svn-id: https://svn.musicpd.org/mpd/trunk@4410 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14Change shank's email addressJ. Alexander Treuman1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@4333 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14[CLEANUP] remove unused functionAvuton Olrich1-2/+0
git-svn-id: https://svn.musicpd.org/mpd/trunk@4331 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13Huge header update, update the copyright and addAvuton Olrich1-1/+1
the GPL header where necessary git-svn-id: https://svn.musicpd.org/mpd/trunk@4317 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-11-16DJWLindenaar balanced tree and master process patchQball Cow1-0/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@3669 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13change some header includes so that we can compile on OS XWarren Dukes1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@3067 09075e82-0dd4-0310-85a5-a0d7c8717e4f