Esempio n. 1
0
def Mic(client, Action):
    client.call(requests.ToggleMute("Mic/Aux"))
Esempio n. 2
0
 def ToggleSourceMute(self, SourceName):
     try:
         self.ws.call(requests.ToggleMute(SourceName))
     except Exception as e:
         print(e)
Esempio n. 3
0
 def command_d(self):
     self.ws.call(requests.ToggleMute(self.aud_sources.getDesktop1()))
     self.load_volume_d(self.aud_sources.getDesktop1())
Esempio n. 4
0
 def command_m(self):
     self.ws.call(requests.ToggleMute(self.aud_sources.getMic1()))
     self.load_volume_m(self.aud_sources.getMic1())
Esempio n. 5
0
 def ToggleMute(self, *args):
     return self.ws.call(requests.ToggleMute(args[0]))
Esempio n. 6
0
 def CambiarVolumen(self, Fuente):
     if self.OBSConectado:
         print("Cambiando estado Volumen {}".format(Fuente))
         self.ConeccionOBS.call(requests.ToggleMute(Fuente))
     else:
         print("No se encontro OBS")
Esempio n. 7
0
 def Sources_ToggleMute(self, SourceName="", *args, **kwargs): #Not tested
     try:
         self.ws.call(requests.ToggleMute(SourceName))
         PrintWithTime(f"Toggled mute of source {SourceName}")
     except Exception as e:
         PrintWithTime(f"Couldn't toggle mute of source {SourceName}. Error : {e}")