Skip to content

Instantly share code, notes, and snippets.

@ethanpil
Last active September 12, 2022 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ethanpil/fd5d6dfa302557d06809cd71b30490b6 to your computer and use it in GitHub Desktop.
Save ethanpil/fd5d6dfa302557d06809cd71b30490b6 to your computer and use it in GitHub Desktop.
#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 sod@sodface.com-5e51d361.rsa.pub
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