git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add sat.xml to get all satellites
[enigma2.git]
/
lib
/
python
/
Components
/
EventInfo.py
diff --git
a/lib/python/Components/EventInfo.py
b/lib/python/Components/EventInfo.py
index 656fd2796300ab07da6eccabff8cbabc7e7480af..c8e5a13ff7d621dc8b978a3fff2e5dcf7f8361cf 100644
(file)
--- a/
lib/python/Components/EventInfo.py
+++ b/
lib/python/Components/EventInfo.py
@@
-23,14
+23,14
@@
class EventInfo(PerServiceDisplay):
service = self.navcore.getCurrentService()
if service != None:
service = self.navcore.getCurrentService()
if service != None:
- if not service.info(info):
- ev = eServiceEventPtr()
- if info.getEvent(ev, self.now_or_next & 1) == 0:
+ info = service.info()
+ if info is not None:
+ ev = info.getEvent(self.now_or_next & 1)
+ if ev is not None:
if self.now_or_next & 2:
self.setText("%d min" % (ev.m_duration / 60))
else:
self.setText(ev.m_event_name)
if self.now_or_next & 2:
self.setText("%d min" % (ev.m_duration / 60))
else:
self.setText(ev.m_event_name)
- print "new event info in EventInfo! yeah!"
def stopEvent(self):
self.setText(
def stopEvent(self):
self.setText(