From 3feb6fe5b1ba56fa53ac335022a3b8655d094f54 Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Tue, 1 Sep 2026 23:38:12 -0700 Subject: [PATCH] more tweaks --- station.rb | 2 ++ station_runner.py | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 station.rb create mode 100644 station_runner.py 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")]))