No process with squeezelite is running.
On the terminal I listed the available outputs
# squeezelite -l
Output devices:
null - Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH - HDA Intel PCH, ALC892 Analog - Default Audio Device
sysdefault:CARD=PCH - HDA Intel PCH, ALC892 Analog - Default Audio Device
front:CARD=PCH,DEV=0 - HDA Intel PCH, ALC892 Analog - Front speakers
surround21:CARD=PCH,DEV=0 - HDA Intel PCH, ALC892 Analog - 2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0 - HDA Intel PCH, ALC892 Analog - 4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0 - HDA Intel PCH, ALC892 Analog - 4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0 - HDA Intel PCH, ALC892 Analog - 5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0 - HDA Intel PCH, ALC892 Analog - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0 - HDA Intel PCH, ALC892 Analog - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0 - HDA Intel PCH, ALC892 Digital - IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0 - HDA Intel PCH, HDMI 0 - HDMI Audio Output
hdmi:CARD=PCH,DEV=1 - HDA Intel PCH, HDMI 1 - HDMI Audio Output
hdmi:CARD=PCH,DEV=2 - HDA Intel PCH, HDMI 2 - HDMI Audio Output
hdmi:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 3 - HDMI Audio Output
hdmi:CARD=PCH,DEV=4 - HDA Intel PCH, HDMI 4 - HDMI Audio Output
Display More
and I could start a squeezeboxserver with
squeezeboxlite -o default:CARD=PCH
So I want to change the audio device in the addon from auto to default:CARD=PCH
but I get an error, see log file.2019-12-16 18:59:53.950 T:140152416491264 WARNING: Previous line repeats 83 times.
2019-12-16 18:59:53.950 T:140152416491264 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: [Errno 13] Permission denied
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.audio.squeezebox/plugin.py", line 16, in <module>
PluginContent()
File "/storage/.kodi/addons/plugin.audio.squeezebox/resources/lib/plugin_content.py", line 43, in __init__
self.select_output()
File "/storage/.kodi/addons/plugin.audio.squeezebox/resources/lib/plugin_content.py", line 735, in select_output
devices += get_audiodevices()
File "/storage/.kodi/addons/plugin.audio.squeezebox/resources/lib/utils.py", line 111, in get_audiodevices
sl_exec = subprocess.Popen(args, startupinfo=startupinfo, stderr=subprocess.STDOUT, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
OSError: [Errno 13] Permission denied
-->End of Python script error report<--
2019-12-16 18:59:54.491 T:140151398508288 WARNING: plugin.audio.squeezebox --> Exception in lmsserver ! --> Server is offline or connection error...
Display More
Looks like the default addon permissions are not correct...
What permissions should be set?