- 07 Mar, 2010 1 commit
-
-
Max Kellermann authored
With single+repeat enabled, it is expected that MPD repeats the current song over andd over. With random mode also enabled, this didn't work, because the song order was shuffled internally. This patch adds a special check for this case.
-
- 27 Feb, 2010 1 commit
-
-
Max Kellermann authored
Removed the decoder_command_finished() call at the end of mp3_decode(). This is invalid, because decoder_command_finished() has already been called in mp3_read().
-
- 18 Jan, 2010 2 commits
-
-
Avuton Olrich authored
-
Avuton Olrich authored
-
- 17 Jan, 2010 4 commits
-
-
Max Kellermann authored
Taken from the ffmpeg sources.
-
Max Kellermann authored
Needed for the fluidsynth decoder plugin.
-
Max Kellermann authored
To allow libavformat to detect the format of the input file, append the suffix of the input file to the URL of the virtual stream. This specifically enables the "shorten" codec, which is supported by libavformat/raw.c, detected only by the suffix.
-
Max Kellermann authored
Allow declaration after statement.
-
- 16 Jan, 2010 3 commits
-
-
Max Kellermann authored
Check consume mode in queue_next_order(), because the current song would be deleted as soon as it's finished; it cannot be played again.
-
Max Kellermann authored
The patch "input/file: don't fall back to parent directory" introduced a regression: when trying to play a CUE track, decoder_run_song() tries to open the file as a stream first, but this fails, because the path is virtual. This patch fixes decoder_run_song() (instead of reverting the previous patch) to accept input_stream_open() failures if the song is a local file. It passes the responsibility to handle non-existing files to the decoder's file_decode() method.
-
Max Kellermann authored
-
- 02 Jan, 2010 1 commit
-
-
Max Kellermann authored
This fixes a regression in the patch "return multiple tag values per song": even when the song has values for the specified tag type, the empty string gets added to the set, because the "return" was removed. This patch adds a flag which remembers whether at least one value was found.
-
- 30 Dec, 2009 1 commit
-
-
Max Kellermann authored
This has been reimplemented in the "rewind" input plugin.
-
- 29 Dec, 2009 2 commits
-
-
Max Kellermann authored
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).
-
Max Kellermann authored
Support deprecated MIME types such as "audio/x-ogg". Support new types such as "audio/flac".
-
- 27 Dec, 2009 3 commits
-
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Max Kellermann authored
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.
-
- 26 Dec, 2009 3 commits
-
-
Max Kellermann authored
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().
-
Max Kellermann authored
First multiply the floating point return value of decoder_seek_where(), then cast to integer.
-
Max Kellermann authored
-
- 15 Dec, 2009 7 commits
-
-
Max Kellermann authored
Free the "context" pointer in the method archive_plugin.close().
-
Max Kellermann authored
Fixes a memory leak: the "archive" input plugin opens the archive, but never closes it. This patch moves the responsibility for doing that to archive_plugin.open_stream(). This is an slight internal API change, but it is the simplest and least intrusive fix for the memory leak.
-
Max Kellermann authored
g_free(NULL) is allowed.
-
Max Kellermann authored
Fixed memory leak in error handler.
-
Max Kellermann authored
This enables valgrind debugging after an error occurred.
-
Max Kellermann authored
Enable archive plugin debugging.
-
Max Kellermann authored
This code has never made any sense, and has broken some of the archive plugin.
-
- 11 Dec, 2009 1 commit
-
-
Max Kellermann authored
Use the signed C99 type int8_t instead.
-
- 08 Dec, 2009 4 commits
-
-
Max Kellermann authored
Mixers with the "global" flag set aren't closed automatically when the output device is closed. Thus, they might still be open when MPD shuts down.
-
Max Kellermann authored
This fixes an inconsistency in the stored playlist subsystem: when obtaining the list of playlists (listplaylist, listplaylistinfo), the file names in the playlist directory are converted to UTF-8 (according to filesystem_charset), but when saving or loading playlists, the filesystem_charset setting was ignored.
-
Max Kellermann authored
Call spl_valid_name() in spl_delete().
-
Max Kellermann authored
Don't allocate the file name before the playlist_dir==NULL check.
-
- 30 Nov, 2009 2 commits
-
-
svitoos authored
If we define id3v1_encoding, then the tags are not added to the database.
-
Max Kellermann authored
The plugin code tried to force libavcodec to supply stereo samples. That however has never actually worked. By removing this code, we are able to play surround files for the first time.
-
- 19 Nov, 2009 3 commits
-
-
Max Kellermann authored
Removed the "vtrack" local variable (which triggered a gcc warning because it was after the newly introduced NULL check), and run strtol() on the original parameter.
-
Avuton Olrich authored
-
Avuton Olrich authored
-
- 18 Nov, 2009 1 commit
-
-
Max Kellermann authored
The function flac_vtrack_tnum() was missing a strrchr()==NULL check.
-
- 15 Nov, 2009 1 commit
-
-
Max Kellermann authored
Allow RIFF/AIFF ID3 tags up to 4 MB (old limit was 256 kB). This might still be too small for some users, and when somebody complains, we might do something more clever (like streaming the data into libid3tag?).
-