Opened 12 years ago

Closed 10 years ago

#3829 closed enhancement (fixed)

Different OSD formats for livetv, recordings and mythvideo

Reported by: anonymous Owned by: paulh
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

This patch allows different OSD layouts for livetv, recordings and mythvideo. For livetv the existing container name program_info in osd.xml is used. For recordings program_info_recording will be used if it exists otherwise fall back to program_info. For Mythvideo, the container program_info_video is used if it exits. As there is always a fallback to program_info, so full compatibility with existing OSDs is maintained. This patch is a nice complement to #3828 (show year in OSD for mythvideo) and #3493 (show mythvideo coverart in OSD).

For mythvideo, the channelicon and channel area reserved in the OSD appears blank. This patch will allow this area to be used for mythvideo.

Attachments (8)

osd-multiple.diff (2.8 KB) - added by maverik044 12 years ago.
osd.xml (14.7 KB) - added by maverik044 12 years ago.
Sample OSD file showing the two new program info containers
osd-multiple.2.diff (2.9 KB) - added by wstewart@… 11 years ago.
Updated for trunk. Not sure if this will apply to 0.21-fixes.
osd-multiple.3.diff (3.6 KB) - added by wstewart@… 10 years ago.
Updated for SVN 20471
osd-multiple.4.diff (3.6 KB) - added by wstewart@… 10 years ago.
small bug fix
osd-theme.diff (2.5 KB) - added by wstewart@… 10 years ago.
Patches default themes
retro-osd.diff (1.1 KB) - added by wstewart@… 10 years ago.
patch for retro-osd theme
osd_metallurgy.xml (17.3 KB) - added by wstewart@… 10 years ago.
tweaked osd.xml for Stuart's Metallurgy theme

Download all attachments as: .zip

Change History (17)

Changed 12 years ago by maverik044

Attachment: osd-multiple.diff added

comment:1 Changed 12 years ago by Justin Hornsby

It'd be nice to see some xml code to show how the new container works in its proper context - could you possibly provide that?

comment:2 Changed 12 years ago by maverik044

Sure no problem, I'll attach my osd.xml as a sample, its based on the Retro-OSD. You'll see that I make use of my patch to ticket #3493 to show the coverart for mythvideo. Also I have a slightly different OSD for recordings than for livetv.

Basically, copy the container program_info as two new containers named program_info_video and program_info_recording. The format and options for the three containers is identical. You still need to keep program_info as this is still used for livetv and as a fallback in case one of the other two don't exist.

Changed 12 years ago by maverik044

Attachment: osd.xml added

Sample OSD file showing the two new program info containers

comment:3 Changed 12 years ago by Nigel

Owner: changed from Isaac Richards to Nigel
Status: newassigned

I like the idea of this - thanks Mav’ (but then I also wanted to expand the OSDs to include bookmarks, scheduled programme start and end times, et c). Hopefully I will make some time to work on it.

comment:4 Changed 12 years ago by danielk

Milestone: unknown0.22
Version: unknownhead

Changed 11 years ago by wstewart@…

Attachment: osd-multiple.2.diff added

Updated for trunk. Not sure if this will apply to 0.21-fixes.

comment:5 Changed 11 years ago by wstewart@…

Updated patch for trunk

Changed 10 years ago by wstewart@…

Attachment: osd-multiple.3.diff added

Updated for SVN 20471

comment:6 Changed 10 years ago by wstewart@…

Updated patch for SVN 20471

comment:7 Changed 10 years ago by Nigel

Owner: changed from Nigel to paulh

Changed 10 years ago by wstewart@…

Attachment: osd-multiple.4.diff added

small bug fix

Changed 10 years ago by wstewart@…

Attachment: osd-theme.diff added

Patches default themes

Changed 10 years ago by wstewart@…

Attachment: retro-osd.diff added

patch for retro-osd theme

Changed 10 years ago by wstewart@…

Attachment: osd_metallurgy.xml added

tweaked osd.xml for Stuart's Metallurgy theme

comment:8 Changed 10 years ago by wstewart@…

updated as requested for mod themes. osd-theme.diff mods the main themes defaultosd and blueosd. Note that these aren't well suited for this, in defaultosd there's no place to put the coverart and no room in either theme to show the movie length/duration. Also attached a mod for the retro OSD theme. Also my tweaked version of osd.xml for Stuart's excellent metallurgy OSD theme.

The Retro and metallurgy OSD themes are best suited for this patch.

comment:9 Changed 10 years ago by paulh

Resolution: fixed
Status: assignedclosed

(In [20934]) Allow for different OSD formats for livetv, recordings and mythvideo. Patch from wstewart aka maverik044. Closes #3829.

Note: See TracTickets for help on using tickets.