Last active
September 12, 2022 04:49
-
-
Save ethanpil/fd5d6dfa302557d06809cd71b30490b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Setup Squeezebox / Logitech Music ona fresh alpine install | |
apk add --no-cache curl | |
curl -Ls http://www.sodface.com/repo/sodface-pub-key.tar.gz | tar -C /etc/apk/keys/ -xvz [email protected] | |
echo http://www.sodface.com/repo >> /etc/apk/repositories | |
apk add --no-cache espeak faad2 flac ffmpeg lame lms perl-crypt-cbc sox wavpack | |
apk del curl | |
mkdir /home/lms | |
mkdir /home/lms/cache | |
mkdir /home/lms/logs | |
mkdir /home/lms/prefs | |
mkdir /home/lms/library | |
mkdir /home/lms/library/music | |
mkdir /home/lms/library/playlists | |
chown -R lms:lms /home/lms | |
#Share library with network | |
#https://wiki.alpinelinux.org/wiki/Setting_up_a_samba-server | |
#delete last line of new config file and replace | |
sed '$d' /etc/conf.d/lms | |
echo 'LMS_OPTS="--cachedir /home/lms/cache --logdir /home/lms/logs --prefsdir /home/lms/prefs"' >> /etc/conf.d/lms | |
rc-update add lms | |
rc-service lms start | |
#Ports now open 3483 3483/udp 9000 | |
#access at http://localhost:9000 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment