[mythtv-commits] Ticket #12243: Python Bindings failing with new inetrefid changes

MythTV noreply at mythtv.org
Tue Aug 26 10:45:06 UTC 2014


#12243: Python Bindings failing with new inetrefid changes
----------------------------------+----------------------------
 Reporter:  skd5aner@…            |          Owner:  wagnerrp
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  unknown
Component:  Bindings - Python     |        Version:  0.27-fixes
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by troy@…):

 mythvidexport grabs the inetref from the database and it is now something
 like:  ttvdb.py_12345

 This breaks the python bindings.

 It looks like the problem is here:
 https://github.com/MythTV/mythtv/blob/master/mythtv/bindings/python/MythTV/system.py#L401-L411

 The grabbers are already hard coded into the python bindings:
 https://github.com/MythTV/mythtv/blob/master/mythtv/bindings/python/MythTV/dataheap.py#L1173-L1174

 I added a quick and dirty work around to the mythvideoexport.py script in
 the MythTV Wiki.

 To fix this bug either the VideoGrabber needs to be re-written, which
 would probably break even more things, or a check placed in
 system.py->Grabber.grabInetref() for the new format of inetrefs and strip
 out the leading grabber name.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12243#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list