Commit 4fc83654 authored by Alexander Stippich's avatar Alexander Stippich

Fix genre, composer and lyricist during metadata scanning

parent 0ec4f84d
......@@ -145,15 +145,15 @@ void FileScanner::scanProperties(const QString &localFileName, MusicAudioTrack &
trackData.setAlbumArtist(albumArtistString);
}
if (genreString.isEmpty()) {
if (!genreString.isEmpty()) {
trackData.setGenre(genreString);
}
if (composerString.isEmpty()) {
if (!composerString.isEmpty()) {
trackData.setComposer(composerString);
}
if (lyricistString.isEmpty()) {
if (!lyricistString.isEmpty()) {
trackData.setLyricist(lyricistString);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment