From 6469ddf12b89fc530dac760b3e8b57bf5dc09bc1 Mon Sep 17 00:00:00 2001 From: xoza Date: Thu, 12 Oct 2023 11:17:40 +0200 Subject: [PATCH] Skip subsonic multi-genre tags --- src/internet/subsonic/subsonicservice.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/internet/subsonic/subsonicservice.cpp b/src/internet/subsonic/subsonicservice.cpp index a8f517b3c..c8eddabca 100644 --- a/src/internet/subsonic/subsonicservice.cpp +++ b/src/internet/subsonic/subsonicservice.cpp @@ -530,6 +530,11 @@ void SubsonicLibraryScanner::OnGetAlbumFinished(QNetworkReply* reply) { // Read song information while (reader.readNextStartElement()) { + // skip multi-artist and multi-genre tags + if ((reader.name() == "artists") || (reader.name() == "genres")) { + reader.skipCurrentElement(); + continue; + } if (reader.name() != "song") { ParsingError("song tag expected. Aborting scan."); return;