diff options
author | Max Kellermann <max@musicpd.org> | 2021-05-26 12:41:53 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-05-26 13:03:26 +0200 |
commit | 6d567bcd357ffe0bc99f128f09480610914680e7 (patch) | |
tree | 8d6614c2de92c63610f1dc373dd47ae4bfddaa64 /src | |
parent | 363d9f0180a9a3e201e1ce354f9a484b1a431215 (diff) |
decoder/ffmpeg: fix ArtistSort and AlbumArtistSort mapping
These were added 11 years ago in commit 766b9fd453a, but I cannot find
any evidence in the FFmpeg repository that these names were ever
supported. This commit adds the tags as they are currently present in
libavformat/mov.c.
Diffstat (limited to 'src')
-rw-r--r-- | src/decoder/plugins/FfmpegMetaData.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/plugins/FfmpegMetaData.cxx b/src/decoder/plugins/FfmpegMetaData.cxx index 4ca45afb8..0d1456016 100644 --- a/src/decoder/plugins/FfmpegMetaData.cxx +++ b/src/decoder/plugins/FfmpegMetaData.cxx @@ -32,9 +32,9 @@ extern "C" { static constexpr struct tag_table ffmpeg_tags[] = { { "year", TAG_DATE }, - { "author-sort", TAG_ARTIST_SORT }, { "album_artist", TAG_ALBUM_ARTIST }, - { "album_artist-sort", TAG_ALBUM_ARTIST_SORT }, + { "sort_album_artist", TAG_ALBUM_ARTIST_SORT }, + { "sort_artist", TAG_ARTIST_SORT }, /* sentinel */ { nullptr, TAG_NUM_OF_ITEM_TYPES } |