[mythtv-commits] Ticket #10370: DVD playback fail with default settings on MacOS X

MythTV noreply at mythtv.org
Wed Feb 22 12:52:46 UTC 2012


#10370: DVD playback fail with default settings on MacOS X
--------------------------------------+-------------------------
     Reporter:  jyavenard             |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  0.25
    Component:  MythTV - General      |    Version:  Unspecified
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+-------------------------
 Using MacOS 10.7 (or 10.6)

 MythFrontend will fail to play any DVD

 When selecting the play DVD option in the Optical Menu ; in the log you
 get:
 {{{
 libdvdread: Using libdvdcss version 1.2.9 for DVD access
 libdvdread: Can't stat /dev/r/dev/disk1
 No such file or directory
 libdvdread: Could not open /dev/r/dev/disk1
 libdvdnav: vm: failed to open/read the DVD
 2012-02-22 21:33:51.365260 I  MediaMonitor::selectDrivePopup(Select a DVD
 drive) - No suitable devices
 2012-02-22 21:33:51.366886 I  DVDInfo: Trying dvd://dev/r/dev/disk1
 2012-02-22 21:33:51.369193 E  DVDInfo: Failed to open device at
 /dev/r/dev/disk1
 2012-02-22 21:33:51.369200 I  DVDInfo: Finishing.
 }}}

 programs/mythfrontend/main.cpp automatically prefix the device name with
 /dev/r

 Yet, the default device name it isn't defined by the user is /dev/disk1
 (defined in libs/libmyth/mediamonitor_darwin.h

 The documentation in the settings statea:
 "This device must exist, and the user playing the DVD needs to have read
 permission on the device. 'default' will let the MediaMonitor choose a
 device"

 using "default" does nothing, it uses /dev/disk1 unless defined in the
 settings, and default is /dev/disk1 which myth try to play as
 /dev/r/dev/disk1 which will *always* be an invalid device

 The log also shows:
 MediaMonitor::selectDrivePopup(Select a DVD drive) - No suitable devices

 No such popup ever appears...

 MythFrontend should either automatically determine what the right DVD
 device is, not prepend /dev/r to any path name or properly display the
 selectDrivePopup

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10370>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list