[mythtv-users] channels.conf

Hika van den Hoven hikavdh at gmail.com
Mon Apr 2 11:42:06 UTC 2018


Hoi Simon,

Monday, April 2, 2018, 1:13:43 PM, you wrote:

> Ian Campbell <ijc at hellion.org.uk> wrote:

>> On Sun, 2018-04-01 at 20:07 +0200, Klaus Becker wrote:
>> There are bindings for the channels table in the Python, Perl and php
>> bindings ...
>> 
>> ... to my shame my own fixup/cleanup script is still written in SQL which runs directly against the DB, which is rather risky ...

> What is the difference between directly manipulating the database
> via Python, Perl, or php - and directly manipulating the database
> via SQL ? Both have scope for "messing things up" by directly
> manipulating the data without the safety net of going through MythTV
> which "should" enforce data consistency etc.

The language does not matter, but going through the API includes all
kind of verifications, which is absent on using strait SQL.


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list