From fbaedf2262f1d68f1aa35f27291893ffeb90f487 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 26 May 2021 12:41:41 +0200 Subject: [PATCH] decoder/ffmpeg: support the "sort_album" tag From libavformat/mov.c. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1173 --- NEWS | 2 ++ src/decoder/plugins/FfmpegMetaData.cxx | 1 + 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index b3972e557..39aea4111 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ ver 0.22.9 (not yet released) * database - simple: load all .mpdignore files of all parent directories +* decoder + - ffmpeg: support the "sort_album" tag * Windows - fix build failure with SQLite diff --git a/src/decoder/plugins/FfmpegMetaData.cxx b/src/decoder/plugins/FfmpegMetaData.cxx index 316c85481..1c30c467b 100644 --- a/src/decoder/plugins/FfmpegMetaData.cxx +++ b/src/decoder/plugins/FfmpegMetaData.cxx @@ -40,6 +40,7 @@ static constexpr struct tag_table ffmpeg_tags[] = { /* from libavformat/mov.c */ { "sort_album_artist", TAG_ALBUM_ARTIST_SORT }, + { "sort_album", TAG_ALBUM_SORT }, { "sort_artist", TAG_ARTIST_SORT }, /* sentinel */