diff options
author | Max Kellermann <max@duempel.org> | 2014-09-29 18:55:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-09-29 18:55:59 +0200 |
commit | 3560dc4be60e6e3c47c687b9702a62a610909546 (patch) | |
tree | 7d3418f2bbb229cb36c6031ebb69e229640c70e1 /src/tag/TagId3.cxx | |
parent | b002ea9a20ea2a9b36c4f577bfeb506ff2cf0696 (diff) | |
download | mpd-3560dc4be60e6e3c47c687b9702a62a610909546.tar.gz mpd-3560dc4be60e6e3c47c687b9702a62a610909546.tar.xz mpd-3560dc4be60e6e3c47c687b9702a62a610909546.zip |
Tag: support "AlbumSort"
The new tag is supported by all decoders that use the tag name table,
and the ID3v2 tag "TSOA" maps to it.
Diffstat (limited to 'src/tag/TagId3.cxx')
-rw-r--r-- | src/tag/TagId3.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tag/TagId3.cxx b/src/tag/TagId3.cxx index c179d6996..02dc58364 100644 --- a/src/tag/TagId3.cxx +++ b/src/tag/TagId3.cxx @@ -350,6 +350,9 @@ scan_id3_tag(struct id3_tag *tag, TAG_ALBUM_ARTIST, handler, handler_ctx); tag_id3_import_text(tag, ID3_FRAME_ARTIST_SORT, TAG_ARTIST_SORT, handler, handler_ctx); + + tag_id3_import_text(tag, "TSOA", TAG_ALBUM_SORT, handler, handler_ctx); + tag_id3_import_text(tag, ID3_FRAME_ALBUM_ARTIST_SORT, TAG_ALBUM_ARTIST_SORT, handler, handler_ctx); tag_id3_import_text(tag, ID3_FRAME_TITLE, TAG_TITLE, |