Opened 17 years ago

Closed 14 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

Description

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">
      <filename>osd-big.png</filename>
      <position>15,250</position>
    </image>
    <textarea name="tvstate">
        <area>480,230,200,200</area>
        <font>largeinfofont</font>
        <value>%TVSTATE%</value>
    </textarea>

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

Changed 17 years ago by skamithi

Attachment: tv_type.diff added

comment:1 Changed 16 years ago by danielk

Version: unknownhead

comment:2 Changed 15 years ago by Dibblah

Status: newassigned

comment:3 Changed 14 years ago by stuartm

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

comment:4 Changed 14 years ago by stuartm

Milestone: 0.230.24

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

comment:5 Changed 14 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 14 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.