Exemplo n.º 1
0
def mute():
	tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_VOLUMEMUTE.value, 0])
Exemplo n.º 2
0
def lock():
	tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.LOCK.value, 0])
Exemplo n.º 3
0
def previous():
	tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_PREVIOUS.value, 0])
Exemplo n.º 4
0
def stopMusic():
	tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.STOP_MUSIC.value, 0])
Exemplo n.º 5
0
def next():
	tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_NEXT.value, 0])
Exemplo n.º 6
0
def spacebar():
	tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.SPACEBAR.value, 0])
Exemplo n.º 7
0
def playPause():
	tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_PLAYPAUSE.value, 0])
Exemplo n.º 8
0
def volumeDown(times):
	tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_VOLUMEDOWN.value, times])
Exemplo n.º 9
0
def alertPcCase(seconds, color):
	#send to computer
	tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.ALERT.value, seconds, color])