summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-05-26 12:41:41 +0200
committerMax Kellermann <max@musicpd.org>2021-05-26 13:03:47 +0200
commitfbaedf2262f1d68f1aa35f27291893ffeb90f487 (patch)
treee730d72b00d8747828dfb1e97df0dfb355f90d65
parent8f3341cefb496cd82c71b370884434f49efd93b7 (diff)
decoder/ffmpeg: support the "sort_album" tag
From libavformat/mov.c. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1173
-rw-r--r--NEWS2
-rw-r--r--src/decoder/plugins/FfmpegMetaData.cxx1
2 files changed, 3 insertions, 0 deletions
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 */