[mythtvnz] Wellington Channel Retuning 19 June 2012

Nick Rout nick.rout at gmail.com
Sun Jun 17 21:01:46 BST 2012


On Sun, Jun 17, 2012 at 8:00 PM, David Moore <dmoo1790 at ihug.co.nz> wrote:
> On 17/06/2012, at 5:27 PM, Nick Rout <nick.rout at gmail.com> wrote:
>
>> On Sun, Jun 17, 2012 at 3:00 PM, David Moore <dmoo1790 at ihug.co.nz> wrote:
>>> On 17/06/2012, at 2:03 PM, Stephen Worthington <stephen_agent at jsw.gen.nz> wrote:
>>>
>>>> On Sun, 17 Jun 2012 10:13:51 +1200, you wrote:
>>>>
>>>>> I note the dev's were talking about removing mysql.txt, I think in favor
>>>>> of xml. I suppose mysql.xml could be used instead but I couldn't code
>>>>> using that in any great hurry. Perhaps its still easy to use?
>>>>
>>>> That would be painful - I use mysql.txt in several scripts.  I am sure
>>>> it is possible to create a mysql.txt from a mysql.xml, but it would
>>>> probably need Python.  It might be easiest to create a Python script
>>>> that could be called from Bash scripts to do that, then use the newly
>>>> created mysql.txt from the Bash script.
>>>>
>>> If you're going to do some Python for xml parsing then I'm sure it would be dead easy to do the sql in python too. Haven't done it myself but python seems to do just about anything you want.
>>
>> If you are using python then you use the mythtv bindings and you don't
>> need to parse anything to get access to the mythconverg database.
>>
> Yeah you do. You need to parse the python bindings docs. :) I hesitated even before suggesting using python for sql since Stephen's script already works. Seems like even more work to figure out how the bindings work.

Ha ha very funny.



More information about the mythtvnz mailing list