def mute(): tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_VOLUMEMUTE.value, 0])
def lock(): tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.LOCK.value, 0])
def previous(): tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_PREVIOUS.value, 0])
def stopMusic(): tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.STOP_MUSIC.value, 0])
def next(): tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_NEXT.value, 0])
def spacebar(): tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.SPACEBAR.value, 0])
def playPause(): tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_PLAYPAUSE.value, 0])
def volumeDown(times): tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.MEDIA_VOLUMEDOWN.value, times])
def alertPcCase(seconds, color): #send to computer tcpSocketClient.sendTcpSocketMessageOnNewThread([REMOTE_COMMANDS.ALERT.value, seconds, color])