def __init__(self): Handler.__init__(self) self.backend = OMXPlayer(self.send_status) #self.add_listener('pause', callback=self._wscb_video_request) self.add_listener('pause') self.add_listener('start') self.add_listener('stop') self.add_listener('storage.command.set.sound_level', full_path=True) self.start()