[mythtv-users] About Python & Perl bindings

Raymond Wagner raymond at wagnerrp.com
Thu Dec 15 19:49:09 UTC 2011


On 12/15/2011 14:39, Kirk Bocek wrote:
>
> On 12/15/2011 11:33 AM, Raymond Wagner wrote:
>> On 12/15/2011 14:30, Kirk Bocek wrote:
>>> On 12/15/2011 11:15 AM, Kirk Bocek wrote:
>>>> On 12/15/2011 11:04 AM, Michael T. Dean wrote:
>>>>
>>>>> a) give up on using the ancient, extremely-low-level,
>>>>> requires-updating-scripts-using-them-after-MythTV-updates (even just
>>>>> revision updates) Perl bindings and use the Python bindings
>>>>> This isn't a dig toward the Perl bindings--they were just
>>>>> never finished
>>>> Really? Now just fess up to your true Python feelings and admit that you
>>>> want to see all the Perl heretics burned at the stake. :)
>>> Going back a couple of months, I see that it was Raymond Wagner and Eric
>>> Sharkey who prompted me to use the Perl bindings when I posted a Perl
>>> script here.
>>>
>>> If they're on-line, I'd like to see them step up to the plate here and
>>> engage Mike regarding the current status of the Perl bindings.
>> Engage how?
> Unless I misread Mike's posting, he seem to feel very insecure using the
> Perl bindings. I understood him to say there is very little
> documentation because they are incomplete. You, on the other hand, said
> I should be using them in my Perl scripts. Is Mike right? He feels they
> get rewritten all the time.

Looking back through my logs, I'm finding the tool you wrote for sharing 
the virtual channel tables between your Prime and standard HDHomeRuns.  
You used the DBI module directly, and manually defined the database 
access credentials in the script itself.  I suggested the Perl bindings 
just so that would be chosen automatically, either through parsing of 
the config.xml, or UPnP auto-discovery.

For what it's worth, in that specific case, neither the Perl nor the 
Python bindings would provide much help.  Direct manipulation of the 
channel tables is not something commonly done, so there are no helper 
utilities or classes in either to make it easier to do so.


More information about the mythtv-users mailing list