Skip subsonic multi-genre tags
This commit is contained in:
parent
7b678f26e0
commit
4768cb9efb
|
@ -530,6 +530,11 @@ void SubsonicLibraryScanner::OnGetAlbumFinished(QNetworkReply* reply) {
|
||||||
|
|
||||||
// Read song information
|
// Read song information
|
||||||
while (reader.readNextStartElement()) {
|
while (reader.readNextStartElement()) {
|
||||||
|
// skip multi-artist and multi-genre tags
|
||||||
|
if ((reader.name() == "artists") || (reader.name() == "genres")) {
|
||||||
|
reader.skipCurrentElement();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (reader.name() != "song") {
|
if (reader.name() != "song") {
|
||||||
ParsingError("song tag expected. Aborting scan.");
|
ParsingError("song tag expected. Aborting scan.");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue