Files
docker-deployment/build/scripts/headphones.sh

19 lines
538 B
Bash
Executable File

#!/bin/bash
set -e
source /build/config
set -x
## Environment
export_env HEADPHONES_CONFIG /host/etc/headphones/config.ini
export_env HEADPHONES_CONFIG_DEFAULT /opt/headphones/config.ini
export_env HEADPHONES_DATA /host/var/lib/headphones
## Headphones
cd /opt
git clone https://github.com/rembo10/headphones.git
## Encoders
echo "deb http://ppa.launchpad.net/mc3man/trusty-media/ubuntu $(lsb_release -c -s) main" | sudo tee -a /etc/apt/sources.list
apt update
apt_install_permanent --force-yes ffmpeg libmp3lame0 libavcodec-extra-54