Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malt3/jukebox
https://github.com/malt3/jukebox
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/malt3/jukebox
- Owner: malt3
- Created: 2022-06-20T16:57:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-03T17:01:26.000Z (over 2 years ago)
- Last Synced: 2023-08-19T19:47:39.887Z (over 1 year ago)
- Language: Roff
- Size: 584 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raspberry Pi / HifiBerry / shaiport-sync (AirPlay 2) Jukebox
## Prerequisites
- docker buildx with arm support
- make## Build
```shell-session
make
```## Installation
- Optional: download latest image from GitHub release. Can also be build from scratch.
```shell-session
RASPBIAN_URL=...
wget -L -O raspbian.zip "${RASPBIAN_URL}"
unzip raspbian.zip
unzip image.zip
```
- Insert and locate SD card (`/dev/sda` on my system, ensure to choose the correct blockdevice)
- Copy image to sd card
```shell-session
SDCARD=/dev/sda
find . -name "*Jukebox.img" | xargs -I{} dd if={} of="${SDCARD}" status=progress
sync
```
- Optional: change hostname and soundcard
```shell-session
SDCARD=/dev/sda
HOSTNAME=myspeaker
# see https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/
DTOVERLAY=hifiberry-dac
# ensure the kernel finds the new partition scheme before mounting
mkdir -p /mnt/root/
mount "${SDCARD}2" /mnt/root
mount "${SDCARD}1" /mnt/root/boot
echo "${HOSTNAME}" > /mnt/root/etc/hostname
sed -i "s/127.0.1.1 jukebox/127.0.1.1 ${HOSTNAME}/" /mnt/root/etc/hosts
sed -i "s/dtoverlay=hifiberry-.*/dtoverlay=${DTOVERLAY}/" /mnt/root/boot/config.txt
umount /mnt/root/boot
umount /mnt/root
rmdir /mnt/root
```
- Insert SD card into raspberry pi and enjoy 🎧