Пример #1
0
 def _set_volume(self, volume):
     kodibrigde.set_kodi_volume(int(volume))
     threading.Thread(target=self.__post_bind,
                      args=[
                          "onVolumeChanged", {
                              "volume": str(volume),
                              "muted": "false"
                          }
                      ]).start()
Пример #2
0
 def _set_volume(self, volume):
     kodibrigde.set_kodi_volume(int(volume))
     self.report_volume(volume)