From 038d65616b97b626d362e6ac8f28b8b227108616 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 22 Nov 2020 13:12:24 +0000 Subject: converter: fixed cue tracks support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9563 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/converter/converterdialog.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/plugins/General/converter/converterdialog.cpp b/src/plugins/General/converter/converterdialog.cpp index 1b14dce7b..28c88e95d 100644 --- a/src/plugins/General/converter/converterdialog.cpp +++ b/src/plugins/General/converter/converterdialog.cpp @@ -47,13 +47,18 @@ ConverterDialog::ConverterDialog(const QList &tracks, QWidget for(const PlayListTrack *track : qAsConst(tracks)) { //skip streams - if(track->duration() == 0 || track->path().contains("://")) + if(track->duration() == 0 && track->path().contains("://")) continue; //skip duplicates if(paths.contains(track->path())) continue; //skip unsupported files - if(!MetaDataManager::instance()->supports(track->path())) + if(track->path().contains("://")) + { + if(!Decoder::findByProtocol(track->path().section("://",0,0))) + continue; + } + else if(!MetaDataManager::instance()->supports(track->path())) continue; paths.append(track->path()); -- cgit v1.2.3-13-gbd6f