Пример #1
0
 def __init__(self, room_id, device_id, q_dvc, queues):
     #
     Device.__init__(self, "tivo", room_id, device_id, q_dvc, queues)
     #
     self.recordings_timestamp = False
     self.recordings_folders = False
     self.recordings_files = []
     t = threading.Thread(target=self.get_recordings, args=())
     t.daemon = True
     t.start()
     #
     self.run()
Пример #2
0
 def __init__ (self, room_id, device_id, q_dvc, queues):
     #
     Device.__init__(self, "tv_lg_netcast", room_id, device_id, q_dvc, queues)
     #
     self.is_paired = False
     self._pairDevice()
     #
     self.apps_timestamp = False
     self.apps_xml = False
     self.apps_list = []
     t = threading.Thread(target=self.get_apps, args=())
     t.daemon = True
     t.start()
     #
     self.run()
Пример #3
0
 def __init__ (self, room_id, device_id, q_dvc, queues):
     #
     Device.__init__(self, "tv_samsung", room_id, device_id, q_dvc, queues)
     #
     self.run()