id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked
605,Patch to allow edit of channel xmltvid,emil.gruno@…,xris,"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 @@
+
@@ -46,6 +47,7 @@
?>
"" id=""delete_"" value=""true"">
+
"" id=""channum_"" value="""">
"" id=""channum_"" value="""">
"" id=""callsign_"" value="""">
"" id=""name_"" value="""">
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]) .','
.'videofilters='.escape($_POST['videofilters_'.$chanid]).','
.'brightness='.escape($_POST['brightness_'.$chanid]) .','
.'contrast='.escape($_POST['contrast_'.$chanid]) .','",patch,closed,minor,unknown,mythweb,,low,fixed,,,0