<div dir="ltr">Over the years I&#39;ve developed the bad habit of changing things in the database directly or using scripts to do it.  After the recent discussion about using an embedded database I decided to try to get rid of these scripts and refrain from editing the database.<div><br></div><div>So far I&#39;ve replaced a recording_started bash script with a perl script using the bindings.  That went pretty well but I was only accessing data and not updating anything.  </div><div><br></div><div>Next problem: I have channels that I need to toggle the visibility of at certain times of the year.  These are channels that show hockey part of the year and baseball other part.  Assuming I only subscribe to one and not the other I need them to go away for awhile.</div><div><br></div><div>I assume this can be done manually with the channel editor but I don&#39;t normally have a keyboard attached and rather do it with a script.  Looks like I can do it with mythweb too.  A nice script I can run a few times a year would be easier to me.</div><div><br></div><div>Anyone have a script to do this that doesn&#39;t modify the database directly?  Or can someone point me to an existing script that can change the attributes of a channel?  Or some info on how to do this in general?</div></div>