<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 16, 2019 at 1:33 PM Tom Dexter <<a href="mailto:digitalaudiorock@gmail.com">digitalaudiorock@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/16/19, Allen Edwards <<a href="mailto:allen.p.edwards@gmail.com" target="_blank">allen.p.edwards@gmail.com</a>> wrote:<br>
> This may be a dumb question but why can't I edit the XMLTVID, Channum and<br>
> Freqid in MythWeb under Channel Info and have that work? That is pretty<br>
> much all the information needed.<br>
><br>
> Allen<br>
><br>
<br>
What needs to happen is a lot more complex than that, and my script<br>
addresses all of it. But before I get into that, I'm unclear as to why<br>
you'd be doing anything to the xmltvid in the first place. Assuming<br>
that's currently correct for the channel, that has nothing to do with<br>
any of this, as you're only trying the change the frequency of the<br>
existing channel. That aside, here's what you're missing there:<br>
<br>
The freqid is the numeric channel number, and my script does in fact<br>
change that based on the frequency. However I don't think that even<br>
serves much purpose when it comes to tuning the channel. That depends<br>
on two things:<br>
<br>
1. The mplexid on the channel table, which must be assigned to the<br>
mplexid of the appropriate transport in the dtv_mulitplex table for<br>
the new frequency. Also note that you may not even have an entry in<br>
that table for the required frequency and my script can create that as<br>
needed.<br>
<br>
2. The serviceid on the channel table needs to be set to the proper<br>
PID (that PROGRAM number in the hdhomerun_config scan) to cause it to<br>
use the correct program in the above transport. I don't think the<br>
channel editor would let you change that either.<br>
<br>
In fact, what you're describing probably wouldn't affect the channel's<br>
tuning behavior at all.<br>
<br>
So there's a lot involved there, but again, my script does make it pretty easy.<br>
<br>
Tom<br><br></blockquote><div>@Tom<br></div><div><br></div><div>My question was a bit rhetorical. I was not so much saying what fields would need to be changed as saying why can't Myth stations/channels be edited by changing the relevant values in the interface that is already there. We know from comments that when there is a frequency repack that SD gets tons of questions from MythTV users. Other programs must handle a repack in a more straightforward way.</div><div><br></div><div>That said, your script and the example you give in your email look like a great step forward in making this a painless process.  I look forward to trying it out when the time comes.</div><div><br></div><div>As a final check, is there anything about what I am running that might give me trouble in using your script?  Best I can tell from the Ubuntu documentation the perl binding was part of that build. I am, however, not at all sure of that.</div><div><br></div><div>Mythbuntu 14.04.1 LTS and MythTV fixes/0.28 </div><div><br></div><div>Allen <br></div></div></div>