aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'v0.19.11'Max Kellermann2015-10-271-6/+6
|\
| * tag/ApeLoader: fix buffer overflow after unterminated keyMax Kellermann2015-10-161-6/+6
| |
* | Filter out this extra data and leading zeroes in "track" and "disc" tags.Andreas Mair2015-10-211-1/+14
| |
* | util/StringView: new utility classMax Kellermann2015-09-3010-92/+81
| |
* | db/UniqueTags, tag/Set, ...: use typedef tag_mask_tMax Kellermann2015-08-242-10/+10
| |
* | tag/Settings: move typedef tag_mask_t to Mask.hxxMax Kellermann2015-08-242-2/+28
| |
* | tag/Settings: convert to C++Max Kellermann2015-08-245-10/+6
| |
* | tag/Settings: convert to bit maskMax Kellermann2015-08-243-9/+8
| |
* | tag/Settings: add function IsTagEnabled() wrapping access to ignore_tag_items[]Max Kellermann2015-08-243-2/+21
| |
* | Tag: include cleanupMax Kellermann2015-08-241-1/+0
| |
* | config/Global: allow calling config_get_string() with one argumentMax Kellermann2015-06-261-2/+1
| | | | | | | | default_value defaults to nullptr.
* | TagId3: remove the "id3v1_encoding" settingMax Kellermann2015-06-261-47/+10
| | | | | | | | | | Drop support for misencoded tags. People should not be using ID3v1 anyway.
* | *: doxygen fixupsMax Kellermann2015-03-172-2/+2
| |
* | fs/Traits: add macro PATH_LITERAL()Max Kellermann2015-03-052-2/+2
| |
* | Merge tag 'v0.19.9'Max Kellermann2015-02-061-1/+10
|\|
| * TagBuilder: allow adding duplicate tag types in Complement()Max Kellermann2015-02-061-1/+10
| | | | | | | | | | | | | | | | | | | | Build a table of pre-existing tag types before adding new items. The old way would check HasType() each time, which would return true after the first instance of that tag type had been added, preventing duplicate tag types to be merged. This broke duplicate tag types loaded from the state file, because this code path uses TagBuilder::Complement().
* | tag/Rva2: convert pointers to referencesMax Kellermann2015-02-041-9/+9
| |
* | tag/Rva2: rename struct rva2_data to CamelCaseMax Kellermann2015-02-041-6/+6
| |
* | tag/Rva2: make enum rva2_channel strictly-typedMax Kellermann2015-02-041-12/+12
| |
* | tag/Format: add %iso8601%Max Kellermann2015-01-221-0/+27
| |
* | config/Option: convert to strictly-typed enumMax Kellermann2015-01-212-2/+4
| |
* | output/recorder: dynamic file nameMax Kellermann2015-01-142-0/+138
| |
* | Copyright year 2015Max Kellermann2015-01-0141-41/+41
| |
* | Merge branch 'v0.19.x'Max Kellermann2014-12-261-0/+9
|\|
| * Merge branch 'v0.18.x' into v0.19.xMax Kellermann2014-12-261-0/+9
| |\
| | * util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compareMax Kellermann2014-12-261-0/+9
| | | | | | | | | | | | New in clang 3.6.
| | * TagString: use g_strndup() for unterminated stringMax Kellermann2014-11-021-1/+1
| | | | | | | | | | | | Fixes buffer overflow bug.
| | * SongFilter, TagConfig: cast TAG_NUM_OF_ITEM_TYPES to integerMax Kellermann2014-01-151-1/+1
| | | | | | | | | | | | Fixes clang warning.
* | | TagId3: add "pure" attributesMax Kellermann2014-12-021-1/+4
| | |
* | | Compiler.h: add macro CLANG_OR_GCC_VERSION()Max Kellermann2014-11-282-2/+2
| | |
* | | ApeTag: drop support for non-standard tag "album artist"Max Kellermann2014-11-251-1/+0
| | | | | | | | | | | | | | | | | | This was used by proprietary software. MPD adopted it a few years ago, which turns out to be a mistake, because it now creates problems for some MPD users (http://bugs.musicpd.org/view.php?id=4168).
* | | configure.ac: add macro MPD_ENABLE_AUTO_PKG_LIBMax Kellermann2014-11-221-1/+1
|/ /
* | tag/Set: do AlbumArtist/Artist fallback only if AlbumArtist is not disabledMax Kellermann2014-11-081-0/+2
| | | | | | | | | | | | | | | | | | | | On "list albumartist", songs that have no AlbumArtist tag will use the Artist tag. However, if AlbumArtist is disabled via "metadata_to_use", the TagBuilder::AddItem() call is ignored, and PrintUniqueTag() attempts to print a nullptr string. This commit fixes the problem by attempting the fallback only if AlbumArtist is not disabled.
* | TagString: implement fix_utf8() without GLibMax Kellermann2014-10-101-22/+34
| |
* | TagString: return WritableBuffer<char>Max Kellermann2014-10-103-24/+26
| |
* | TagString: use strndup() for unterminated stringMax Kellermann2014-10-101-1/+1
| | | | | | | | Fixes buffer overflow bug.
* | TagString: remove ISO-Latin-1 fallbackMax Kellermann2014-10-101-14/+1
| | | | | | | | | | | | | | | | MPD handles all strings in UTF-8 internally. Those decoders which read Latin-1 tags are supposed to implement the conversion, instead of passing Latin-1 to TagBuilder::AddItem(). FixTagString() is simply the wrong place to do that, and hard-coding Latin-1 is kind of arbitrary.
* | Tag: support "AlbumSort"Max Kellermann2014-09-293-0/+5
| | | | | | | | | | The new tag is supported by all decoders that use the tag name table, and the ID3v2 tag "TSOA" maps to it.
* | Add MusicBrainz' Release Track Id tagWieland Hoffmann2014-09-273-0/+4
| | | | | | | | | | | | | | | | | | | | The Release Track Id uniquely identifies a recording on a release - that is, even if a recording appears twice on a release (meaning that the combination of recording and release id are not enough to figure out which one it is), the release track id will allow differentiating the two. The tag names are taken from https://musicbrainz.org/doc/MusicBrainz_Picard/Tags/Mapping
* | decoder/flac: move code to tag/MixRamp.cxxMax Kellermann2014-09-242-0/+19
| |
* | decoder/mad: move code to tag/MixRamp.cxxMax Kellermann2014-09-242-0/+93
| |
* | tag/ReplayGain: add VorbisComment parserMax Kellermann2014-09-242-0/+19
| | | | | | | | Move code from the Vorbis and FLAC decoder plugins.
* | tag/ReplayGain: move code to template functionMax Kellermann2014-09-241-8/+30
| |
* | decoder/{vorbis,flac}: move duplicate code to tag/VorbisComment.cxxMax Kellermann2014-09-242-0/+75
| |
* | tag/ApeReplayGain, decoder/mad: move duplicate code to tag/ReplayGain.cxxMax Kellermann2014-09-243-15/+80
| |
* | TagHandler: pass SongTime to duration()Max Kellermann2014-08-292-6/+7
| |
* | Tag: use SignedSongTime for the song durationMax Kellermann2014-08-295-34/+32
| |
* | TagId3: fix printf string parameterMax Kellermann2014-07-301-1/+1
| |
* | util/Cast: reimplement as template without macroMax Kellermann2014-07-141-2/+5
| |
* | Tag: add class const_iterator and methods begin(), end()Max Kellermann2014-07-123-12/+65
| | | | | | | | Enables using range-based "for".