X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/0056054b80fede7d4c92f83033ba33159ea861ef..cfaef891bd45c488e1c896a2e106da3df38b9465:/Navigation.py diff --git a/Navigation.py b/Navigation.py index a0f40baf..7b615bbd 100644 --- a/Navigation.py +++ b/Navigation.py @@ -4,6 +4,8 @@ import RecordTimer import NavigationInstance import ServiceReference +from time import time + # TODO: remove pNavgation, eNavigation and rewrite this stuff in python. class Navigation: def __init__(self): @@ -30,7 +32,7 @@ class Navigation: x(i) def playService(self, ref): - print "playing", ref.toString() + print "playing", ref and ref.toString() self.currentlyPlayingServiceReference = None self.currentlyPlayingService = None if ref is None: @@ -65,6 +67,7 @@ class Navigation: return None def stopService(self): + print "stopService" if self.pnav: self.pnav.stopService() self.currentlyPlayingService = None