Thorden wrote: 
> Thanks, ralphy!
> However, I need to be root to execute it, and it won't load from LMS.
> Looks like a rights issue to the sound device.
> Do I need to change permissions of the device, or add a user to a group?
> 
> I can't find a user for LMS, and I can't find a way to add the user to a
> group either. addgroup doesnt't exist, nor does usermod. :confused:
> 

Found the synouser and synogroup commands, they should be able to do it.
Added admin to the audio group, but that wasn't enough. 


Code:
--------------------
    sudo synogroup --get audio
  Group Name: [audio]
  Group Type: [AUTH_LOCAL]
  Group ID:   [65537]
  Group Members:
  0:[admin]
  
--------------------



Code:
--------------------
     ./squeezelite-x86-64 -d all=info -a 88200:1298:16:1 -o hw:0,0
  [14:55:19.935232] stream_init:294 init stream
  [14:55:19.937117] output_init_alsa:939 init output
  [14:55:19.937221] output_init_alsa:979 requested alsa_buffer: 88200 
alsa_period: 1298 format: 16 mmap: 1
  [14:55:19.938812] ALSA _snd_pcm_hw_open:1401 Invalid value for card
  [14:55:19.938923] test_open:281 playback open error: No such file or directory
  [14:55:19.938947] output_init_common:384 unable to open output device: hw:0,0
  
--------------------



Code:
--------------------
    sudo  ./squeezelite-x86-64 -d all=info -a 88200:1298:16:1 -o hw:0,0
  [14:56:01.395920] stream_init:294 init stream
  [14:56:01.397800] output_init_alsa:939 init output
  [14:56:01.397905] output_init_alsa:979 requested alsa_buffer: 88200 
alsa_period: 1298 format: 16 mmap: 1
  [14:56:01.399628] output_init_common:414 supported rates: 48000 44100 32000
  [14:56:01.404117] output_init_alsa:1005 memory locked
  [14:56:01.404431] output_thread:687 open output device: hw:0,0
  [14:56:01.404444] decode_init:153 init decode
  [14:56:01.404965] alsa_open:351 opening device at: 44100
  [14:56:01.405024] register_dsd:908 using dsd to decode dsf,dff
  [14:56:01.405056] register_ff:795 using ffmpeg to decode alc
  [14:56:01.405071] register_ff:779 using ffmpeg to decode wma,wmap,wmal
  [14:56:01.405085] register_faad:641 using faad to decode aac
  [14:56:01.405099] register_vorbis:334 using vorbis to decode ogg
  [14:56:01.405112] register_flac:294 using flac to decode flc
  [14:56:01.405125] register_pcm:433 using pcm to decode aif,pcm
  [14:56:01.405140] register_mad:414 using mad to decode mp3
  [14:56:01.405342] alsa_open:422 opened device hw:0,0 using format: S16_LE 
sample rate: 44100 mmap: 1
  [14:56:01.405385] discover_server:784 sending discovery
  [14:56:01.405408] alsa_open:513 buffer: 88200 period: 1298 -> buffer size: 
88200 period size: 1298
  [14:56:01.405922] discover_server:795 got response from: 10.0.0.15:3483
  [14:56:01.408090] slimproto:883 connecting to 10.0.0.15:3483
  [14:56:01.408307] slimproto:922 connected
  [14:56:01.408342] slimproto:933 local player
  [14:56:01.408377] sendHELO:130 mac: 00:11:32:61:0e:11
  [14:56:01.408402] sendHELO:132 cap: 
Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.0-1119,ModelName=SqueezeLite,MaxSampleRate=48000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3,loc
  [14:56:01.420168] decode_flush:229 decode flush
  [14:56:01.420240] output_flush:427 flush output buffer
  [14:56:01.420478] decode_flush:229 decode flush
  [14:56:01.420512] output_flush:427 flush output buffer
  
--------------------


So, has to be a rights issue, right?


------------------------------------------------------------------------
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