feat(playout): move liquidsoap auth to notify cli

This commit is contained in:
jo 2023-03-21 14:50:44 +01:00 committed by Kyle Robbertze
parent 114a599993
commit 3f4ebab788
6 changed files with 35 additions and 53 deletions

View file

@ -125,7 +125,7 @@ def make_input_auth_handler(input_name)
log("user '#{user}' connected", label="#{input_name}_input")
# Check auth based on return value from auth script
ret = test_process("python3 '#{auth_path}' '#{input_name}' '#{user}' '#{password}'")
ret = test_process("libretime-playout-notify live-auth '#{input_name}' '#{user}' '#{password}'")
if ret then
log("user '#{user}' authenticated", label="#{input_name}_input")
else