- 15 Aug, 2012 1 commit
-
-
Max Kellermann authored
Allow the plugin to allocate the GetSong() return value.
-
- 08 Aug, 2012 2 commits
-
-
Max Kellermann authored
Let the caller take care for legacy conversion.
-
Max Kellermann authored
Preparing for non-"simple" database plugins.
-
- 02 Aug, 2012 2 commits
-
-
Max Kellermann authored
Unused.
-
Max Kellermann authored
Remove GLib dependency from some headers.
-
- 13 Feb, 2012 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 02 Feb, 2012 1 commit
-
-
Max Kellermann authored
Reduce the number of lock/unlock cycles, and make database handling safer.
-
- 13 Sep, 2011 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Add nonnull attributes and fix all callers.
-
Max Kellermann authored
Use this struct for db_walk().
-
- 10 Sep, 2011 1 commit
-
-
Max Kellermann authored
First draft, not really pluggable currently - hard-coded to use the "simple" plugin, and calls several of its internal functions. The API is very simple currently, all searches are still performed over the root "directory" object. Future changes to the API will move those search implementations into the plugin, to allow more efficient implementations, or implementations that don't have the whole tree in memory all the time.
-
- 09 Sep, 2011 1 commit
-
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
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.
-
- 02 Mar, 2009 1 commit
-
-
Max Kellermann authored
Do error reporting with GLib's GError library.
-
- 18 Jan, 2009 2 commits
-
-
Max Kellermann authored
Without a music_directory, MPD is an excellent streaming client.
-
Max Kellermann authored
Don't include conf.h in database.c.
-
- 08 Jan, 2009 1 commit
-
-
Max Kellermann authored
Save an empty database, even if the music directory is empty.
-
- 04 Jan, 2009 2 commits
-
-
Max Kellermann authored
Make db_load(), db_save() and db_check() return bool instead of int.
-
Max Kellermann authored
For updating the database, directory_update_init() should be called explicitly.
-
- 31 Oct, 2008 1 commit
-
-
Max Kellermann authored
"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.
-
- 09 Oct, 2008 1 commit
-
-
Max Kellermann authored
Search'n'replace typo..
-
- 08 Oct, 2008 6 commits
-
-
Max Kellermann authored
Yet another CamelCase removal patch.
-
Max Kellermann authored
The same can be achieved with directory_print(db_get_directory()).
-
Max Kellermann authored
Taming the directory.c monster, part II: move the database management stuff to database. directory.c should only contain code which works on directory objects.
-
Max Kellermann authored
The struct can be forward-declared by other headers, which relaxes the header dependencies.
-
Max Kellermann authored
exploreDirectory() duplicates some code in updateDirectory(). Merge both functions, and use directory_is_empty() to determine whether update or explore mode should be used.
-
Max Kellermann authored
The source directory.c mixes several libraries: directory object management, database management and database update, resulting in a 1000+ line monster. Move the whole database update code to update.c.
-
- 07 Sep, 2008 1 commit
-
-
Max Kellermann authored
Get rid of CamelCase, and don't use a typedef, so we can forward-declare it, and unclutter the include dependencies.
-
- 26 Aug, 2008 2 commits
-
-
Max Kellermann authored
decode.c should be a lot smaller; start by moving all code which handles cross-fading to crossfade.c. Also includes camelCase conversion.
-
Max Kellermann authored
Include only headers which are really required. This speeds up compilation and helps detect cross-layer accesses.
-
- 02 Jun, 2008 1 commit
-
-
Eric Wong authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@7372 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 13 Apr, 2008 4 commits
-
-
Eric Wong authored
We had functions names varied between outputBufferFoo, fooOutputBuffer, and output_buffer_foo That was too confusing for my little brain to handle. And the global variable was somehow named 'cb' instead of the more obvious 'ob'... git-svn-id: https://svn.musicpd.org/mpd/trunk@7355 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
Eric Wong authored
All of our main singleton data structures are implicitly shared, so there's no reason to keep passing them around and around in the stack and making our internal API harder to deal with. git-svn-id: https://svn.musicpd.org/mpd/trunk@7354 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
Eric Wong authored
This at least makes the argument list to a lot of our plugin functions shorter and removes a good amount of line nois^W^Wcode, hopefully making things easier to read and follow. git-svn-id: https://svn.musicpd.org/mpd/trunk@7353 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
Eric Wong authored
It actually increases our image size a small bit and may even hurt performance a very small bit, but makes the code less verbose and easier to manage. I don't see a reason for mpd to ever support playing multiple files at the same time (users can run multiple instances of mpd if they really want to play Zaireeka, but that's such an edge case it's not worth ever supporting in our code). git-svn-id: https://svn.musicpd.org/mpd/trunk@7352 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 12 Apr, 2008 2 commits
-
-
Max Kellermann authored
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
-
Max Kellermann authored
Second patch to make OutputBuffer self-contained: since OutputBuffer now knows its own size, we do not need the global variable "buffered_chunks" anymore. git-svn-id: https://svn.musicpd.org/mpd/trunk@7311 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-