aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag_id3.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tag_id3: fix ID3v1 charset conversionsvitoos2009-11-301-1/+1
| | | | | If we define id3v1_encoding, then the tags are not added to the database.
* id3: allow 4 MB RIFF/AIFF tagsMax Kellermann2009-11-151-1/+1
| | | | | | | 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?).
* tag_id3: added support for the UFID frameMax Kellermann2009-05-061-0/+40
| | | | | If the UFID frame's owner is "http://musicbrainz.org", assume its value is the MusicBrainz track id.
* all: Update copyright header.Avuton Olrich2009-03-131-6/+7
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* tag_id3: parse ID3 tags in AIFF filesMax Kellermann2009-03-021-3/+6
| | | | | | Added a small AIFF parser library, code copied from the RIFF parser (big-endian integers). Look for an "ID3" chunk, and let libid3tag parse it.
* tag_id3: parse ID3 tags in RIFF/WAV filesMax Kellermann2009-03-021-0/+32
| | | | | Added a small RIFF parser library. Look for an "id3" chunk, and let libid3tag parse it.
* tag_id3: added MusicBrainz tag supportMax Kellermann2009-01-241-0/+79
| | | | | | Added support for the MusicBrainz TXXX tags, documented on: http://musicbrainz.org/doc/MusicBrainzTag
* tag_id3: always allocate tag objectMax Kellermann2009-01-241-30/+27
| | | | | Save some code: always allocate the tag object, and free it when it turns out to be empty.
* conf: replaced getConfigParamValue() with config_get_string()Max Kellermann2009-01-171-2/+2
| | | | Don't return a writable pointer.
* tag_id3: added support for the "album artist" tagDaniele Sluijters2009-01-141-0/+12
| | | | Read the id3 tags "TPE2" and "TSO2" into the "album artist" tag.
* path, tag: don't allocate GError for charset conversionMax Kellermann2009-01-041-4/+1
| | | | | Pass NULL instead of &error to g_convert(). We're not interested in the error object.
* tag_id3: use GLib instead of utils.hMax Kellermann2009-01-031-9/+12
|
* tag_id3: use GLib loggingMax Kellermann2008-12-291-12/+19
|
* tag_id3: strip leading and trailing whitespace from ID3 tagsThomas Jansen2008-12-291-2/+6
| | | | Fix for bug #1491.
* replaced mpd_likely/mpd_unlikely by G_LIKELY/G_UNLIKELYThomas Jansen2008-12-021-2/+2
| | | | | We want to remove gcc.h eventually. This takes care of all the G_LIKELY/G_UNLIKELY macros.
* Makefile.am: don't compile disabled sourcesMax Kellermann2008-10-171-21/+1
| | | | | If a feature is disabled, don't compile the source file at all, disable it completely in Makefile.am instead.
* path, tag_id3: use g_convert() instead of charConv.cMax Kellermann2008-10-151-5/+10
| | | | | | | GLib provides an easier API for character set conversion than iconv(). Use g_convert() / g_convert_with_fallback() for all character conversions. We should optimize the path.h API later to return a newly allocated buffer, so we can just pass GLib's return value.
* tag_id3: fix indentationMax Kellermann2008-10-151-28/+28
| | | | Indentation was broken in tag_id3.c: it used 4 spaces instead of tabs.
* const pointersMax Kellermann2008-08-291-1/+1
| | | | Yet another patch which converts pointer arguments to "const".
* tag: moved code to tag_id3.cMax Kellermann2008-08-291-0/+367
The ID3 code uses only the public tag API, but is otherwise unrelated. Move it to a separate source file.