Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ProxyDatabase: pass "detached" objects to visitors | Max Kellermann | 2012-08-15 | 3 | -40/+49 |
| | | | | Fixes wrong object URIs with duplicate base names. | ||||
* | queue: duplicate all song objects | Max Kellermann | 2012-08-15 | 1 | -5/+6 |
| | | | | | Make sure the queue "owns" all song objects, so nobody else can free them. | ||||
* | player_control: duplicate the song object | Max Kellermann | 2012-08-15 | 5 | -7/+58 |
| | | | | | Make sure the player "owns" the next_song object, so nobody else can free it. | ||||
* | decoder_control: duplicate the song object | Max Kellermann | 2012-08-15 | 3 | -3/+15 |
| | | | | | Make sure the decoder "owns" the song object, so nobody else can free it. | ||||
* | Song: add function song_dup_detached() | Max Kellermann | 2012-08-15 | 3 | -1/+81 |
| | | | | | Initial support for "detached" songs that come from the database, but are private copies. | ||||
* | Song: add function song_equals() | Max Kellermann | 2012-08-15 | 3 | -1/+37 |
| | | | | | decoder_is_current_song() now recognizes different instances of the same physical song. | ||||
* | Song: move trivial inline functions up | Max Kellermann | 2012-08-15 | 1 | -12/+12 |
| | |||||
* | DatabasePlugin: add method GetStats() | Max Kellermann | 2012-08-15 | 7 | -63/+148 |
| | | | | | Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs. | ||||
* | DatabasePlugin: add method VisitUniqueTags() | Max Kellermann | 2012-08-15 | 8 | -53/+215 |
| | | | | | Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs. | ||||
* | ProxyDatabase: obey visitor return values | Max Kellermann | 2012-08-15 | 1 | -8/+11 |
| | |||||
* | ProxyDatabasePlugin: add OO wrapper for mpd_entity | Max Kellermann | 2012-08-15 | 1 | -11/+32 |
| | | | | Let the C++ compiler take care for freeing the objects safely. | ||||
* | ProxyDatabasePlugin: move tag table to the global name space | Max Kellermann | 2012-08-15 | 1 | -25/+25 |
| | |||||
* | db_visitor: delete obsolete header | Max Kellermann | 2012-08-15 | 5 | -60/+0 |
| | |||||
* | DatabasePrint: remove bogus "nonnull" attributes | Max Kellermann | 2012-08-15 | 1 | -2/+2 |
| | |||||
* | Merge branch 'v0.17.x' | Max Kellermann | 2012-08-15 | 5 | -7/+11 |
|\ | | | | | | | | | Conflicts: src/player_thread.c | ||||
| * | player_thread: add local variable "start_ms" | Max Kellermann | 2012-08-15 | 1 | -1/+3 |
| | | | | | | | | Just in case "song" becomes invalid at some point. | ||||
| * | playlist: fix unprotected player_control access | Max Kellermann | 2012-08-15 | 1 | -1/+5 |
| | | |||||
| * | filter/volume: include cleanup | Max Kellermann | 2012-08-15 | 2 | -2/+0 |
| | | |||||
| * | mapper: fix potential crash in file permission check | Max Kellermann | 2012-08-15 | 1 | -3/+3 |
| | | |||||
* | | decoder_control: add function _is_current_song() | Max Kellermann | 2012-08-15 | 3 | -15/+42 |
| | | | | | | | | Replaces _current_song(). | ||||
* | | decoder_control: add assertion to dc_get_error() | Max Kellermann | 2012-08-15 | 1 | -0/+1 |
| | | |||||
* | | decoder_thread: create GError for mapper failure | Max Kellermann | 2012-08-15 | 1 | -0/+3 |
| | | | | | | | | Fixes crash. | ||||
* | | Merge branch 'v0.17.x' | Max Kellermann | 2012-08-15 | 1 | -53/+28 |
|\| | |||||
| * | decoder/fluidsynth: add "sample_rate" setting | Max Kellermann | 2012-08-15 | 1 | -6/+14 |
| | | |||||
| * | decoder/fluidsynth: add "soundfont" setting | Max Kellermann | 2012-08-15 | 1 | -6/+7 |
| | | | | | | | | Replaces the old global "soundfont" which never worked. | ||||
| * | configure.ac: auto-detect libfluidsynth | Max Kellermann | 2012-08-15 | 1 | -9/+0 |
| | | | | | | | | | | Now that the libfluidsynth API was sanitized, we can enable the plugin automatically if libfluidsynth is installed. | ||||
| * | decoder/fluidsynth: stop playback at end of file | Max Kellermann | 2012-08-15 | 1 | -5/+4 |
| | | | | | | | | Use libfluidsynth's new function fluid_player_get_status(). | ||||
| * | decoder/fluidsynth: don't duplicate path | Max Kellermann | 2012-08-15 | 1 | -6/+1 |
| | | | | | | | | The libfluidsynth now accepts const strings. | ||||
| * | decoder/fluidsynth: check if file is really a MIDI | Max Kellermann | 2012-08-15 | 1 | -4/+1 |
| | | | | | | | | Use fluid_is_midifile() to verify the file format. | ||||
| * | decoder/fluidsynth: remove throttle (requires libfluidsynth 1.1) | Max Kellermann | 2012-08-15 | 1 | -17/+1 |
| | | | | | | | | | | The libfluidsynth API is now sane, and does not require real-time decoding. | ||||
* | | Merge branch 'v0.17.x' | Max Kellermann | 2012-08-14 | 10 | -126/+261 |
|\| | |||||
| * | log: store duplicated path string | Max Kellermann | 2012-08-14 | 3 | -31/+32 |
| | | | | | | | | | | | | | | Don't free the string right after calling log_init_file(). Add a new function log_deinit() that frees the string on shutdown. This fixes cycling the log file after SIGHUP (Mantis ticket 0003524). | ||||
| * | output/jack: implement method delay() | Max Kellermann | 2012-08-14 | 1 | -4/+11 |
| | | | | | | | | Eliminate the g_usleep() call. | ||||
| * | output/pulse: implement method delay() | Max Kellermann | 2012-08-14 | 1 | -7/+21 |
| | | | | | | | | Reduce command latency while paused. | ||||
| * | output/pulse: simplify _wait_stream() | Max Kellermann | 2012-08-14 | 1 | -55/+16 |
| | | | | | | | | One large loop and only one pa_stream_get_state() call. | ||||
| * | output/httpd: move delay from _pause() to _delay() | Max Kellermann | 2012-08-14 | 1 | -1/+5 |
| | | |||||
| * | output/httpd: fix throttling bug after resuming playback | Max Kellermann | 2012-08-14 | 1 | -0/+8 |
| | | | | | | | | | | | | Reset the timer when paused and no client is connected. This fixes Mantis ticket 0003527. | ||||
| * | output/httpd: move code to _has_clients() | Max Kellermann | 2012-08-14 | 1 | -11/+27 |
| | | |||||
| * | timer: use monotonic clock if available | Max Kellermann | 2012-08-14 | 3 | -13/+140 |
| | | |||||
| * | input/ffmpeg: remove fallback AV_VERSION_INT definition | Max Kellermann | 2012-08-14 | 1 | -4/+1 |
| | | | | | | | | This is part of libavutil. | ||||
* | | Merge branch 'v0.17.x' | Max Kellermann | 2012-08-14 | 8 | -76/+103 |
|\| | | | | | | | | | Conflicts: src/mapper.h | ||||
| * | mapper: fix non-UTF8 music directory name | Max Kellermann | 2012-08-14 | 4 | -37/+73 |
| | | | | | | | | | | | | Duplicate the music_dir variable: one encoded in UTF-8, and another one using the configured filesystem character set. This fixes an ancient MPD bug. | ||||
| * | playlist_song: use map_to_relative_path() | Max Kellermann | 2012-08-14 | 1 | -4/+4 |
| | | |||||
| * | playlist_song: improve const-correctness | Max Kellermann | 2012-08-14 | 1 | -5/+4 |
| | | |||||
| * | playlist_song: move code to playlist_check_load_song() | Max Kellermann | 2012-08-14 | 1 | -23/+23 |
| | | |||||
| * | input_stream, main: remove obsolete GLib version checks | Max Kellermann | 2012-08-14 | 3 | -8/+0 |
| | | | | | | | | MPD requires GLib 2.16. | ||||
* | | Merge branch 'v0.17.x' | Max Kellermann | 2012-08-13 | 1 | -2/+0 |
|\| | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/client_file.h | ||||
| * | client_file: remove pure attribute from client_allow_file(). | Anton Khirnov | 2012-08-13 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | That function is not pure, it writes to error. When marked as pure, the compiler is allowed to assume it does not do anything to error, so it can remain NULL, which would result in an invalid read in print_error(). | ||||
* | | Directory: move code to directory_allocate() | Max Kellermann | 2012-08-09 | 1 | -8/+18 |
| | | |||||
* | | player_control: add GError attribute | Max Kellermann | 2012-08-08 | 4 | -68/+56 |
| | | | | | | | | | | Rewrite of the pc_get_error_message() function, now using a GError object instead of the complicated "errored_song" attribute. |