From 2f20729e0514aa9f5ccd3a81d2f3ed68e7d8958e Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Tue, 5 May 2015 12:41:02 -0400 Subject: [PATCH 1/3] Small update to wording in install help --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index 714b01c0a..e5c329903 100755 --- a/install +++ b/install @@ -22,9 +22,9 @@ showhelp () { No output except errors -f, --force Turn off interactive prompts - --distribution + --distribution=DISTRIBUTION Linux distribution the installation is being run on - --release + --release=RELEASE Distribution release -d, --ignore-dependencies Don't install binary dependencies From 196e08fc90a6ad099ed2912b42fb5f68b4ed8adc Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Thu, 21 May 2015 12:49:26 -0400 Subject: [PATCH 2/3] Fix bug where users can't connect to Master source due to hardcoded path in liquidsoap --- python_apps/pypo/liquidsoap/generate_liquidsoap_cfg.py | 3 +++ python_apps/pypo/liquidsoap/ls_script.liq | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python_apps/pypo/liquidsoap/generate_liquidsoap_cfg.py b/python_apps/pypo/liquidsoap/generate_liquidsoap_cfg.py index 1b409b3c5..d8eb275dd 100644 --- a/python_apps/pypo/liquidsoap/generate_liquidsoap_cfg.py +++ b/python_apps/pypo/liquidsoap/generate_liquidsoap_cfg.py @@ -1,4 +1,5 @@ import logging +import os import sys import time import traceback @@ -23,7 +24,9 @@ def generate_liquidsoap_config(ss): str_buffer = "%s = %s\n" % (key, val) fh.write(str_buffer.encode('utf-8')) + auth_path = os.path.dirname(os.path.realpath(__file__)) fh.write('log_file = "/var/log/airtime/pypo-liquidsoap/