feat(playout): remove unused liquidsoap_prepare_terminate.py (#1854)
Related to cde6db812f
This commit is contained in:
parent
8278366899
commit
a73084e612
|
@ -1,19 +0,0 @@
|
||||||
import sys
|
|
||||||
import telnetlib
|
|
||||||
|
|
||||||
from configobj import ConfigObj
|
|
||||||
|
|
||||||
try:
|
|
||||||
config = ConfigObj("/etc/airtime/airtime.conf")
|
|
||||||
LS_HOST = config["pypo"]["ls_host"]
|
|
||||||
LS_PORT = config["pypo"]["ls_port"]
|
|
||||||
|
|
||||||
tn = telnetlib.Telnet(LS_HOST, LS_PORT)
|
|
||||||
tn.write("master_harbor.stop\n")
|
|
||||||
tn.write("live_dj_harbor.stop\n")
|
|
||||||
tn.write("exit\n")
|
|
||||||
tn.read_all()
|
|
||||||
|
|
||||||
except Exception as e:
|
|
||||||
print(f"Error loading config file: {e}")
|
|
||||||
sys.exit()
|
|
|
@ -1,7 +1,6 @@
|
||||||
# This file is auto-generated by tools/extract-requirements.sh.
|
# This file is auto-generated by tools/extract-requirements.sh.
|
||||||
# Please do not edit this file, edit the setup.py file!
|
# Please do not edit this file, edit the setup.py file!
|
||||||
amqplib
|
amqplib
|
||||||
configobj
|
|
||||||
defusedxml
|
defusedxml
|
||||||
kombu
|
kombu
|
||||||
mutagen
|
mutagen
|
||||||
|
|
|
@ -35,7 +35,6 @@ setup(
|
||||||
python_requires=">=3.6",
|
python_requires=">=3.6",
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"amqplib",
|
"amqplib",
|
||||||
"configobj",
|
|
||||||
"defusedxml",
|
"defusedxml",
|
||||||
"kombu",
|
"kombu",
|
||||||
"mutagen",
|
"mutagen",
|
||||||
|
|
Loading…
Reference in New Issue