Ticket #2406: mythdvd.2.diff
File mythdvd.2.diff, 1.2 KB (added by , 18 years ago) |
---|
-
main.cpp
27 27 #include <mythtv/lcddevice.h> 28 28 #include <mythtv/libmythui/myththemedmenu.h> 29 29 30 #ifdef Q_WS_MACX 31 #include "MacOSXDVDPlayer.h" 32 #endif // Q_WS_MACX 33 30 34 #include "settings.h" 31 35 #include "dvdripbox.h" 32 36 #include "dbcheck.h" … … 128 132 gContext->removeCurrentLocation(); 129 133 return; 130 134 } 135 #ifdef Q_WS_MACX 136 else if ( (command_string.find("dvdplaybackframework", 0, false) > -1)) 137 { 138 QString filename = QString("dvd:/%1" ).arg(gContext->GetSetting("DVDDeviceLocation")); 139 MacOSXDVDPlayer::PlayDVD(filename); 140 gContext->removeCurrentLocation(); 141 return; 142 } 143 #endif // Q_WS_MACX 131 144 else 132 145 { 133 146 if(command_string.contains("%d")) -
mythdvd.pro
23 23 24 24 macx { 25 25 QMAKE_LFLAGS += -flat_namespace -undefined suppress 26 SOURCES += MacOSXDVDPlayer.cpp 27 HEADERS += MacOSXDVDPlayer.h 28 LIBS += -framework DVDPlayback -framework DiskArbitration 26 29 }