Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | queue_print: rename to QueuePrint.cxx | Max Kellermann | 2012-08-29 | 1 | -1/+4 |
| | |||||
* | dbUtils.h: eliminate this header | Max Kellermann | 2012-08-29 | 5 | -60/+5 |
| | |||||
* | command: move code to *Commands.cxx | Max Kellermann | 2012-08-29 | 13 | -1289/+1848 |
| | |||||
* | Stats: stats_print() returns void | Max Kellermann | 2012-08-29 | 3 | -5/+6 |
| | |||||
* | decoder/mad, output_thread: add gcc_unlikely() | Max Kellermann | 2012-08-29 | 2 | -3/+3 |
| | |||||
* | Merge branch 'v0.17.x' | Max Kellermann | 2012-08-25 | 10 | -16/+84 |
|\ | | | | | | | | | Conflicts: src/queue_save.c | ||||
| * | playlist/cue: map "PERFORMER" to "artist" or "album artist" | Max Kellermann | 2012-08-25 | 1 | -1/+11 |
| | | | | | | | | Implements Mantis ticket 0003549. | ||||
| * | player_thread: disable cross-fading in "single" mode | Max Kellermann | 2012-08-25 | 4 | -8/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reimplements the core of the "single" mode. Instead of doing the detection in the playlist code from the outside, it is moved to the player thread, which gets a new option called "border_pause". It will now pause playback exactly at the beginning of the new song, making the feature more reliable. Now that the player thread knows what will happen, it can suppress cross-fading. Fixes mantis tickets 0003055 and 0003166. | ||||
| * | command: make "single" a bool | Max Kellermann | 2012-08-21 | 1 | -1/+1 |
| | | |||||
| * | queue_save: save song priorities | Max Kellermann | 2012-08-21 | 4 | -6/+25 |
| | | |||||
* | | Database*: fix nullptr dereference when no database is configured | Max Kellermann | 2012-08-22 | 5 | -8/+48 |
| | | |||||
* | | fd_util: make C++ safe | Max Kellermann | 2012-08-22 | 1 | -0/+8 |
| | | |||||
* | | ProxyDatabase: implement GetSong() | Max Kellermann | 2012-08-16 | 1 | -3/+26 |
| | | |||||
* | | ProxyDatabase: clear libmpdclient errors in CheckError() | Max Kellermann | 2012-08-16 | 1 | -1/+2 |
| | | | | | | | | Auto-recover from soft errors. | ||||
* | | DatabasePlugin: add method ReturnSong() | Max Kellermann | 2012-08-16 | 13 | -14/+85 |
| | | | | | | | | Allow the plugin to allocate the GetSong() return value. | ||||
* | | Merge branch 'v0.17.x' | Max Kellermann | 2012-08-16 | 2 | -2/+7 |
|\| | |||||
| * | playlist_print: fix memory leak | Max Kellermann | 2012-08-16 | 1 | -0/+3 |
| | | |||||
| * | playlist_song: pass const song to _check_load_song() | Max Kellermann | 2012-08-16 | 1 | -1/+1 |
| | | |||||
| * | playlist_song: fix user-after-free bug | Max Kellermann | 2012-08-16 | 1 | -1/+3 |
| | | |||||
* | | 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 |
|\| |