Updated tools/radio-*.
This commit is contained in:
parent
c2c8c82212
commit
976ad683ca
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
radiodj_socket=/var/run/dwelling-radio/djsock
|
radiodj_socket=/var/run/dwelling-radio/sock
|
||||||
radiodj_playlist_url=http:/playlist
|
radiodj_playlist_url=http:/api/playlist
|
||||||
|
|
||||||
CURL_FLAGS=--unix-socket $radiodj_socket $radiodj_playlist_url -o /dev/null -s -w "%{response_code}"
|
CURL_FLAGS=--unix-socket $radiodj_socket $radiodj_playlist_url -o /dev/null -s -w "%{response_code}"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
radiodj_socket=/var/run/dwelling-radio/djsock
|
radiodj_socket=/var/run/dwelling-radio/sock
|
||||||
radiodj_listener_url=http:/listener
|
radiodj_listener_url=http:/api/listener
|
||||||
|
|
||||||
response=$(curl -XPOST --unix-socket $radiodj_socket $radiodj_listener_url -o /dev/null -s -w "%{response_code}")
|
response=$(curl -XPOST --unix-socket $radiodj_socket $radiodj_listener_url -o /dev/null -s -w "%{response_code}")
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
radiodj_socket=/var/run/dwelling-radio/djsock
|
radiodj_socket=/var/run/dwelling-radio/sock
|
||||||
radiodj_listener_url=http:/listener
|
radiodj_listener_url=http:/api/listener
|
||||||
|
|
||||||
response=$(curl -XDELETE --unix-socket $radiodj_socket $radiodj_listener_url -o /dev/null -s -w "%{response_code}")
|
response=$(curl -XDELETE --unix-socket $radiodj_socket $radiodj_listener_url -o /dev/null -s -w "%{response_code}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user