Opened 15 years ago

Closed 15 years ago

#741 closed defect (fixed)

Patch for naming videosources...

Reported by: jochen Owned by: bjm
Priority: minor Milestone: 0.19
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no


This is a patch so that the videosources could be named in the mythtvsetup, and so the name is display on a source change.

Attachments (1)

patch.txt (2.4 KB) - added by jochen 15 years ago.
patch, Version 1

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by jochen

Attachment: patch.txt added

patch, Version 1

comment:1 Changed 15 years ago by paulh

Resolution: fixed
Status: newclosed

(In [8113]) Close #741 by applying a slightly modified patch by jochen. Allows you to give videosources a friendly display name which is shown on a source change in live TV eg. by pressing Y or C.

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

Milestone: 0.19
Resolution: fixed
Status: closedreopened
Type: enhancementdefect

This isn't going to work. Currently the dispaly shows cardid:inputname . The ticket refers to "videosources" tho that's not what's in in the patch.

mysql> select cardinputid, cardid, inputname, from
cardinput join videosource on cardinput.sourceid = videosource.sourceid where cardid=2 or cardid=3 order by cardid;
| cardinputid | cardid | inputname  | name         |
|           2 |      2 | Television | CoxCableDD   |
|           7 |      2 | Composite1 | VCR          |
|           5 |      3 | S-Video 0  | CoxDigitalDD |
|           6 |      3 | Tuner 0    | CoxCableDD   |
4 rows in set (0.00 sec)

A capturecard.displayname wouldn't distinguish card 2s "Television" or "Composite1" input nor 3s "S-Video 0" or "Tuner 0" and none of it defines if the source is "CoxCableDD", "CoxDigitalDD" or "VCR".

I could see using ca name for the card in place of the number but it still has to say which input on the card. I could see using the in place of the inputname but there have to be two pieces of information on the display; one to which card is active and one to say which set of channels to expect.

Or, at the very least, put displayname in the card input table so the user could name individual inputs.

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

Owner: changed from Isaac Richards to paulh
Status: reopenednew

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

Owner: changed from paulh to bjm

comment:5 Changed 15 years ago by bjm

Resolution: fixed
Status: newclosed

(In [8114]) Close #741

Move the displayname field from capturecard to cardinput so that each individual input can be given a user defined string. The display name can be set in mythtv-setup "Input connections" for each input. If this is not set for an input, the default <card>: <inputname> will still be used.

Note: See TracTickets for help on using tickets.