From 34bfb1222687fc793d20b5f9dd13aa9a4cb86f44 Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Wed, 18 Mar 2020 21:57:03 +0100
Subject: [PATCH] Upgrade to Liquidsoap 1.4.1.

---
 README.md | 17 +++++++++++------
 run.sh    |  2 +-
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index fa117c4..0c7fc15 100644
--- a/README.md
+++ b/README.md
@@ -71,23 +71,28 @@ git clone https://gitlab.servus.at/autoradio/engine
 
 ### Install System Libraries
 
-Aura Engine requires at least `Node 13` and `Python 3.7`.
+Aura Engine requires at least `Node 13`, `Python 3.7`. Then install `Liquidsoap 1.4.1` using [OPAM](https://www.liquidsoap.info/doc-1.4.1/install.html).
+
+Having these installed you need to
 
 ```bash
 sudo apt install \
     git \
     supervisor \
-    nodejs \
-    python3.7 python3.7-pip python3.7-dev \
     redis-server \
     libsndfile1 ffmpeg \
-    liquidsoap liquidsoap-plugin-icecast \
     mariadb-server libmariadbclient-dev \
     quelcom \
-    liquidsoap-plugin-alsa liquidsoap-plugin-pulseaudio \
-    liquidsoap-plugin-all
 ```
 
+And finally
+
+```bash
+opam depext fdkaac flac opus pulseaudio bjack alsa
+opam install fdkaac flac opus pulseaudio bjack alsa
+```
+
+
 ### Install Engine
 
 Development Environment
diff --git a/run.sh b/run.sh
index eb68639..fb7682f 100755
--- a/run.sh
+++ b/run.sh
@@ -17,7 +17,7 @@ if [ $mode == "engine" ]; then
 fi
 
 if [ $mode == "lqs" ]; then
-	(cd modules/liquidsoap/ && /usr/bin/liquidsoap $debug ./engine.liq) 
+	(cd modules/liquidsoap/ && liquidsoap $debug ./engine.liq) 
 fi
 
 if [ $mode == "api" ]; then
-- 
GitLab