diff options
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/General/converter/converterdialog.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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 <PlayListTrack *> &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()); |
