Ticket #2156: updated.patch
File updated.patch, 945 bytes (added by , 18 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 (videoTs.exists() && videoTs.isDir())) 598 600 { 599 601 pginfo->pathname = QString("dvd:%1").arg(mrl); 600 602 }