mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
Reset album_artist after iTunes scan if set to Unknown artist.
This commit is contained in:
parent
c92c8aae25
commit
da0d118de4
@ -427,6 +427,15 @@ process_track_file(plist_t trk, char *base)
|
||||
}
|
||||
}
|
||||
|
||||
/* Don't let album_artist set to "Unknown artist" if we've
|
||||
* filled artist from the iTunes data in the meantime
|
||||
*/
|
||||
if (strcmp(mfi->album_artist, "Unknown artist") == 0)
|
||||
{
|
||||
free(mfi->album_artist);
|
||||
mfi->album_artist = strdup(mfi->artist);
|
||||
}
|
||||
|
||||
unicode_fixup_mfi(mfi);
|
||||
db_file_update(mfi);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user