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