You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to setup a multizone player/amp with snapcast. At the moment snapserver and 4 snapclients run on the same orangepi zero with 4 usb DACs. Everything works fine except the zone names don't get automatically assigned.
The snapclients start via system services, one for each zone:
Feb 18 12:33:36 orangepizero snapclient[1729]: Player name: alsa, device: hw:CARD=Zone1,DEV=0, description: CX31993 384Khz HIFI AUDIO, USB Audio
Feb 18 12:33:37 orangepizero snapclient[1729]: Direct hardware device without any conversions, idx: 16, sharing mode: unspecified, parameters:
Feb 18 12:33:37 orangepizero snapclient[1729]: Mixer mode: software, parameters:
Feb 18 12:33:37 orangepizero snapclient[1729]: Sampleformat: 48000:16:2, stream: 48000:16:2
Feb 18 12:33:37 orangepizero snapclient[1729]: Using default buffer_time: 80 ms, default fragments: 4
Feb 18 12:33:37 orangepizero snapclient[1729]: PCM name: hw:CARD=Zone1,DEV=0, sample rate: 48000 Hz, channels: 2, buffer time: 80000 us, periods: 4, period time: 20000 us, period frames: 960
Feb 18 12:33:37 orangepizero snapclient[1729]: No chunks available
Feb 18 12:33:37 orangepizero snapclient[1729]: Failed to get chunk
Feb 18 12:33:37 orangepizero snapclient[1729]: diff to server [ms]: 0.089
Feb 18 12:33:42 orangepizero snapclient[1729]: No chunk received for 5000ms. Closing ALSA.
So, the question is, how can I get the server to refer to clients as set in "--hostID", without adding "#2, #3 ..." ? I know that I can rename them in web interface but it would be much nicer if they'll just use the configured name.
I've tried with chname as suggested a few years ago, it works nice in CLI, but for some reason I can't get it run in init script.
TLDRL;
How to get the client names from "--hostID" to show up like "Kitchen" and "Bedroom", instead of "Kitchen#2" and "Bedroom#4"?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to setup a multizone player/amp with snapcast. At the moment snapserver and 4 snapclients run on the same orangepi zero with 4 usb DACs. Everything works fine except the zone names don't get automatically assigned.
The snapclients start via system services, one for each zone:
# systemctl status snapclient_zone1.service
# cat /lib/systemd/system/snapclient_zone1.service
# cat /etc/default/snapclient1
The "-s" parameter is set in udev rules:
# cat /etc/udev/rules.d/20-alsa-usb-cards.rules
Snapserver response when clients connect:
So, the question is, how can I get the server to refer to clients as set in "--hostID", without adding "#2, #3 ..." ? I know that I can rename them in web interface but it would be much nicer if they'll just use the configured name.
I've tried with chname as suggested a few years ago, it works nice in CLI, but for some reason I can't get it run in init script.
TLDRL;
How to get the client names from "--hostID" to show up like "Kitchen" and "Bedroom", instead of "Kitchen#2" and "Bedroom#4"?
Beta Was this translation helpful? Give feedback.
All reactions