summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-05-26 13:04:45 +0200
committerMax Kellermann <max@musicpd.org>2021-05-26 13:04:47 +0200
commit38e24208f61b37bb5e6edd89ee9f4ad0ea778a09 (patch)
tree43bd2812a3654fdef552b738767d2f7fea946286
parentfbaedf2262f1d68f1aa35f27291893ffeb90f487 (diff)
decoder/ffmpeg: support the tags "album-sort", "artist-sort"
-rw-r--r--src/decoder/plugins/FfmpegMetaData.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder/plugins/FfmpegMetaData.cxx b/src/decoder/plugins/FfmpegMetaData.cxx
index 1c30c467b..54fef3136 100644
--- a/src/decoder/plugins/FfmpegMetaData.cxx
+++ b/src/decoder/plugins/FfmpegMetaData.cxx
@@ -38,6 +38,10 @@ static constexpr struct tag_table ffmpeg_tags[] = {
/* from libavformat/id3v2.c, libavformat/mov.c */
{ "album_artist", TAG_ALBUM_ARTIST },
+ /* from libavformat/id3v2.c */
+ { "album-sort", TAG_ALBUM_SORT },
+ { "artist-sort", TAG_ARTIST_SORT },
+
/* from libavformat/mov.c */
{ "sort_album_artist", TAG_ALBUM_ARTIST_SORT },
{ "sort_album", TAG_ALBUM_SORT },