After using upmpdcli for almost a month I’ll start off by saying thanks a lot @medoc for creating upmpdcli. It has brought a lot of joy to me, my sister and her boyfriend (so far, I’ll try to convert as many people as I can, same goes for Symfonium).
Thank you for creating the containers and chiming in here. I continued to test a few different configs (including adding the port and host networking) after finding your usage examples which I had previously missed. The last config I tested was this one:
version: '3'
services:
mpd-alsa:
image: giof71/mpd-alsa:vanilla-bookworm
container_name: mpd-alsa
devices:
- /dev/snd:/dev/snd # Allow access to the sound device
ports:
- 6600:6600/tcp
environment:
- USER_MODE=Y
- PUID=1000
- PGID=1000
- AUDIO_GID=29
- ALSA_OUTPUT_CREATE=yes
- ALSA_OUTPUT_NAME=hifiberry-dac-plus-pro
- ALSA_OUTPUT_DEVICE=hw:CARD=sndrpihifiberry,DEV=0
- ALSA_OUTPUT_MIXER_TYPE=software
volumes:
- /opt/mpd-alsa/db:/db
- /opt/mpd-alsa/playlists:/playlists
- /opt/mpd-alsa/log:/log
- /opt/mpd-alsa/config:/user/config
- /opt/mpd-alsa/music:/music:ro
restart: unless-stopped
upmpdcli:
image: giof71/upmpdcli:bookworm-renderer
container_name: upmpdcli
network_mode: host # Use host network mode to avoid UPnP issues
environment:
- PUID=1000
- PGID=1000
- FRIENDLY_NAME="PiMalte"
volumes:
- /opt/upmpdcli/cache:/cache
- /opt/upmpdcli/log:/log
- /opt/upmpdcli/config/additional-radio-list.txt:/user/config/additional-radio-list.txt:ro
restart: unless-stopped
depends_on:
- mpd-alsa
Which has both the port and the host mode but also did not work (it’s been a while but I think upmpdcli threw errors that it could not connect to mpd).
After adjusting the .env file that worked on the first try. Thank you.
I did remove the yams part tho as I only use symfonium to cast to the pi and have panoscrobbler running on my phone which also scrobbels what I cast. That way the pi itself is neutral and multiple people can cast to it without messing up any one lastfm account.
My sister and her boyfriend for example have 2 pis in use and depending on who’s home at the time either of them casts to either of the pis. With panoscrobbler and symfonium whoever casts is the one whose account is scrobbled to. I think that’s very neat.
Once I set up my sisters pi with upmpdcli she and her boyfriend were so excited and happy that he bought a pi zero + hifiberry dac+ zero to create this lovely abomination:
That’s a 50+ years old (I think) tube amplified mono radio that can (thanks to the pi, upmpdcli and Symfonium) play my 861k song strong library as well as internet radios with no sweat (except for 24/96 flac songs with max compression which abort playback after a couple of seconds - 1 core 1 thread 1 GHz might not be enough to decode that in real time on the pi zero).
Being able to cast both my library as well as internet radios to the pi was also the reason why my sister’s boyfriend finally caved and bought Symfonium (it was the 2nd app he has ever bought on his phone).
He plans to permanently install the pi (with extra ventilation) in the radio to improve the overall look and style.
Now that they have 2 pis they’re interested in songcast, do your docker containers support that as well? Otherwise they’ll have to stick to a bare metal install. I haven’t tested songcast at all as I only have one pi.
@medoc do you think using the pi zero as a receiver and the pi 3b+ as the sender would allow the pi zero to play 24/96 flac files as the 3b+ would decode them and send the decoded data to the zero (if I have understood the process correctly)?
My pi 3b+ can play 24/192 flac with max compression after all.