Opened 16 years ago

Closed 16 years ago

#605 closed patch (fixed)

Patch to allow edit of channel xmltvid

Reported by: emil.gruno@… Owned by: xris
Priority: minor Milestone: unknown
Component: mythweb Version:
Severity: low Keywords:
Cc: Ticket locked: no


This is a patch that allows you to edit the xmltvid of a channel via mythweb. Why not share? =)

  • Emil

Index: mythweb/themes/Default/settings_channels.php =================================================================== --- mythweb/themes/Default/settings_channels.php (revision 7777) +++ mythweb/themes/Default/settings_channels.php (working copy) @@ -27,6 +27,7 @@

<tr class="menu" align="center">

<td width="4%"><?php echo t('delete') ?></td> <td width="4%"><?php echo t('sourceid') ?></td>

+ <td width="5%"><?php echo t('xmltvid') ?></td>

<td width="5%"><?php echo t('channum') ?></td> <td width="12%"><?php echo t('callsign') ?></td> <td width="25%"><?php echo t('name') ?></td>

@@ -46,6 +47,7 @@

?><tr class="settings" align="center">

<td><input type="checkbox" name="delete_<?php echo $channelchanid? ?>" id="delete_<?php echo $channelchanid? ?>" value="true"></td> <td><?php echo htmlentities($channelsourceid?) ?></td>

+ <td><input type="text" size="10" name="xmltvid_<?php echo $channelchanid? ?>" id="channum_<?php echo $channelchanid? ?>" value="<?php echo htmlentities($channelxmltvid?) ?>"></td>

<td><input type="text" size="3" name="channum_<?php echo $channelchanid? ?>" id="channum_<?php echo $channelchanid? ?>" value="<?php echo htmlentities($channelchannum?) ?>"></td> <td><input type="text" size="15" name="callsign_<?php echo $channelchanid? ?>" id="callsign_<?php echo $channelchanid? ?>" value="<?php echo htmlentities($channelcallsign?) ?>"></td> <td><input type="text" size="27" name="name_<?php echo $channelchanid? ?>" id="name_<?php echo $channelchanid? ?>" value="<?php echo htmlentities($channelname?, ENT_COMPAT, 'UTF-8') ?>"></td>

Index: mythweb/settings_channels.php =================================================================== --- mythweb/settings_channels.php (revision 7777) +++ mythweb/settings_channels.php (working copy) @@ -26,6 +26,7 @@

Not deleting so grab values that can be empty

$query = 'UPDATE channel SET freqid='.escape($_POST['freqid_'.$chanid]) .','

.'finetune='.escape($_POST['finetune_'.$chanid]) .','

+ .'xmltvid='.escape($_POST['xmltvid_'.$chanid]) .','


.'brightness='.escape($_POST['brightness_'.$chanid]) .','

.'contrast='.escape($_POST['contrast_'.$chanid]) .','

Attachments (1)

xmltvid_diff.rar (50.6 KB) - added by emil.gruno+myth-commit@… 16 years ago.
Translation fix for xmltvid edit enhancement,

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by emil.gruno+myth-commit@…

Attachment: xmltvid_diff.rar added

Translation fix for xmltvid edit enhancement,

comment:1 Changed 16 years ago by anonymous

Priority: minormajor

Hi, is there any chance of updating this patch (or a related one) for the latest svn? (and attaching a patch.gz instead of pasting/odd rar, 8-))

I had a patch that added xmltvid (as well as mplex, etc) but this has been broken by latest mythweb patch which adds "use on air guide".

With the dvb-eit and channel scanning code frequently editing my channel list it's really frustrating that editing xmltvid isn't by default in the mythweb channel editor, using mythtv-setup to edit this is very tedious!


comment:2 Changed 16 years ago by anonymous

Priority: majorminor

comment:3 Changed 16 years ago by xris

Resolution: fixed
Status: newclosed

(In [8441]) add xmltvid field, closes #605

Note: See TracTickets for help on using tickets.