You mean this?
[Moderator] No screenshots of Images which are in violation of the Boardrules [/Moderator]
Diff
Index: lib/python/Screens/InfoBar.py
===================================================================
RCS file: /cvs/enigma2/lib/python/Screens/InfoBar.py,v
retrieving revision 1.93
diff -u -r1.93 InfoBar.py
--- lib/python/Screens/InfoBar.py 23 Nov 2007 18:00:18 -0000 1.93
+++ lib/python/Screens/InfoBar.py 27 Jan 2008 17:45:33 -0000
@@ -1,6 +1,7 @@
from Screen import Screen
@@ -16,7 +17,7 @@
InfoBarSubserviceSelection, InfoBarTuner, InfoBarShowMovies, InfoBarTimeshift, \
InfoBarServiceNotifications, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarSimpleEventView, \
InfoBarSummarySupport, InfoBarMoviePlayerSummarySupport, InfoBarTimeshiftState, InfoBarTeletextPlugin, InfoBarExtensions, \
- InfoBarSubtitleSupport, InfoBarPiP, InfoBarPlugins, InfoBarSleepTimer, InfoBarServiceErrorPopupSupport
+ InfoBarSubtitleSupport, InfoBarPiP, InfoBarPlugins, InfoBarSleepTimer, InfoBarServiceErrorPopupSupport, InfoBarExpert
from Screens.HelpMenu import HelpableScreen
@@ -29,6 +30,7 @@
InfoBarSubserviceSelection, InfoBarTuner, InfoBarTimeshift, InfoBarSeek,
InfoBarSummarySupport, InfoBarTimeshiftState, InfoBarTeletextPlugin, InfoBarExtensions,
InfoBarPiP, InfoBarPlugins, InfoBarSubtitleSupport, InfoBarSleepTimer, InfoBarServiceErrorPopupSupport,
+ InfoBarExpert,
Screen):
ALLOW_SUSPEND = True
@@ -50,7 +52,7 @@
InfoBarAdditionalInfo, InfoBarNotifications, InfoBarDish, InfoBarSubserviceSelection, \
InfoBarTuner, InfoBarTimeshift, InfoBarSeek, InfoBarSummarySupport, InfoBarTimeshiftState, \
InfoBarTeletextPlugin, InfoBarExtensions, InfoBarPiP, InfoBarSubtitleSupport, InfoBarSleepTimer, \
- InfoBarPlugins, InfoBarServiceErrorPopupSupport:
+ InfoBarPlugins, InfoBarServiceErrorPopupSupport, InfoBarExpert:
x.__init__(self)
self.helpList.append((self["actions"], "InfobarActions", [("showMovies", _("view recordings..."))]))
@@ -138,7 +140,10 @@
Index: lib/python/Screens/InfoBarGenerics.py
===================================================================
RCS file: /cvs/enigma2/lib/python/Screens/InfoBarGenerics.py,v
retrieving revision 1.273
diff -u -r1.273 InfoBarGenerics.py
--- lib/python/Screens/InfoBarGenerics.py 22 Nov 2007 22:52:41 -0000 1.273
+++ lib/python/Screens/InfoBarGenerics.py 27 Jan 2008 17:45:33 -0000
@@ -39,6 +39,7 @@
from time import time, localtime, strftime
from os import stat as os_stat
from bisect import insort
+import re
+
+class InfoBarExpert:
+ def __init__(self):
+ self["ExpertTunerInfo"] = Label("")
+
+ self.__event_tracker = ServiceEventTracker(screen=self, eventmap=
+ {
+ iPlayableService.evStart: self.__start,
+ iPlayableService.evUpdatedInfo: self.__evUpdatedInfo,
+ })
+
+ def __start(self):
+ self["ExpertTunerInfo"].setText("")
+ def __evUpdatedInfo(self):
+ print "RONALDD: __evUpdatedInfo"
+ service = self.session.nav.getCurrentService()
+ info = service.info()
+ feinfo = service.frontendInfo()
+ frontendData = feinfo and feinfo.getAll(True)
+ self["ExpertTunerInfo"].setText( "" )
+ if frontendData is not None:
+ ttype = frontendData.get("tuner_type", "UNKNOWN")
+ if ttype == "DVB-S":
+ sr = str(int(frontendData.get("symbol_rate", 0) / 1000))
+ freq = str(int(frontendData.get("frequency", 0) / 1000))
+ pol = {"HORIZONTAL": "H", "VERTICAL": "V", "CIRCULAR_LEFT": "CL", "CIRCULAR_RIGHT": "CR", "UNKNOWN": None}[frontendData.get("polarization", "HORIZONTAL")]
+ if frontendData.get("system", "DVB-S") == "DVB-S2":
+ fec = {"FEC_1_2": "1/2", "FEC_2_3": "2/3", "FEC_3_4": "3/4", "FEC_4_5": "4/5", "FEC_5_6": "5/6", "FEC_7_8": "7/8", "FEC_8_9": "8/9", "FEC_9_10": "9/10"} [frontendData.get("fec_inner", "FEC_AUTO")]
+ else:
+ fec = {"FEC_AUTO": "auto", "FEC_1_2": "1/2", "FEC_2_3": "2/3", "FEC_3_4": "3/4", "FEC_5_6": "5/6", "FEC_7_8": "7/8", "FEC_NONE": "none"}[frontendData.get("fec_inner", "FEC_AUTO")]
+ self["ExpertTunerInfo"].setText( freq + " MHz " + pol + " " + fec + " " + sr )
+
Alles anzeigen
And put this in de skin.xml > <screen name="InfoBar"