Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | flac: splitted flac_copy_vorbis_comment() | Max Kellermann | 2009-01-15 | 1 | -37/+38 | |
| | | | | | Splitted flac_copy_vorbis_comment() into flac_copy_comment() and flac_copy_comment(). | |||||
* | flac: moved code to flac_comment_value() | Max Kellermann | 2009-01-15 | 1 | -5/+26 | |
| | | | | | Simplify flac_copy_vorbis_comment() by moving the comment identification code out. | |||||
* | flac: always allocate tag object | Max Kellermann | 2009-01-15 | 4 | -31/+43 | |
| | | | | | Free the tag object when it turns out to be empty. This simplifies several functions and APIs. | |||||
* | flac: use bool instead of int | Max Kellermann | 2009-01-15 | 2 | -42/+37 | |
| | ||||||
* | flac: removed "vorbis_comment_found" flag | Max Kellermann | 2009-01-15 | 1 | -10/+4 | |
| | | | | Use tag_is_empty() instead. | |||||
* | flac: no CamelCase | Max Kellermann | 2009-01-15 | 4 | -186/+204 | |
| | | | | Renamed types, functions, variables. | |||||
* | oggvorbis: map "Album Artist" to "AlbumArtist" | Rasmus Steinke | 2009-01-15 | 1 | -1/+3 | |
| | | | | | This patch allows mpd to recognise the albumartist tag in the way foobar2000 and others write it to files. | |||||
* | oggvorbis: use g_ascii_strncasecmp() instead of strncasecmp() | Max Kellermann | 2009-01-14 | 1 | -3/+3 | |
| | | | | | Don't depend on the daemon's locale settings. Comment names are ASCII. | |||||
* | oggvorbis: moved tag look into vorbis_parse_comment() | Max Kellermann | 2009-01-14 | 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. | |||||
* | oggvorbis: moved code to vorbis_copy_comment() | Max Kellermann | 2009-01-14 | 1 | -9/+21 | |
| | ||||||
* | oggvorbis: use vorbis_comment_value() in vorbis_parse_comment() | Max Kellermann | 2009-01-14 | 1 | -5/+4 | |
| | | | | Eliminate some duplicate code. | |||||
* | oggvorbis: always allocate a tag object | Max Kellermann | 2009-01-14 | 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. | |||||
* | oggvorbis: no CamelCase | Max Kellermann | 2009-01-14 | 1 | -59/+63 | |
| | | | | Renamed functions and variables. | |||||
* | oggvorbis: use bool | Max Kellermann | 2009-01-14 | 1 | -5/+5 | |
| | | | | Make ogg_parseCommentAddToTag() return bool instead of unsigned int. | |||||
* | added missing explicit config.h includes | Max Kellermann | 2009-01-08 | 6 | -1/+7 | |
| | ||||||
* | fix G_BYTE_ORDER check | Max Kellermann | 2009-01-05 | 1 | -1/+1 | |
| | | | | "#ifdef G_BYTE_ORDER == G_BIG_ENDIAN" cannot work, of course. | |||||
* | use GLib byte order macros | Max Kellermann | 2009-01-05 | 1 | -1/+1 | |
| | ||||||
* | song: allocate the result of song_get_url() | Max Kellermann | 2009-01-04 | 1 | -3/+4 | |
| | ||||||
* | utils: removed unused functions | Max Kellermann | 2009-01-03 | 1 | -0/+2 | |
| | | | | | Removed all allocation functions, xwrite(), xread(), ARRAY_SIZE(). Those have been superseded by GLib. | |||||
* | oggflac: don't use gcc.h | Max Kellermann | 2009-01-02 | 1 | -9/+10 | |
| | | | | | Use G_GNUC_UNUSED instead of mpd_unused (which has already been removed). | |||||
* | decoder plugins: don't include gcc.h | Max Kellermann | 2009-01-01 | 5 | -12/+17 | |
| | | | | Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused. | |||||
* | removed os_compat.h | Max Kellermann | 2008-12-29 | 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. | |||||
* | mp4: support the writer/composer tag | Frank Mulder | 2008-12-29 | 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. | |||||
* | mikmod: use Glib instead of utils.h/log.h | Max Kellermann | 2008-12-28 | 1 | -9/+6 | |
| | ||||||
* | mikmod: convert mod_Data.audio_buffer to a static array | Max Kellermann | 2008-12-28 | 1 | -3/+1 | |
| | | | | Don't do two allocations for the mod_Data structure. | |||||
* | decoder: new plugin using modplug library | Viliam Mateicka | 2008-12-28 | 1 | -0/+200 | |
| | ||||||
* | Add RVA2 tag support to MPD | Pauli Virtanen | 2008-12-28 | 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> | |||||
* | audiofile: don't close onput stream in libaudiofile destroy() | Max Kellermann | 2008-12-27 | 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. | |||||
* | Merge branch 'experimental' of git://git.musicpd.org/metyl/mpd | Max Kellermann | 2008-12-27 | 1 | -15/+74 | |
|\ | | | | | | | | | | | | | | | Conflicts: configure.ac src/ls.h src/output/shout_plugin.c | |||||
| * | decoder: audiofile plugin using input stream instead of file | Viliam Mateicka | 2008-12-03 | 1 | -15/+74 | |
| | | ||||||
* | | ffmpeg: case AV_NOPTS_VALUE to int64_t | Max Kellermann | 2008-12-24 | 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. | |||||
* | | ffmpeg: don't assign "0" to pointer | Max Kellermann | 2008-12-24 | 1 | -1/+1 | |
| | | | | | | | | Use NULL instead. Found by sparse. | |||||
* | | mp3: "tag" argument is unused when libid3tag is disabled | Max Kellermann | 2008-12-24 | 1 | -2/+2 | |
| | | | | | | | | Add G_GNUC_UNUSED attributes. | |||||
* | | ffmpeg: fixing ffmpeg_send_packet to allow multipackets | Viliam Mateicka | 2008-12-15 | 1 | -16/+32 | |
| | | ||||||
* | | ffmpeg: adding APE support | Viliam Mateicka | 2008-12-15 | 1 | -2/+3 | |
| | | ||||||
* | | mp3: declare variables as "enum mp3_action" | Max Kellermann | 2008-12-08 | 1 | -2/+2 | |
|/ | | | | | Variables which hold one of the DECODE_* values should be declared as "enum mp3_action" instead of "int". | |||||
* | mp3: use GLib logging | Max Kellermann | 2008-11-27 | 1 | -19/+18 | |
| | | | | Use GLib's g_warning(), ... instead of MPD's deprecated log.h. | |||||
* | flac, mpc, ogg, wavpack: include unistd.h for SEEK_SET | Max Kellermann | 2008-11-24 | 5 | -0/+5 | |
| | | | | SEEK_SET is defined by unistd.h. Explicitly include it. | |||||
* | wavpack: use assert_static() | Laszlo Ashin | 2008-11-22 | 1 | -4/+5 | |
| | ||||||
* | decoder: check audio_format_valid() in all decoders | Max Kellermann | 2008-11-21 | 9 | -7/+70 | |
| | | | | Refuse to play audio formats which are not supported by MPD. | |||||
* | flac, oggflac: use GLib instead of utils.h/log.h | Max Kellermann | 2008-11-21 | 4 | -33/+29 | |
| | ||||||
* | ffmpeg: use GLib instead of log.h | Max Kellermann | 2008-11-21 | 1 | -8/+11 | |
| | ||||||
* | audiofile: use GLib instead of log.h | Max Kellermann | 2008-11-21 | 1 | -8/+10 | |
| | ||||||
* | aac: use GLib instead of utils.h/log.h | Max Kellermann | 2008-11-21 | 1 | -10/+10 | |
| | | | | Removed the superfluous my_usleep() call. | |||||
* | ogg: moved the "errorStr" variable into the error handler | Max Kellermann | 2008-11-20 | 1 | -1/+2 | |
| | ||||||
* | aac: get rid of gcc warnings | Laszlo Ashin | 2008-11-20 | 1 | -2/+2 | |
| | ||||||
* | ogg: check the ov_read() return value before the vorbis_info evaluation | Max Kellermann | 2008-11-20 | 1 | -7/+6 | |
| | | | | | | The ov_info() return value may be corrupt when ov_read() did not return a positive value. First check for success, then check ov_info(). | |||||
* | wavpack: redo using audio_format_frame_size() | Laszlo Ashin | 2008-11-19 | 1 | -6/+1 | |
| | | | | Somehow we lost 600e1322 after renaming some variables in ed6f6046. | |||||
* | ffmpeg: read tags from AVFormatContext | Viliam Mateicka | 2008-11-18 | 1 | -5/+16 | |
| | | | | | The ffmpeg library provides some of the song metadata in the AVFormatContext struct. Pass it from there to MPD. | |||||
* | audiofile: fixed misplaced if | Viliam Mateicka | 2008-11-18 | 1 | -2/+1 | |
| | | | | [mk: by definition, tag_new() cannot fail - removed check] |