Opened 11 years ago

Closed 11 years ago

#8658 closed task (fixed)

Bluray title switching support

Reported by: stuartm Owned by: stuartm
Priority: trivial Milestone: 0.24
Component: MythTV - Blu-ray Playback Version: Master Head
Severity: low Keywords:
Cc: Ticket locked: no


Simple patch which looks more complicated because of the number of wrappers and files it touches. Adds support for switching titles from the OSD menu, it's not enabled by default so you need to do that in the OSD menu editor.

Issues remaining:

  • A number of irrelevant titles are included in the list, Plan to filter out anything with a duration of less than 2 minutes and maybe longer if it proves necessary
  • No key bindings are currently tied to switching, once I decide which action would be most appropriate I'll add that.
  • User friendly names for titles would be fantastic but it's not known if Bluray includes such metadata and it's not currently exposed by libbluray even if it does.
  • Some things like title length aren't properly updated when switching.

Implementation mirrors chapter support. I figure the existing DVD title switching functions can be switched over to the new functions by moving the old logic to MythDVDPlayer. Possibly we can even refactor LiveTV chain and playlist switching to the new common functions which is appealing.

Attachments (3)

BD_title.diff (21.2 KB) - added by stuartm 11 years ago.
BD_title.2.diff (26.1 KB) - added by stuartm 11 years ago.
Updated patch
BD_title.3.diff (22.3 KB) - added by stuartm 11 years ago.
Final? Patch

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by stuartm

Attachment: BD_title.diff added

comment:1 Changed 11 years ago by stuartm

Component: MythTV - DVD PlaybackMythTV - Bluray Playback
Owner: changed from skamithi to robertm

comment:2 Changed 11 years ago by stuartm

Owner: changed from robertm to stuartm
Status: newassigned

Changed 11 years ago by stuartm

Attachment: BD_title.2.diff added

Updated patch

comment:3 Changed 11 years ago by stuartm

New patch fixes the position map update, but I'm not happy with it and will try to find another way to achieve the same result.

comment:4 Changed 11 years ago by stuartm

Updated patch again with a less invasive and tidier solution for the position map and title length reset. Also made the switch smoother by pausing during switching.

We now ignore titles less than 2 minutes long when compiling the list for the OSD, at least for the discs I have these tend to be blank or unplayable video segues, adverts, studio animations and piracy warnings. For 20 titles on a disc we're probably only interested in 2-4 and this makes it easier to find those.

There are changes which though unlikely may affect livetv or playback elsewhere. If no breakages are reported then this is the version of the patch that I'll commit tonight.

Changed 11 years ago by stuartm

Attachment: BD_title.3.diff added

Final? Patch

comment:5 Changed 11 years ago by stuartm

(In [25374]) Add title switching support for Bluray. Titles can be selected from the OSD menu, but this part of the menu isn't enabled by default so this must be done first in the OSD Menu Editor. This is currently the only way to select alternate bluray titles on a disc until menu support is added. Titles under 2 minutes in length are ignored when constructing the list since these aren't usually of interest and they clutter the list making it harder to use. Refs #8658

comment:6 Changed 11 years ago by stuartm

Resolution: fixed
Status: assignedclosed

Appears that Bluray doesn't include user-friendly title names, so closing as fixed.

Note: See TracTickets for help on using tickets.