bpa wrote: 
> At the moment I can't look at the posts in more detail but the message
> "ALSA _snd_pcm_hw_open:1401 Invalid value for card" could mean one of
> the parameters value is not supported but rights/access/permissions is
> most likely.
> 
> Check what groups Audiostation user id belongs to ?

Looks like slimserver is running as this one: 
15149 ?        Ss     0:22 /usr/bin/perl
/volume1/@appstore/SqueezeCenter/slimserver.pl --daemon --pidfile
/volume1/@appstore/SqueezeCenter/Cache/slimserv

The PID is running as user admin. 

AudioStation user belongs to AudioStation group. I added admin to this
group, no change. 

If I log in as admin and use the command: ./squeezelite-x86-64 -d
all=info -a 88200:1298:16:1 -o hw:0,0
I get:

[15:34:17.383644] stream_init:294 init stream
[15:34:17.385529] output_init_alsa:939 init output
[15:34:17.385682] output_init_alsa:979 requested alsa_buffer: 88200
alsa_period: 1298 format: 16 mmap: 1
[15:34:17.387244] ALSA _snd_pcm_hw_open:1401 Invalid value for card
[15:34:17.387346] test_open:281 playback open error: No such file or
directory
[15:34:17.387378] output_init_common:384 unable to open output device:
hw:0,0

If I sudo the command, or sudo -i first, it works fine.

The reason for the missing hw:0,0 earlier was because it was output from
the local player plugin with no optional parameters specified. 

But in fact that don't seem to matter, the basic command line command 
-sudo ./squeezelite-x86-64- works like a charm.


------------------------------------------------------------------------
Thorden's Profile: http://forums.slimdevices.com/member.php?userid=66927
View this thread: http://forums.slimdevices.com/showthread.php?t=97766

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to