import NavigationInstance
import ServiceReference
+from time import time
+
# TODO: remove pNavgation, eNavigation and rewrite this stuff in python.
class Navigation:
def __init__(self):
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:
return None
def stopService(self):
+ print "stopService"
if self.pnav:
self.pnav.stopService()
self.currentlyPlayingService = None