-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- linux host: use pulse unix socket - mpd: run as user (pi / root) - less config adjustments for docker environment
- Loading branch information
Christoph Lauer
committed
Nov 1, 2023
1 parent
6f1efb8
commit 3ddfe59
Showing
12 changed files
with
99 additions
and
105 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
.git | ||
.dockerignore | ||
.DS_Store | ||
|
||
# Application | ||
docker | ||
docs | ||
installation | ||
src | ||
shared | ||
|
||
# webapp | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
playermpd: | ||
host: mpd | ||
mpd_conf: /etc/mpd.conf | ||
pulse: | ||
outputs: | ||
primary: | ||
pulse_sink_name: Channel_1__Channel_2.2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,29 @@ | ||
version: "3.9" | ||
|
||
services: | ||
mpd: | ||
devices: | ||
- /dev/snd | ||
|
||
jukebox: | ||
devices: | ||
- /dev/snd | ||
version: "3.9" | ||
|
||
services: | ||
mpd: | ||
build: | ||
args: | ||
- UID=${UID:-1000} | ||
- USER=pi | ||
- HOME=/home/pi | ||
environment: | ||
- PULSE_SERVER=unix:/tmp/pulse-sock | ||
volumes: | ||
- ../shared/audiofolders:/home/pi/RPi-Jukebox-RFID/shared/audiofolders | ||
- ../shared/playlists:/home/pi/.config/mpd/playlists | ||
- ./config/docker.pulse.mpd.conf:/home/pi/.config/mpd/mpd.conf | ||
- $XDG_RUNTIME_DIR/pulse/native:/tmp/pulse-sock | ||
|
||
jukebox: | ||
build: | ||
args: | ||
- UID=${UID:-1000} | ||
- USER=pi | ||
- HOME=/home/pi | ||
environment: | ||
- PULSE_SERVER=unix:/tmp/pulse-sock | ||
volumes: | ||
- ../shared:/home/pi/RPi-Jukebox-RFID/shared | ||
- ./config/docker.pulse.mpd.conf:/home/pi/.config/mpd/mpd.conf | ||
- $XDG_RUNTIME_DIR/pulse/native:/tmp/pulse-sock |
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.