2014-01-22, 07:48
I have a question about the EPG. Is it possible to change what loads as you're scrolling through the EPG? I see the controls in EPGWindow.py file here:
self.getControl(500).setLabel(self.MyOverlayWindow.channels[newchan - 1].getItemTitle(plpos))
self.getControl(501).setLabel(self.MyOverlayWindow.channels[newchan - 1].getItemEpisodeTitle(plpos))
self.getControl(502).setLabel(self.MyOverlayWindow.channels[newchan - 1].getItemDescription(plpos))
self.getControl(503).setImage(self.channelLogos + ascii(self.MyOverlayWindow.channels[newchan - 1].name) + '.png')
Is there a way to change the "getItemDescription" to be the Plot Outline instead of the Plot? How does PTV know where to fetch this data from in the first place in the code?
Also, the "getItemDescription" seems to be truncated after about 460-480 characters or so, it's not a set number for each one because I've done a character count on various movies. How does it know where to cut itself off and is there a reason for this?
Thanks for any help.
self.getControl(500).setLabel(self.MyOverlayWindow.channels[newchan - 1].getItemTitle(plpos))
self.getControl(501).setLabel(self.MyOverlayWindow.channels[newchan - 1].getItemEpisodeTitle(plpos))
self.getControl(502).setLabel(self.MyOverlayWindow.channels[newchan - 1].getItemDescription(plpos))
self.getControl(503).setImage(self.channelLogos + ascii(self.MyOverlayWindow.channels[newchan - 1].name) + '.png')
Is there a way to change the "getItemDescription" to be the Plot Outline instead of the Plot? How does PTV know where to fetch this data from in the first place in the code?
Also, the "getItemDescription" seems to be truncated after about 460-480 characters or so, it's not a set number for each one because I've done a character count on various movies. How does it know where to cut itself off and is there a reason for this?
Thanks for any help.