ralphy wrote: 
> You can use the 'patchelf utility' (https://nixos.org/patchelf.html) to
> set the library path directly in the squeezelite binary.
> 
> > 
Code:
--------------------
  >   > patchelf --set-rpath /volume1/@appstore/AudioStation/lib 
squeezelite-x86-64
--------------------
> > 
> 
> As it's unlikely available on the NAS I've modified one for you.
> 
> > 
Code:
--------------------
  >   > patchelf --print-rpath squeezelite-x86-64
  > /volume1/@appstore/AudioStation/lib
--------------------
> > 
> 
> Try replacing the old 1.6.5 binary with 'the modified one'
> (http://ralph-irving.users.sourceforge.net/files/squeezelite-1.9.0.1119-x86_64.tar.gz
> ).
> 
> > 
Code:
--------------------
  >   > 
http://ralph-irving.users.sourceforge.net/files/squeezelite-1.9.0.1119-x86_64.tar.gz
--------------------
> > 

Thanks, ralphy!

That did the trick, it plays fine from command line. :-)
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:

Output of local player log:


Code:
--------------------
    
  
/volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-x86-64
 -d all=debug -f /volume1/@appstore/SqueezeCenter/Logs/localplayer.log 
  [14:38:10.148558] stream_init:294 init stream
  [14:38:10.148772] stream_init:295 streambuf size: 2097152
  [14:38:10.150376] output_init_alsa:939 init output
  [14:38:10.150467] output_init_alsa:979 requested alsa_buffer: 40 alsa_period: 
4 format: any mmap: 1
  [14:38:10.150494] output_init_common:350 outputbuf size: 3528000
  [14:38:10.150562] output_init_common:374 idle timeout: 0
  [14:38:10.152983] ALSA parse_card:768 cannot find card '0'
  [14:38:10.153044] ALSA _snd_config_evaluate:4241 function 
snd_func_card_driver returned error: No such file or directory
  [14:38:10.153064] ALSA snd_func_concat:392 error evaluating strings
  [14:38:10.153083] ALSA _snd_config_evaluate:4241 function snd_func_concat 
returned error: No such file or directory
  [14:38:10.153102] ALSA snd_func_refer:1251 error evaluating name
  [14:38:10.153120] ALSA _snd_config_evaluate:4241 function snd_func_refer 
returned error: No such file or directory
  [14:38:10.153162] ALSA snd_config_expand:4720 Evaluate error: No such file or 
directory
  [14:38:10.153184] ALSA snd_pcm_open_noupdate:2217 Unknown PCM default
  [14:38:10.153207] test_open:281 playback open error: No such file or directory
  [14:38:10.153224] output_init_common:384 unable to open output device: default
  
--------------------


------------------------------------------------------------------------
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to