[mythtv-commits] Ticket #11619: MythDB.seachRecorded: wrong join recorded->recordedprogram

MythTV noreply at mythtv.org
Mon Jun 24 14:45:54 UTC 2013


#11619: MythDB.seachRecorded: wrong join recorded->recordedprogram
----------------------+-----------------------------------
 Reporter:  mythtv@…  |           Type:  Patch - Bug Fix
   Status:  new       |       Priority:  minor
Milestone:  unknown   |      Component:  Bindings - Python
  Version:            |       Severity:  medium
 Keywords:            |  Ticket locked:  0
----------------------+-----------------------------------
 recordedprogram.starttime must join to recorded.progstart

 {{{
 diff --git a/mythtv/bindings/python/MythTV/methodheap.py
 b/mythtv/bindings/python/MythTV/methodheap.py
 index 328424c..d598b2f 100644
 --- a/mythtv/bindings/python/MythTV/methodheap.py
 +++ b/mythtv/bindings/python/MythTV/methodheap.py
 @@ -652,7 +652,8 @@
              init.require = ('livetv',)
              init.joins = (init.Join(table='recordedprogram',
                                      tableto='recorded',
 -                                    fields=('chanid','starttime')),
 +                                    fieldsfrom=('chanid','starttime'),
 +                                    fieldsto=('chanid','progstart')),
                            init.Join(table='recordedcredits',
                                      tableto='recorded',
                                      fieldsfrom=('chanid','starttime'),

 }}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11619>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list