[mythtv-users] Error parsing config.xml?

John Pilkington J.Pilk at tesco.net
Fri May 11 19:18:14 UTC 2012


On 11/05/12 19:10, Bill Meek wrote:
> On 05/11/2012 11:57 AM, Michael T. Dean wrote:
> ...
>> Probably best would be to use a language designed for parsing text,...
>
> As an example (of using a tank to kill a mosquito)
> http://pastebin.ca/2147582 is
> what I wrote. Save it as xml2src. Replace . ~mythtv/.mythtv/mysql.txt with:
>
> for V in $(xml2src); do export $V; done
>
> Truth be told, I'm finding that I don't use most of my old SQL scripts and
> using python bindings and Services API are of more interest.
>
> But, this gives me time to learn then convert anything I actually use.
>
> Cue the part where someone who knows what they're doing writes the
> whole thing in one line.
>
Thanks, Bill - and Mike and Raymond.  I take the point about using the 
bindings, but the advice is along the lines of 'Can you please tell me 
the way to XXX?  Ooh, I wouldn't start from here' :-)

Cheers,

John P





More information about the mythtv-users mailing list