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