mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 12:43:18 -05:00
Use the 'artist' field for 'album_artist' if there is no album artist set
This commit is contained in:
parent
117ee15e44
commit
e16d8a9747
@ -171,6 +171,10 @@ fixup_tags(struct media_file_info *mfi)
|
||||
mfi->genre = strdup("Unknown genre");
|
||||
if (!mfi->title)
|
||||
mfi->title = strdup(mfi->fname);
|
||||
|
||||
/* If we don't have an album_artist, set it to artist */
|
||||
if (!mfi->album_artist)
|
||||
mfi->album_artist = strdup(mfi->artist);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user