[mythtv] Format of new post-0.25 config.xml

Raymond Wagner raymond at wagnerrp.com
Sat Jun 2 15:28:53 UTC 2012


On 6/2/2012 11:19, Peter Bennett (cats22) wrote:
> On 06/02/2012 11:02 AM, Raymond Wagner wrote:
>> On 6/2/2012 10:44, Peter Bennett (cats22) wrote:
>>> There was an announcement by Daniel on 5/3/2012
>>> "*#10305 heads up, mysql.txt removal + *config*.*xml* changes + UPnP
>>> fixes"
>>> *+ Database settings have their own top-level instead of being under
>>> <MythFrontend><DefaultBackend>.
>>>
>>>
>>> I am working on updating my scripts to use config.xml instead of
>>> mysql.txt. Please can somebody post an example of the new format
>>> config.xml with the new placement of the database settings.
>>
>> If these scripts are Perl or Python, just use the respective bindings.
>> They have both been updated to use the new format.
>
> They are not Perl or Python. They are bash scripts, and I will use
> xmllint to parse the xml.

The only reason to read that file is to access the database, and since 
Bash has no support for MySQL, that means clumsily throwing data at the 
`mysql` command line client.


More information about the mythtv-dev mailing list