Ticket #12260: 0001-Fix-python-bindings-for-Recorded-Seek-Mark.patch

File 0001-Fix-python-bindings-for-Recorded-Seek-Mark.patch, 1.1 KB (added by angela.schmid@…, 11 years ago)
  • mythtv/bindings/python/MythTV/dataheap.py

    From 80387dd6f023adb28cbe3a913baffa2d964bf95d Mon Sep 17 00:00:00 2001
    From: angelaschmid <angela.schmid@wolke7.net>
    Date: Sun, 7 Feb 2016 00:32:56 +0100
    Subject: [PATCH] Fix python bindings for Recorded/Seek/Mark
    
    ---
     mythtv/bindings/python/MythTV/dataheap.py | 5 +++--
     1 file changed, 3 insertions(+), 2 deletions(-)
    
    diff --git a/mythtv/bindings/python/MythTV/dataheap.py b/mythtv/bindings/python/MythTV/dataheap.py
    index c0f1338..3506878 100644
    a b class Recorded( CMPRecord, DBDataWrite ):  
    331331        DBDataWrite.__init__(self, data, db)
    332332
    333333    def _postinit(self):
    334         self.seek = self._Seek(self._wheredat, self._db)
    335         self.markup = self._Markup(self._wheredat, self._db)
     334        wheredat = (self.chanid, self.starttime)
     335        self.seek = self._Seek(wheredat, self._db)
     336        self.markup = self._Markup(wheredat, self._db)
    336337        wheredat = (self.chanid, self.progstart)
    337338        self.cast = self._Cast(wheredat, self._db)
    338339        self.rating = self._Rating(wheredat, self._db)