diff --git a/station.rb b/station.rb new file mode 100644 index 0000000..3d00d3d --- /dev/null +++ b/station.rb @@ -0,0 +1,2 @@ +Dir.chdir(File.expand_path(__dir__)) +exec("liquidsoap", File.expand_path("station.liq")) diff --git a/station_runner.py b/station_runner.py new file mode 100644 index 0000000..e62ae46 --- /dev/null +++ b/station_runner.py @@ -0,0 +1,4 @@ +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")]))