add legacy script for liquidsoap 1.1.1 compatibility

This commit is contained in:
Robb Ebright 2019-12-30 22:07:48 -05:00
parent 1c2906f5ab
commit 0931ba842a
6 changed files with 890 additions and 25 deletions

View file

@ -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)