Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2009-12-31 | refcount: library for reference counting | Max Kellermann | 1 | -0/+66 | |
2009-12-31 | input/archive: don't initialize input_stream.ready | Max Kellermann | 4 | -2/+3 | |
The archive plugin should decide this. | |||||
2009-12-31 | archive/bz2: allocate buffer statically | Max Kellermann | 1 | -7/+3 | |
Reduce the number of malloc()/free() calls. | |||||
2009-12-31 | archive/bz2: added struct bz2_input_stream | Max Kellermann | 1 | -21/+32 | |
Don't use the bz2_archive_file object for the input_stream. | |||||
2009-12-31 | archive/iso9660: added struct iso9660_input_stream | Max Kellermann | 1 | -20/+32 | |
Don't use the iso9660_archive_file object for the input_stream. | |||||
2009-12-31 | archive/iso9660: set input_stream.{size,offset} | Max Kellermann | 1 | -8/+8 | |
2009-12-31 | archive/zzip: added struct zzip_input_stream | Max Kellermann | 1 | -19/+33 | |
Don't use the zzip_archive object for the input_stream. | |||||
2009-12-31 | archive/zzip: set input_stream.{size,offset} | Max Kellermann | 1 | -3/+5 | |
2009-12-30 | input/curl: removed the built-in rewinding code | Max Kellermann | 1 | -181/+10 | |
This has been reimplemented in the "rewind" input plugin. | |||||
2009-12-29 | input/rewind: new input_stream wrapper to allow stream rewinding | Max Kellermann | 5 | -0/+312 | |
This replaces the rewinding buffer code from the CURL input plugin. It is more generic, and allows rewinding even when the server sends Icy-Metadata (which would have been too difficult to implement within the CURL plugin). This is a rather complex patch for the stable branch (v0.15.x), but it fixes a serious problem: the "vorbis" decoder plugin was unable to play streams with Icy-Metadata, because it couldn't rewind the stream after detecting the codec (Vorbis vs. FLAC). | |||||
2009-12-29 | decoder/{ffmpeg,flac,vorbis}: added more flac/vorbis MIME types | Max Kellermann | 4 | -4/+22 | |
Support deprecated MIME types such as "audio/x-ogg". Support new types such as "audio/flac". | |||||
2009-12-27 | playlist_list: wait for the input stream to become ready | Max Kellermann | 1 | -0/+10 | |
Without this, seeking may cause MPD to crash. | |||||
2009-12-27 | dbUtils: return multiple tag values per song | Max Kellermann | 1 | -1/+0 | |
When collecting tag values for the result set, add all of a song's tag values of the searched type. This affects the "list" command. Previously, "list" only considered the first tag value of a song. | |||||
2009-12-27 | playlist/cue: fill song.start_ms, .end_ms | Max Kellermann | 1 | -0/+3 | |
This patch adds practical usefulness to the CUE playlist plugin. | |||||
2009-12-27 | decoder, player: support song ranges | Max Kellermann | 2 | -5/+40 | |
Seek the decoder to the start of the range before beginning with playback. Stop the decoder when the end of the range has been reached. Add the start position to the seek position. Expose the duration of the range, not the full song file. | |||||
2009-12-27 | playlist_queue: resolve relative URIs, database lookup | Max Kellermann | 2 | -18/+118 | |
Prepend the playlist's base URI to relative song URIs. Look up songs in the database (if the URI refers to a local song file). Merge existing database metadata with metadata from the playlist plugin. | |||||
2009-12-27 | song: added support for selecting a time range | Max Kellermann | 3 | -1/+30 | |
Added attributes start_ms, end_ms. This allows us to address a portion of a song file (important for CUE support). There is no support yet for storing these attributes in the state file. | |||||
2009-12-27 | playlist_queue: load playlists from music directory | Max Kellermann | 1 | -4/+36 | |
Try the playlist directory first, and if that file does not exist, try the same relative path within the music directory. | |||||
2009-12-27 | uri: added function uri_safe_local() | Max Kellermann | 2 | -0/+42 | |
2009-12-27 | playlist/cue: return the original song URI | Max Kellermann | 1 | -10/+1 | |
The caller should be responsible for building the absolute URI. | |||||
2009-12-27 | playlist_queue: pass const string to playlist_open_path_into_queue() | Max Kellermann | 1 | -1/+1 | |
2009-12-26 | song: added function song_get_duration() | Max Kellermann | 4 | -4/+14 | |
2009-12-26 | playlist_queue: try open by URI first | Max Kellermann | 1 | -10/+21 | |
If that fails, try opening the file as a stream. | |||||
2009-12-26 | playlist_list: use uri_get_suffix() | Max Kellermann | 1 | -4/+2 | |
2009-12-26 | uri: check presence of slash in suffix | Max Kellermann | 1 | -2/+9 | |
If there's a slash in the uri_get_suffix() return value, then it's malformed. Return NULL in this case. | |||||
2009-12-26 | decoder_api: added function decoder_timestamp() | Max Kellermann | 20 | -81/+59 | |
Remove the data_time parameter from decoder_data(). This patch eliminates the timestamp counting in most decoder plugins, because the MPD core will do it automatically by default. | |||||
2009-12-26 | decoder_thread: eliminate jitter after seek failure | Max Kellermann | 1 | -1/+5 | |
Don't clear the music pipe when seeking has failed - check the "seeking" flag instead of "command==SEEK". Clear the "seeking" flag in decoder_seek_error(). | |||||
2009-12-26 | decoder/wavpack: allow fine-grained seeking | Max Kellermann | 1 | -3/+2 | |
First multiply the floating point return value of decoder_seek_where(), then cast to integer. | |||||
2009-12-25 | output_init: use the normalize filter plugin | Max Kellermann | 5 | -95/+11 | |
Use the plugin instead of the glue code in normalize.c. This is used wrapped inside a "autoconv" filter, to enable normalization for all input file formats. | |||||
2009-12-25 | filter: added the "autoconvert" filter plugin | Max Kellermann | 2 | -0/+203 | |
2009-12-25 | filter_plugin: allow open() to force an input format | Max Kellermann | 8 | -40/+64 | |
Make the audio_format argument non-const. Allow the open() method to modify it, to indicate that it wants a different input audio format than the one specified. Check that condition in chain_filter_open(), and fail. | |||||
2009-12-25 | filter/volume: support 32 bit samples | Max Kellermann | 1 | -8/+0 | |
The pcm_volume library supports 32 bit samples, there's no reason to disallow it in the filter plugin. | |||||
2009-12-25 | filter/route: check configured channel count in method init() | Max Kellermann | 1 | -8/+9 | |
Detect misconfiguration during MPD startup, not when playback begins. | |||||
2009-12-25 | filter/route: route_filter_parse() returns bool | Max Kellermann | 1 | -3/+6 | |
Indicate success and error. | |||||
2009-12-25 | filter_registry: removed the "chain" plugin from filter_plugins | Max Kellermann | 1 | -1/+0 | |
This plugin cannot be configured. | |||||
2009-12-25 | filter/chain: return NULL if a filter() method has failed | Max Kellermann | 1 | -1/+1 | |
Don't close child filters in the filter() method. | |||||
2009-12-16 | playlist: added CUE playlist plugin | Max Kellermann | 3 | -0/+166 | |
This plugin is the groundwork for MPD's future generic CUE sheet support. That's not complete yet, e.g. there is no way for a playlist plugin to address an arbitrary position within a music file. | |||||
2009-12-16 | playlist_list: support URI suffix match | Max Kellermann | 1 | -2/+54 | |
When no plugin matches the URI scheme, try the file name suffix. | |||||
2009-12-16 | playlist_list: check if open method is present | Max Kellermann | 1 | -2/+6 | |
Use open_uri() / open_stream() only after checking that they are implemented. | |||||
2009-12-16 | cue_tag: added song duration support | Max Kellermann | 1 | -2/+10 | |
Get duration from track_get_length(). | |||||
2009-12-16 | cue_tag: check cd_get_track()!=NULL | Max Kellermann | 1 | -3/+5 | |
2009-12-16 | cue_tag: added function cue_tag() | Max Kellermann | 2 | -17/+29 | |
Merge code from cue_tag_file() and cue_tag_string(). | |||||
2009-12-16 | cue_tag: merged code into cue_tag_merge() | Max Kellermann | 1 | -22/+18 | |
2009-12-16 | cue_tag: pass "const" string to cue_tag_string() | Max Kellermann | 2 | -2/+2 | |
2009-12-16 | cue_tag: changed runtime checks to assertions | Max Kellermann | 1 | -14/+9 | |
It's illegal to pass NULL here. This should not be ignored silently. | |||||
2009-12-16 | cue_tag: fixed indent and code style | Max Kellermann | 2 | -78/+43 | |
2009-12-16 | cue_tag: tag_new() cannot fail | Max Kellermann | 1 | -22/+10 | |
Removed the NULL check. | |||||
2009-12-16 | cue_tag: include cleanup | Max Kellermann | 2 | -2/+5 | |
2009-12-16 | archive_plugin: use GError in the open() method | Max Kellermann | 7 | -14/+23 | |
2009-12-16 | input/archive: check for archive_file_open() errors | Max Kellermann | 1 | -0/+2 | |
This fixes a NULL pointer dereference in case of archive plugin failure. |