- 24 Feb, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions.
-
- 10 Feb, 2009 2 commits
-
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
Moved code which deals with all audio outputs at once into a separate library.
-
- 04 Feb, 2009 1 commit
-
-
Max Kellermann authored
Export the "g_playlist" variable, and pass it to all playlist functions. This way, we can split playlist.c easier into separate parts. The code which initializes the singleton variable is moved to playlist_global.c.
-
- 02 Feb, 2009 2 commits
-
-
Max Kellermann authored
Don't mention the program name in the error message.
-
Max Kellermann authored
When the update thread is started before MPD has forked (for daemonization), it is killed, because threads do not survive a fork(). This induces an inconsistent state where MPD won't start any update thread at all, because it thinks the thread is already running.
-
- 25 Jan, 2009 4 commits
-
-
Max Kellermann authored
Reimplemented the legacy mixer configuration: copy the deprecated configuration values into the audio_output section. Don't configure the mixers twice (once for the audio_output, and a second time for the legacy values). This requires volume_init() to be called before initAudioDriver().
-
Max Kellermann authored
All config_get_block_*() functions should accept constant config_param pointers.
-
Max Kellermann authored
Don't declare and export variables specific to stored playlists in playlist.c/playlist.h.
-
Max Kellermann authored
Start the decoder thread when the player thread starts. The decoder thread is already stopped by the player thread.
-
- 19 Jan, 2009 1 commit
-
-
Max Kellermann authored
"Stickers" are pieces of information attached to existing MPD objects (e.g. song files, directories, albums). Clients can create arbitrary name/value pairs. MPD itself does not assume any special meaning in them.
-
- 18 Jan, 2009 11 commits
-
-
Max Kellermann authored
This way, we don't have to pass the full "Options" object to daemonize().
-
Max Kellermann authored
The constructor/destructor functions parse and free the configuration properly. This way, we don't have to load the pid file path more than once.
-
Max Kellermann authored
The state_file library should manage its own regular saves.
-
Max Kellermann authored
The constructor/destructor interface should hide the functions read_state_file() and write_state_file().
-
Max Kellermann authored
config_get_path() is an simpler interface than parseConfigFilePath().
-
Max Kellermann authored
Fetch the configuration variables buffered_chunks and buffered_before_play just when they are needed.
-
Max Kellermann authored
Moved changeToUser(), cleanUpPidFile(), killFromPidFile() to daemon.c. These are daemonization functions.
-
Max Kellermann authored
Without a music_directory, MPD is an excellent streaming client.
-
Max Kellermann authored
Don't include conf.h in database.c.
-
Max Kellermann authored
time(NULL) shows the wrong results when the machine's clock is changed.
-
Max Kellermann authored
Renamed functions and types.
-
- 17 Jan, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions, types, variables.
-
- 10 Jan, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 05 Jan, 2009 1 commit
-
-
Max Kellermann authored
AC_CHECK_HEADERS defines HAVE_LOCALE_H, so we don't have to manually define HAVE_LOCALE.
-
- 04 Jan, 2009 3 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.
-
Max Kellermann authored
Start the daemon after --create-db. This makes --create-db a flag which discards the old database and starts with a fresh one.
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 02 Jan, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
There is only one location using PIPE_EVENT_SIGNAL: to synchronize player_command() with player_command_finished(). Use the "notify" library instead of the event_pipe here.
-
- 01 Jan, 2009 3 commits
-
-
Max Kellermann authored
Make the event_pipe (formerly main_notify) send/receive a set of events, with a callback for each one. The default event PIPE_EVENT_SIGNAL does not have a callback. It is still there for waking up the main thread, when it is waiting for the player thread.
-
Max Kellermann authored
Continuing the previous patch.
-
Max Kellermann authored
We are going to migrate away from the concept of notifying the main thread. There should be events sent to it instead. This patch starts a series to implement that.
-
- 31 Dec, 2008 2 commits
-
-
Viliam Mateicka authored
-
Max Kellermann authored
With the GLib main loop, the client manager can install its own event in case a client is expired. No need for main.c to call client_manager_expire() manually.
-
- 30 Dec, 2008 2 commits
-
-
Max Kellermann authored
Other libraries may need to access the main_loop reference, to add or remove events, or to call g_main_loop_quit().
-
Max Kellermann authored
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.
-