Fix reading in of artist! Was taking last song type, and creatnig 2 Various artists!!!
This commit is contained in:
@@ -375,7 +375,8 @@ quint32 MusicLibraryItemRoot::fromXML(const QString &filename, const QString &pa
|
||||
}
|
||||
|
||||
if (QLatin1String("Artist")==element) {
|
||||
song.albumartist=attributes.value("name").toString();
|
||||
song.type=Song::Standard;
|
||||
song.artist=song.albumartist=attributes.value("name").toString();
|
||||
artistItem = createArtist(song);
|
||||
}
|
||||
else if (QLatin1String("Album")==element) {
|
||||
|
||||
Reference in New Issue
Block a user