From 60b9de6838074a0ad3cd8ab4807d95f9ae814120 Mon Sep 17 00:00:00 2001 From: Dennis Mellican Date: Sat, 19 Sep 2020 00:13:09 +1000 Subject: [PATCH] mp3 support added --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 7816bc2..c49fdf5 100755 --- a/install.sh +++ b/install.sh @@ -23,6 +23,10 @@ if [[ $PYTHON_VERSION != $REQUIRED_VERSION ]]; then fi fi +# Get latest code +echo "[INFO] Retrieve app updates" +git pull | sed -e 's/^/[INFO] /g' + echo "[INFO] Installing apt-get packages..." sudo apt-get -y -qq install python-usb mpg123 @@ -39,7 +43,7 @@ if [ ! -f ${DIR}/tags.yml ]; then echo "[INFO] Initial example tags.yml created. Edit this file as tag UIDs are discovered." cp ${DIR}/tags.yml-sample ${DIR}/tags.yml fi -if [ ! -f ${DIR}/config.yml ]; then +if [ ! -f ${DIR}/config.py ]; then echo "[OPTIONAL] Edit the config.py with your Spotify API app credentials before starting." cp ${DIR}/config.py-sample ${DIR}/config.py fi