Ticket #2156: updated2.patch
File updated2.patch, 1006 bytes (added by , 19 years ago) |
---|
-
programs/mythfrontend/main.cpp
564 564 565 565 QString filename = QString(mrl); 566 566 QFile checkFile(filename); 567 if (!checkFile.exists() && !filename.contains("dvd "))567 if (!checkFile.exists() && !filename.contains("dvd://")) 568 568 { 569 569 QString errorText = QObject::tr("Failed to open \n '%1' in %2 \n" 570 570 "Check if the video exists") … … 594 594 pginfo->isVideo = true; 595 595 pginfo->pathname = mrl; 596 596 597 if (pginfo->pathname.find(".iso", 0, false) != -1) 597 QFileInfo videoTs(filename + "/VIDEO_TS"); 598 if ((pginfo->pathname.find(".iso", 0, false) != -1) || 599 (pginfo->pathname.find(".img", 0, false) != -1) || 600 (videoTs.exists() && videoTs.isDir())) 598 601 { 599 602 pginfo->pathname = QString("dvd:%1").arg(mrl); 600 603 }