Use the 'artist' field for 'album_artist' if there is no album artist set

This commit is contained in:
Ace Jones 2010-01-04 17:56:20 +01:00 committed by Julien BLACHE
parent 117ee15e44
commit e16d8a9747

View File

@ -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);
}