refactor some liquidsoap code + remove unused --data argument
This commit is contained in:
parent
3b087ed897
commit
e669b7a91a
2 changed files with 10 additions and 7 deletions
|
@ -154,8 +154,9 @@ def make_scheduled_play_unavailable()
|
|||
end
|
||||
|
||||
def update_source_status(sourcename, status) =
|
||||
system("/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --source-name=#{sourcename} --source-status=#{status} &")
|
||||
log("/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --source-name=#{sourcename} --source-status=#{status} &")
|
||||
command = "/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --source-name=#{sourcename} --source-status=#{status} &"
|
||||
system(command)
|
||||
log(command)
|
||||
end
|
||||
|
||||
def live_dj_connect(header) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue