radio/station_runner.py
2026-09-01 23:38:12 -07:00

4 lines
190 B
Python

import os, subprocess, sys
install_dir = os.path.dirname(os.path.abspath(__file__))
os.chdir(install_dir)
sys.exit(subprocess.call(["liquidsoap", os.path.join(install_dir, "station.liq")]))