Fix CUE listing

This commit is contained in:
Craig Drummond
2015-10-25 12:46:20 +00:00
committed by Craig Drummond
parent b689a8511c
commit 8aa0b89fcd

View File

@@ -596,8 +596,25 @@ void MPDParseUtils::parseDirItems(const QByteArray &data, const QString &mpdDir,
continue;
}
if (Cue_Parse!=cueSupport) {
switch (cueSupport) {
case Cue_Ignore:
continue;
break;
case Cue_Parse:
if (Loc_Browse==loc) {
songs.append(currentSong);
}
if (Loc_Library!=loc) {
continue;
}
break;
case Cue_ListButDontParse:
if (Loc_Browse==loc) {
songs.append(currentSong);
}
default:
continue;
break;
}
// No source files for CUE file..