Opened 14 years ago

Closed 4 years ago

Last modified 4 years ago

#8045 closed Bug Report - General (Invalid)

Video Menu not displaying on dvd being inserted

Reported by: John Harvey <john.p.harvey@…> Owned by: Jim Stichnoth
Priority: minor Milestone: unknown
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I've been chasing down a problem where when mythtv is set to switch to dvd menu when a dvd is inserted it end up displaying the main menu instead (or sometimes nothing) The cause of the problem is that the mediahandler notification sends a message "ExitToMainMenu?" and then calls the media handlers. The mythvideo media handler executes and displays the video menu. Eventually the system handles the ExitToMainMenu? message which then causes mythtv to exit the new video menu and return to the main menu.

If you are using the OpenGL painter & were already on the main menu because this occurs while the original main menu is fading it ends up with the main menu not being drawn.

There are a couple of ways i can think of fixing it.

1) Delay the media callbacks until the main menu is displayed. 2) Implement and AddStack? that sends an event and so the AddStack? for the new menu gets done after the ExitToMainMenu? 3) Somehow make the system ignore the 1st exit when it is done on the menu after being launched in this way.

I am investigating fixes and will attempt to produce a patch for this.

I suspect 1) is the most general but could have more impact 2) Is probably easier and would just affect mythvideo 3) I really don't like this.

Attachments (1)

videomenu_display_patch (2.2 KB) - added by John Harvey <john.p.harvey@…> 14 years ago.

Download all attachments as: .zip

Change History (11)

Changed 14 years ago by John Harvey <john.p.harvey@…>

Attachment: videomenu_display_patch added

comment:1 Changed 14 years ago by John Harvey <john.p.harvey@…>

Attached is a patch that implements the 1st option. It uses some code that was in the ExitToMenu? implementation but appeared to be unused, so it now calls the mediahandler callback after getting back to the main menu. I had to change the implementation in ExitToMainMenu? since the 2nd callback was only called if the 1st callback didnt exist but since the 1st one always does exist i have removed the else so the mediahandler callback always gets called.

comment:2 Changed 14 years ago by robertm

Component: Plugin - MythVideoMythTV - General
Owner: changed from Anduin Withers to Isaac Richards

Not MythVideo? code.

comment:3 Changed 14 years ago by robertm

Owner: changed from Isaac Richards to Nigel
Status: newassigned

comment:4 Changed 12 years ago by stuartm

Owner: changed from Nigel to Jim Stichnoth
Type: defectBug Report - General

Jim is looking at Jumppoint related bugs atm, he can decide if this gets fixed for 0.25

comment:5 Changed 12 years ago by Jim Stichnoth

Milestone: unknown0.26
Status: assignedaccepted

I'm not comfortable making changes this far into the 0.25 release. Let's get it right for 0.26.

comment:6 Changed 12 years ago by Jim Stichnoth

Milestone: 0.26unknown

See #10407.

comment:7 Changed 9 years ago by Stuart Auchterlonie

Version: unknownUnspecified

comment:8 Changed 4 years ago by Stuart Auchterlonie

Milestone: unknownneeds_triage

comment:9 Changed 4 years ago by Stuart Auchterlonie

Resolution: Invalid
Status: acceptedclosed

I'm going to close this out, as

1) it's very very old 2) it requires a working mediamonitor, which is currently non functional on most current distros

comment:10 Changed 4 years ago by Stuart Auchterlonie

Milestone: needs_triageunknown
Note: See TracTickets for help on using tickets.