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
27002ad1
Commit
27002ad1
authored
Apr 24, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/Helpers: "list" on album artist falls back to the artist tag
parent
986dd2fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
NEWS
NEWS
+1
-0
Helpers.cxx
src/db/Helpers.cxx
+4
-1
No files found.
NEWS
View file @
27002ad1
...
...
@@ -5,6 +5,7 @@ ver 0.19 (not yet released)
- "listneighbors" lists file servers on the local network
- "playlistadd" supports file:///
- "idle" with unrecognized event name fails
- "list" on album artist falls back to the artist tag
* database
- proxy: forward "idle" events
- proxy: copy "Last-Modified" from remote directories
...
...
src/db/Helpers.cxx
View file @
27002ad1
...
...
@@ -58,7 +58,10 @@ CollectTags(StringSet &set, TagType tag_type, const LightSong &song)
assert
(
song
.
tag
!=
nullptr
);
const
Tag
&
tag
=
*
song
.
tag
;
if
(
!
CheckUniqueTag
(
set
,
tag
,
tag_type
))
if
(
!
CheckUniqueTag
(
set
,
tag
,
tag_type
)
&&
(
tag_type
!=
TAG_ALBUM_ARTIST
||
/* fall back to "Artist" if no "AlbumArtist" was found */
!
CheckUniqueTag
(
set
,
tag
,
TAG_ARTIST
)))
set
.
insert
(
""
);
return
true
;
...
...
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