[mythtv-commits] Ticket #10340: Play Optical Disc entry has no effect

MythTV noreply at mythtv.org
Mon Feb 20 15:15:35 UTC 2012


#10340: Play Optical Disc entry has no effect
----------------------------------+-----------------------------
 Reporter:  jyavenard             |          Owner:  jyavenard
     Type:  Bug Report - General  |         Status:  assigned
 Priority:  major                 |      Milestone:  unknown
Component:  MythTV - General      |        Version:  Master Head
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------
Changes (by jyavenard):

 * owner:   => jyavenard
 * priority:  minor => major
 * status:  new => assigned


Comment:

 Here is an attempt at properly fixing this one.
 1- The simplest solution is to remove the / at the end of the URL.
 However this is only a workaround, if the path defined in the video
 settings contains a / it will not work.
 The issue lie quite deep in ProgramInfo::GetPlaybackURL() and
 GetBasename(). if the path contains a trailing '/' then it ends up trying
 to play an empty filename.

 2-the BD player only works if you provide the actual path where the disk
 is physically mounted. Symbolic link to it do not work. This patch attempt
 to determine the real path before trying to play the BD disk

 3- Allow launching the BD playback to an external player, sharing the same
 settings as DVD playback. The %d argument is replaced by
 bd:///path/to/mount (note use of a standard URI schema: name:// ; with
 patch # 2 extra path at the top are ignored anyway.

 To come: fix the trailing / issue. This has unexpected consequences and is
 rather large.

 Ultimately, transform the URI to use standard scheme, rather than just
 dvd: or dvd:/

 # 1 and # 2 are in queue for 0.25 freeze.

 # 3 and other later

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10340#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list