- 27 Dec, 2009 6 commits
-
-
Max Kellermann authored
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.
-
Max Kellermann authored
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.
-
Max Kellermann authored
Try the playlist directory first, and if that file does not exist, try the same relative path within the music directory.
-
Max Kellermann authored
-
Max Kellermann authored
The caller should be responsible for building the absolute URI.
-
Max Kellermann authored
-
- 26 Dec, 2009 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
If that fails, try opening the file as a stream.
-
Max Kellermann authored
-
Max Kellermann authored
If there's a slash in the uri_get_suffix() return value, then it's malformed. Return NULL in this case.
-
Max Kellermann authored
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.
-
- 25 Dec, 2009 8 commits
-
-
Max Kellermann authored
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.
-
Max Kellermann authored
-
Max Kellermann authored
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.
-
Max Kellermann authored
The pcm_volume library supports 32 bit samples, there's no reason to disallow it in the filter plugin.
-
Max Kellermann authored
Detect misconfiguration during MPD startup, not when playback begins.
-
Max Kellermann authored
Indicate success and error.
-
Max Kellermann authored
This plugin cannot be configured.
-
Max Kellermann authored
Don't close child filters in the filter() method.
-
- 16 Dec, 2009 21 commits
-
-
Max Kellermann authored
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.
-
Max Kellermann authored
When no plugin matches the URI scheme, try the file name suffix.
-
Max Kellermann authored
Use open_uri() / open_stream() only after checking that they are implemented.
-
Max Kellermann authored
Get duration from track_get_length().
-
Max Kellermann authored
-
Max Kellermann authored
Merge code from cue_tag_file() and cue_tag_string().
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
It's illegal to pass NULL here. This should not be ignored silently.
-
Max Kellermann authored
-
Max Kellermann authored
Removed the NULL check.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This fixes a NULL pointer dereference in case of archive plugin failure.
-
Max Kellermann authored
Make archive_file a "real" struct, extended by all plugins. Add the plugin pointer to it. Wrap all method calls in functions.
-
Max Kellermann authored
-
Max Kellermann authored
Moved the archive plugin "extern" declarations into each plugin header.
-
Max Kellermann authored
Use the raw struct name instead.
-
Max Kellermann authored
-
Max Kellermann authored
Based on libiso9660.
-
Max Kellermann authored
Use g_path_get_basename() instead of manually filtering the path name. Big advantage: g_path_get_basename() cannot fail.
-