refactor some liquidsoap code + remove unused --data argument

This commit is contained in:
Martin Konecny 2013-03-05 17:31:09 -05:00
parent 3b087ed897
commit e669b7a91a
2 changed files with 10 additions and 7 deletions

View file

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