Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2009-01-17 | conf: use config_get_bool() instead of getBoolConfigParam() | Max Kellermann | 1 | -4/+2 | |
2009-01-17 | moved fallback APE/ID3 tag loader to song.c | Max Kellermann | 5 | -57/+19 | |
Some plugins used the APE or ID3 tag loader as a fallback when their own methods of loading tags did not work. Move this code out of all decoder plugins, into song_file_update(). | |||||
2009-01-17 | oggvorbis: disable seeking on remote songs | Max Kellermann | 1 | -5/+27 | |
When libvorbis knows that a song is seekable, it seeks around like crazy in the file before starting to decode it. This is very expensive on remote HTTP resources, and delays MPD for 10 or 20 seconds. This patch disables seeking on remote songs, because the advantages of quickly playing a song seem to weigh more than the theoretical ability of seeking for most MPD users. If users feel this feature is needed, we will make a configuration option for that. | |||||
2009-01-16 | Enable wav file streaming for ffmpeg input plugin | Qball Cow | 1 | -0/+1 | |
2009-01-15 | flac: map "Album Artist" to "AlbumArtist" | Rasmus Steinke | 1 | -1/+3 | |
This patch allows mpd to recognise the albumartist tag in the way foobar2000 and others write it to files. | |||||
2009-01-15 | flac: splitted flac_copy_vorbis_comment() | Max Kellermann | 1 | -37/+38 | |
Splitted flac_copy_vorbis_comment() into flac_copy_comment() and flac_copy_comment(). | |||||
2009-01-15 | flac: moved code to flac_comment_value() | Max Kellermann | 1 | -5/+26 | |
Simplify flac_copy_vorbis_comment() by moving the comment identification code out. | |||||
2009-01-15 | flac: always allocate tag object | Max Kellermann | 4 | -31/+43 | |
Free the tag object when it turns out to be empty. This simplifies several functions and APIs. | |||||
2009-01-15 | flac: use bool instead of int | Max Kellermann | 2 | -42/+37 | |
2009-01-15 | flac: removed "vorbis_comment_found" flag | Max Kellermann | 1 | -10/+4 | |
Use tag_is_empty() instead. | |||||
2009-01-15 | flac: no CamelCase | Max Kellermann | 4 | -186/+204 | |
Renamed types, functions, variables. | |||||
2009-01-15 | oggvorbis: map "Album Artist" to "AlbumArtist" | Rasmus Steinke | 1 | -1/+3 | |
This patch allows mpd to recognise the albumartist tag in the way foobar2000 and others write it to files. | |||||
2009-01-14 | oggvorbis: use g_ascii_strncasecmp() instead of strncasecmp() | Max Kellermann | 1 | -3/+3 | |
Don't depend on the daemon's locale settings. Comment names are ASCII. | |||||
2009-01-14 | oggvorbis: moved tag look into vorbis_parse_comment() | Max Kellermann | 1 | -23/+13 | |
vorbis_parse_comment() should be a function which converts one comment to a tag item. It should do everything required to do the conversion, including looping over all possible tag types. | |||||
2009-01-14 | oggvorbis: moved code to vorbis_copy_comment() | Max Kellermann | 1 | -9/+21 | |
2009-01-14 | oggvorbis: use vorbis_comment_value() in vorbis_parse_comment() | Max Kellermann | 1 | -5/+4 | |
Eliminate some duplicate code. | |||||
2009-01-14 | oggvorbis: always allocate a tag object | Max Kellermann | 1 | -8/+14 | |
Always allocate a new tag object before parsing the vorbis comments; free it when it turns out to be empty. This simplifies the code a bit. | |||||
2009-01-14 | oggvorbis: no CamelCase | Max Kellermann | 1 | -59/+63 | |
Renamed functions and variables. | |||||
2009-01-14 | oggvorbis: use bool | Max Kellermann | 1 | -5/+5 | |
Make ogg_parseCommentAddToTag() return bool instead of unsigned int. | |||||
2009-01-08 | added missing explicit config.h includes | Max Kellermann | 6 | -1/+7 | |
2009-01-05 | fix G_BYTE_ORDER check | Max Kellermann | 1 | -1/+1 | |
"#ifdef G_BYTE_ORDER == G_BIG_ENDIAN" cannot work, of course. | |||||
2009-01-05 | use GLib byte order macros | Max Kellermann | 1 | -1/+1 | |
2009-01-04 | song: allocate the result of song_get_url() | Max Kellermann | 1 | -3/+4 | |
2009-01-03 | utils: removed unused functions | Max Kellermann | 1 | -0/+2 | |
Removed all allocation functions, xwrite(), xread(), ARRAY_SIZE(). Those have been superseded by GLib. | |||||
2009-01-02 | oggflac: don't use gcc.h | Max Kellermann | 1 | -9/+10 | |
Use G_GNUC_UNUSED instead of mpd_unused (which has already been removed). | |||||
2009-01-01 | decoder plugins: don't include gcc.h | Max Kellermann | 5 | -12/+17 | |
Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused. | |||||
2008-12-29 | removed os_compat.h | Max Kellermann | 1 | -0/+2 | |
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable. | |||||
2008-12-29 | mp4: support the writer/composer tag | Frank Mulder | 1 | -0/+2 | |
I tried to search for a certain composer in my collection, but only non-mp4 files showed up. The source code reveals that this tag is not read. This can be fixed by reading the 'Writer' tag field, in mp4_plugin.c, in function mp4_load_tag. I actually tried this, and after compiling with those lines added, also mp4 (.m4a) files showed up when searching for a composer. | |||||
2008-12-28 | mikmod: use Glib instead of utils.h/log.h | Max Kellermann | 1 | -9/+6 | |
2008-12-28 | mikmod: convert mod_Data.audio_buffer to a static array | Max Kellermann | 1 | -3/+1 | |
Don't do two allocations for the mod_Data structure. | |||||
2008-12-28 | decoder: new plugin using modplug library | Viliam Mateicka | 1 | -0/+200 | |
2008-12-28 | Add RVA2 tag support to MPD | Pauli Virtanen | 1 | -0/+94 | |
This patch adds RVA2 (relative volume adjustment) tag support to mpd, as a fallback if no replaygain tags are found. The code is almost directly from madplay (GPL). RVA2 tags are generated for example by the "normalize" utility. Updated by: Avuton Olrich <avuton@gmail.com> | |||||
2008-12-27 | audiofile: don't close onput stream in libaudiofile destroy() | Max Kellermann | 1 | -2/+3 | |
The input_stream object should only be closed by the MPD core (i.e. decoder_thread.c / decoder_run()). A decoder plugin which attempts to close it will result in a segmentation fault. | |||||
2008-12-24 | ffmpeg: case AV_NOPTS_VALUE to int64_t | Max Kellermann | 1 | -2/+2 | |
The old code casted it to a 32 bit integer, which cut off bits. AVFormatContext.duration is a int64_t, so use this type. | |||||
2008-12-24 | ffmpeg: don't assign "0" to pointer | Max Kellermann | 1 | -1/+1 | |
Use NULL instead. Found by sparse. | |||||
2008-12-24 | mp3: "tag" argument is unused when libid3tag is disabled | Max Kellermann | 1 | -2/+2 | |
Add G_GNUC_UNUSED attributes. | |||||
2008-12-15 | ffmpeg: fixing ffmpeg_send_packet to allow multipackets | Viliam Mateicka | 1 | -16/+32 | |
2008-12-15 | ffmpeg: adding APE support | Viliam Mateicka | 1 | -2/+3 | |
2008-12-08 | mp3: declare variables as "enum mp3_action" | Max Kellermann | 1 | -2/+2 | |
Variables which hold one of the DECODE_* values should be declared as "enum mp3_action" instead of "int". | |||||
2008-12-03 | decoder: audiofile plugin using input stream instead of file | Viliam Mateicka | 1 | -15/+74 | |
2008-11-27 | mp3: use GLib logging | Max Kellermann | 1 | -19/+18 | |
Use GLib's g_warning(), ... instead of MPD's deprecated log.h. | |||||
2008-11-24 | flac, mpc, ogg, wavpack: include unistd.h for SEEK_SET | Max Kellermann | 5 | -0/+5 | |
SEEK_SET is defined by unistd.h. Explicitly include it. | |||||
2008-11-22 | wavpack: use assert_static() | Laszlo Ashin | 1 | -4/+5 | |
2008-11-21 | decoder: check audio_format_valid() in all decoders | Max Kellermann | 9 | -7/+70 | |
Refuse to play audio formats which are not supported by MPD. | |||||
2008-11-21 | flac, oggflac: use GLib instead of utils.h/log.h | Max Kellermann | 4 | -33/+29 | |
2008-11-21 | ffmpeg: use GLib instead of log.h | Max Kellermann | 1 | -8/+11 | |
2008-11-21 | audiofile: use GLib instead of log.h | Max Kellermann | 1 | -8/+10 | |
2008-11-21 | aac: use GLib instead of utils.h/log.h | Max Kellermann | 1 | -10/+10 | |
Removed the superfluous my_usleep() call. | |||||
2008-11-20 | ogg: moved the "errorStr" variable into the error handler | Max Kellermann | 1 | -1/+2 | |
2008-11-20 | aac: get rid of gcc warnings | Laszlo Ashin | 1 | -2/+2 | |