Opened 14 years ago

Closed 11 years ago

#3632 closed enhancement (fixed)

enhancement: print tv state when displaying program info on the osd.

Reported by: skamithi Owned by: markk
Priority: minor Milestone: 0.24
Component: MythTV - User Interface Library Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


let's you know whether you are watching live tv, recording, prerecorded , video or dvd when you select osd info button.

made the following change to titivillus osd.xml file to make it show up.

<container name="program_info" fademovement="0,-6">
    <image name="background">
    <textarea name="tvstate">

Attachments (1)

tv_type.diff (5.2 KB) - added by skamithi 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by skamithi

Attachment: tv_type.diff added

comment:1 Changed 14 years ago by danielk

Version: unknownhead

comment:2 Changed 13 years ago by Dibblah

Status: newassigned

comment:3 Changed 12 years ago by stuartm

Component: mythtvMythTV - User Interface Library
Milestone: unknown0.23
Owner: changed from skamithi to stuartm

comment:4 Changed 12 years ago by stuartm

Milestone: 0.230.24

Pushing this back since the mythui OSD won't make 0.23.

comment:5 Changed 12 years ago by robertm

Owner: changed from stuartm to markk

Stanley and Mark-- Applying this currently seems ill advised in light of the new libmythui-osd approach. Mark, I'm assigning to you simply because I'd like you to make the call, but if you want it done, assign back to me and I'll get it done.

comment:6 Changed 11 years ago by markk

Resolution: fixed
Status: assignedclosed

(In [25705]) Pass a 'tvstate' string to the OSD.

Refactor StateToString? to provide only debug versions of the state strings, which don't require 'brief' versions or translations and a missing BD string. Add a new StateToPublicString? version to provide translatable strings that can be safely printed by the UI. Add the tv state string the to program information map passed to the OSD.

I've not added this to any themes - clearly it's up to themers to use at their discretion.

Closes #3632

Note: See TracTickets for help on using tickets.