Skip to content

Commit

Permalink
Merge pull request mixxxdj#11503 from fwcd/fix-itunes-xml-system-play…
Browse files Browse the repository at this point in the history
…list-parse

iTunes: Properly parse boolean for system playlists
  • Loading branch information
daschuer authored Apr 24, 2023
2 parents 5645899 + ee00d76 commit bddb8e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/library/itunes/itunesxmlimporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,10 @@ void ITunesXMLImporter::parsePlaylist(QSqlQuery& queryInsertToPlaylists,
// Hide playlists that are system playlists
if (key == "Master" || key == "Movies" || key == "TV Shows" ||
key == "Music" || key == "Books" || key == "Purchased") {
isSystemPlaylist = true;
readNextStartElement();
if (m_xml.name() == QString("true")) {
isSystemPlaylist = true;
}
continue;
}

Expand Down

0 comments on commit bddb8e0

Please sign in to comment.