<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Nov 1, 2014 at 3:41 AM, Mike Bibbings <span dir="ltr"><<a href="mailto:mike.bibbings@gmail.com" target="_blank">mike.bibbings@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
I think the general approach would be to use Mythtv Services API.<br>
See <a href="https://www.mythtv.org/wiki/Services_API" target="_blank">https://www.mythtv.org/wiki/Services_API</a><br>
<br>
In particular, to change the visible flag you could use Channel/UpdateDBChannel
API<br>
Note that the documentation on these API is sparse in some cases.</div></blockquote><div><br></div><div>I did find those last night and started looking into it. I can use perl to grab the channel info:</div><div><br></div><div>use LWP::Simple;</div><div>use XML::Simple;</div><div>use Data::Dumper;</div><div><br></div><div>my $parser = new XML::Simple;</div><div>my $url = "<a href="http://192.168.1.26:6544/Channel/">http://192.168.1.26:6544/Channel/</a>"</div><div> . "GetChannelInfoList?SourceID=5&StartIndex=1&Count=1";</div><div>my $content = get $url;</div><div>my $data = $parser->XMLin($content);</div><div>print Dumper($data);</div><div><br></div><div>But I haven't found any examples how to update with UpdateDBChannel. Maybe this is obvious to someone used to using services like this? I'll probably eventually figure it out but any help would be appreciated. </div></div><br></div></div>