Ticket #6276: 00-6276-mythvideo-dvddevice.patch

File 00-6276-mythvideo-dvddevice.patch, 1.1 KB (added by Matthew Wire <devel@…>, 17 years ago)

Switch mythvideo to use mythmediamonitor by default to detect cd/dvd devices

  • mythplugins/mythvideo/mythvideo/globalsettings.cpp

     
    282282{
    283283    HostLineEdit *gc = new HostLineEdit("VCDDeviceLocation");
    284284    gc->setLabel(QObject::tr("Location of VCD device"));
    285     gc->setValue("/dev/cdrom");
     285    gc->setValue("default");
    286286    gc->setHelpText(QObject::tr("This device must exist, and the user "
    287287                    "running MythDVD needs to have read permission "
    288288                    "on the device."));
     
    293293{
    294294    HostLineEdit *gc = new HostLineEdit("DVDDeviceLocation");
    295295    gc->setLabel(QObject::tr("Location of DVD device"));
    296 #ifdef Q_WS_MACX
    297296    gc->setValue("default");
    298 #elif defined(_WIN32)
    299     gc->setValue("D:\\");
    300 #else
    301     gc->setValue("/dev/dvd");
    302 #endif
    303297    gc->setHelpText(QObject::tr("This device must exist, and the user "
    304298                    "running MythDVD needs to have read permission "
    305299                    "on the device."));