2012-02-16, 21:28
sirmeili Wrote:Ok, it is possible. I just used this code (in overlay.py):
self.infoOffset += 1
self.showInfo(NOTIFICATION_DISPLAY_TIME)
instead of:
xbmc.executebuiltin("Notification(Coming Up Next, " + self.channels[self.currentChannel - 1].getItemTitle(nextshow).replace(',', '') + ", " + str(NOTIFICATION_DISPLAY_TIME * 1000) + ")")
(and the code above it to find the next show).
Jason, perhaps you could add a setting to determine which one the user wanted. Use the info screen or the popup. I only did this because Aeon Nox's popup is in the top center and I'd rather have the info popup than the notification box. If you add the setting, I'll do the code to determine which one to display. I'm also thinking (if I have free time) do to do a custom info screen just for the coming up next that is smaller and more concise and maybe localized to the bottom right.
PSTV can already be setup to bring up the info screen on channel or content change... why would you want a redundant info screen? If I understand you correctly you would like the coming up to display info 5 miniutes earlier then if you just waited for the media to change??
BTW if you really want to change things on your own it wouldn't be hard but adding a new overlay would require a lot of work... stick to the notification popup already in place and add the correct labels for the info you would like displayed!! a few Google searches should teach you what you need to know!