add legacy script for liquidsoap 1.1.1 compatibility
This commit is contained in:
parent
1c2906f5ab
commit
0931ba842a
6 changed files with 890 additions and 25 deletions
|
@ -15,7 +15,9 @@ elif dj_type == '--dj':
|
|||
|
||||
response = api_clients.check_live_stream_auth(username, password, source_type)
|
||||
|
||||
if 'msg' in response:
|
||||
if 'msg' in response and response['msg'] == True:
|
||||
print response['msg']
|
||||
sys.exit(0)
|
||||
else:
|
||||
print False
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue