Skip to content

Commit

Permalink
Merge pull request #786 from MrServo/master
Browse files Browse the repository at this point in the history
[TVSpielfilm] 7.0 HD-skin bugfixed
  • Loading branch information
jbleyel authored Jun 22, 2024
2 parents 19855d7 + 89edcc1 commit a714b6f
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 95 deletions.
20 changes: 10 additions & 10 deletions TVSpielfilm/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def showPic(pixmap, picpath):
pixmap.show()


def getEPGText():
def getEPGtext():
try:
NOEPGTIME = 'Noch keine EPG Informationen verfügbar\n\nEPG Vorschauzeit: %s Tage\nEPG Vorhaltezeit: %s Stunden' % (str(config.epg.maxdays), str(config.epg.histminutes))
return NOEPGTIME
Expand Down Expand Up @@ -1316,7 +1316,7 @@ def getEPG(self):
epgcache = eEPGCache.getInstance()
event = epgcache.startTimeQuery(eServiceReference(sref), start)
if event == -1:
self.EPGText = getEPGText()
self.EPGtext = getEPGtext()
else:
event = epgcache.getNextTimeEntry()
self.EPGtext = event.getEventName()
Expand All @@ -1330,7 +1330,7 @@ def getEPG(self):
if dur:
self.EPGtext += '\n\n%s' % dur
except Exception:
self.EPGText = getEPGText()
self.EPGtext = getEPGtext()
else:
self.EPGtext = NOEPG
self.EPGtext += '\n%s' % self.getFill(channel)
Expand Down Expand Up @@ -2013,7 +2013,7 @@ def getEPG(self):
epgcache = eEPGCache.getInstance()
event = epgcache.startTimeQuery(eServiceReference(sref), start)
if event == -1:
self.EPGText = getEPGText()
self.EPGtext = getEPGtext()
else:
event = epgcache.getNextTimeEntry()
self.EPGtext = event.getEventName()
Expand All @@ -2027,7 +2027,7 @@ def getEPG(self):
if dur:
self.EPGtext += '\n\n%s' % dur
except Exception:
self.EPGText = getEPGText()
self.EPGtext = getEPGtext()
else:
self.EPGtext = NOEPG
self.EPGtext += '\n%s' % self.getFill(channel)
Expand Down Expand Up @@ -2633,7 +2633,7 @@ def getEPG(self):
epgcache = eEPGCache.getInstance()
event = epgcache.startTimeQuery(eServiceReference(sref), start)
if event == -1:
self.EPGText = getEPGText()
self.EPGtext = getEPGtext()
else:
event = epgcache.getNextTimeEntry()
self.EPGtext = event.getEventName()
Expand All @@ -2647,7 +2647,7 @@ def getEPG(self):
if dur:
self.EPGtext += '\n\n%s' % dur
except Exception:
self.EPGText = getEPGText()
self.EPGtext = getEPGtext()
else:
self.EPGtext = NOEPG
self.EPGtext += '\n%s' % self.getFill(channel)
Expand Down Expand Up @@ -4905,7 +4905,7 @@ def nextTipp(self):
self.showLabels(self.count)

def showLabels(self, idx=0):
self['label'].setText(f"Tipp des Tages ({idx + 1} / {len(self.tippstitle)})")
self['label'].setText(f"Tipp des Tages ({idx + 1}/{len(self.tippstitle)})")
self['label'].show()
if self.tippstitle:
self['label2'].setText(self.tippstitle[idx])
Expand Down Expand Up @@ -5566,7 +5566,7 @@ def getEPG(self):
epgcache = eEPGCache.getInstance()
event = epgcache.startTimeQuery(eServiceReference(sref), start)
if event == -1:
self.EPGText = getEPGText()
self.EPGtext = getEPGtext()
else:
event = epgcache.getNextTimeEntry()
self.EPGtext = event.getEventName()
Expand All @@ -5580,7 +5580,7 @@ def getEPG(self):
if dur:
self.EPGtext += '\n\n%s' % dur
except Exception:
self.EPGText = getEPGText()
self.EPGtext = getEPGtext()

else:
self.EPGtext = NOEPG
Expand Down
Loading

0 comments on commit a714b6f

Please sign in to comment.