7 lines
253 B
Bash
Executable File
7 lines
253 B
Bash
Executable File
#!/bin/bash
|
|
# Get streaming status
|
|
|
|
SOCKET="${VIZION_SOCKET:-/tmp/vizion_control.sock}"
|
|
|
|
echo '{"command":"get_status"}' | socat - UNIX-CONNECT:$SOCKET | python3 -m json.tool 2>/dev/null || echo '{"command":"get_status"}' | socat - UNIX-CONNECT:$SOCKET
|