git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autostart and autoend functions are now called on the start and the end of enigma2...
[enigma2.git]
/
lib
/
python
/
Screens
/
InfoBarGenerics.py
diff --git
a/lib/python/Screens/InfoBarGenerics.py
b/lib/python/Screens/InfoBarGenerics.py
index aac470bf0a1fd811b81af20fc85400f47a439545..10a810cfd8ae5c6cfa1d74bbc1287d4aea0a9183 100644
(file)
--- a/
lib/python/Screens/InfoBarGenerics.py
+++ b/
lib/python/Screens/InfoBarGenerics.py
@@
-33,6
+33,8
@@
from enigma import *
import time
import os
import time
import os
+from Components.config import config, currentConfigSelectionElement
+
# hack alert!
from Menu import MainMenu, mdom
# hack alert!
from Menu import MainMenu, mdom
@@
-358,9
+360,15
@@
class InfoBarEPG:
def __init__(self):
self["EPGActions"] = HelpableActionMap(self, "InfobarEPGActions",
{
def __init__(self):
self["EPGActions"] = HelpableActionMap(self, "InfobarEPGActions",
{
- "showEPGList": (self.showEPG
List
, _("show EPG...")),
+ "showEPGList": (self.showEPG, _("show EPG...")),
})
})
+ def showEPG(self):
+ if currentConfigSelectionElement(config.usage.epgtoggle) == "yes":
+ self.openSingleServiceEPG()
+ else:
+ self.showEPGList()
+
def showEPGList(self):
bouquets = self.servicelist.getBouquetList()
if bouquets is None:
def showEPGList(self):
bouquets = self.servicelist.getBouquetList()
if bouquets is None:
@@
-543,6
+551,7
@@
class InfoBarPVR:
"seekBack": (self.seekBack, "skip backward"),
"seekBackUp": (self.seekBackUp, "skip backward"),
"seekBack": (self.seekBack, "skip backward"),
"seekBackUp": (self.seekBackUp, "skip backward"),
+ "movieList": (self.showMovies, "movie list"),
"up": (self.showMovies, "movie list"),
"down": (self.showMovies, "movie list")
})
"up": (self.showMovies, "movie list"),
"down": (self.showMovies, "movie list")
})