Commit 0a92fbc1 authored by geneticdrift's avatar geneticdrift Committed by Max Kellermann

tag/Fallback: add tag fallback for AlbumSort

parent 138c2932
ver 0.21.23 (not yet released)
* protocol
- add tag fallback for AlbumSort
* storage
- curl: fix corrupt "href" values in the presence of XML entities
- curl: unescape "href" values
......
......@@ -45,6 +45,10 @@ ApplyTagFallback(TagType type, F &&f) noexcept
"AlbumArtist"/"ArtistSort" was found */
return f(TAG_ARTIST);
if (type == TAG_ALBUM_SORT)
/* fall back to "Album" if no "AlbumSort" was found */
return f(TAG_ALBUM);
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment