Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
0a92fbc1
Commit
0a92fbc1
authored
Apr 22, 2020
by
geneticdrift
Committed by
Max Kellermann
Apr 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tag/Fallback: add tag fallback for AlbumSort
Closes
https://github.com/MusicPlayerDaemon/MPD/issues/832
parent
138c2932
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
NEWS
NEWS
+2
-0
Fallback.hxx
src/tag/Fallback.hxx
+4
-0
No files found.
NEWS
View file @
0a92fbc1
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
...
...
src/tag/Fallback.hxx
View file @
0a92fbc1
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment