2013-03-08, 09:15
I was able to 'fix' the issue that I was having here by changing the following lines of code in "EPGWindow.py":
Changed lines 296-301 from this:
To this:
That 'new' snippet of code was actually taken from a previous version of PTV.
Changed lines 296-301 from this:
Code:
if self.MyOverlayWindow.channels[curchannel - 1].isPaused:
self.channelButtons[row].append(self.getButton())
self.channelButtons[row][-1].setHeight(baseh)
self.channelButtons[row][-1].setWidth(basew)
self.channelButtons[row][-1].setLabel(self.MyOverlayWindow.channels[curchannel - 1].getCurrentTitle() + " (paused)")
self.channelButtons[row][-1].setPosition(basex, basey)
To this:
Code:
if self.MyOverlayWindow.channels[curchannel - 1].isPaused:
self.channelButtons[row].append(xbmcgui.ControlButton(
basex,
basey,
basew,
baseh,
self.MyOverlayWindow.channels[curchannel - 1].getCurrentTitle() + " (paused)",
focusTexture=self.textureButtonFocus,
noFocusTexture=self.textureButtonNoFocus,
alignment=4,
textColor=self.textcolor,
focusedColor=self.focusedcolor))
That 'new' snippet of code was actually taken from a previous version of PTV.