Opened 15 years ago

Closed 15 years ago

#731 closed enhancement (invalid)

Unify playback and livetv infoOSD, add small and large proginfo OSDs

Reported by: bmayland@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no


This patch modifies playback in mythtv tv_play such that WatchingLiveTV, WatchingRecording?, and WatchingPreRecorded? all call the same method to toggle the OSD. In addition it adds support for multiple program_info OSDs. The pseudocode for which is displayed looks something like this:

On INFO command
  If nothing displaying
    If has smallinfo
      display smallinfo
      display longinfo
  Else If smallinfo displaying
    If has longinfo
      display longinfo
  Else If longinfo displaying

  If nothing displaying
    display status
  If status displaying
    Use WatchingLiveTV logic

It also adds some utility functions OSD::IsSetDisplaying?() and OSD::HasSet?().
Side effects:
TV::ToggleOSD now takes param (bool includeStatusOSD)
renames TV::UpdateOSD to TV::UpdateOSDProgInfo
removes TV::DoInfo? (replaced with ToggleOSD)

Attachments (1)

unified-multiple-proginfoosd.diff (7.7 KB) - added by bmayland@… 15 years ago.
Patch agains svn r8080

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by bmayland@…

Patch agains svn r8080

comment:1 Changed 15 years ago by Oscar Carlsson

Would make sense to have the large OSD scale vertically to be able to show as much as possible of the description, of course stopping if it runs out of space.

comment:2 Changed 15 years ago by bmayland@…

You'd think so, but the problem comes when you're trying to automatically figure out how to stretch what part of your background image.
Maybe if the osd designer was required to break up the image into scalable and non scalable portions, it would be possible.

comment:3 Changed 15 years ago by anonymous

Is the max length the description can be reasonable? Could the OSD that contains the description be sized for that max length always like how TiVo? does it?

comment:4 Changed 15 years ago by Oscar Carlsson

Yeah of course the OSD would need to be splitted into maybe three parts: Top, Middle (which is repeated, not scaled) and Bottom.

comment:5 Changed 15 years ago by bjm <bjm@…>

Resolution: invalid
Status: newclosed

"Discuss" ideas on the mailing lists. Do not use the bug database as a message board.

Note: See TracTickets for help on using tickets.