aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index 5e28cdee..bf76c267 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -18,6 +18,8 @@ from Screens.Standby import Standby
#from enigma import eTimer, eDVBVolumecontrol, quitMainloop
from enigma import *
+import time
+
# hack alert!
from Menu import MainMenu, mdom
@@ -184,7 +186,13 @@ class InfoBarPowerKey:
def quit(self):
# self.session.open(Standby, self)
- configfile.save()
+ ref = self.session.nav.getCurrentlyPlayingServiceReference()
+ if ref is not None:
+ refstr = ref.toString()
+ else:
+ refstr = ""
+
+ #configfile.save()
quitMainloop(0)