def playService(self, ref, checkParentalControl = True):
oldref = self.currentlyPlayingServiceReference
def playService(self, ref, checkParentalControl = True):
oldref = self.currentlyPlayingServiceReference
print "playing", ref and ref.toString()
self.currentlyPlayingServiceReference = None
self.currentlyPlayingService = None
print "playing", ref and ref.toString()
self.currentlyPlayingServiceReference = None
self.currentlyPlayingService = None