Hey everyone,
I’m a Odroid N2+ user. I’ve been trying to get librespot to work with my device so we can listen to music in the livingroom, but I am thoroughly stuck.
So from these forums I have figured out that the 20.2.2 version of librespot that is in the current repository is broken, so I have instead manually installed the recommended new version, 20.3.2 using a zip file.
It appears to be working, at least on some level. My spotify app can see it, and connect to it, and from the app, it LOOKS like it is playing in CoreElec, but the only problem is nothing is happening.
Part of my problem in troubleshooting this is that I am not sure what I am supposed to expect when using librespot. Is a window supposed to pop up on screen when I start using it? If so that isn’t working.
Is it just supposed to sit in the background and play audio without any visual cues on screen? if so, then it might be my sound settings that are wrong.
But I have tried just about everything sound setting wise, and still, I get nothing but silence.
I changed the settings to ALSA, and by default it populated “hw:2,0” which I don’t think is an alsa device on my box.
“aplay -l” shows the following which is remarkably unhelpful:
**** List of PLAYBACK Hardware Devices ****
card 0: AMLAUGESOUND [AML-AUGESOUND], device 0: SPDIF-B-dummy dummy-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLAUGESOUND [AML-AUGESOUND], device 1: TDM-B-T9015-audio-hifi T9015-audio-hifi-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLAUGESOUND [AML-AUGESOUND], device 2: SPDIF-A-dummy dummy-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLAUGESOUND [AML-AUGESOUND], device 3: TDM-C-dummy dummy-3 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Based on this, I guessed by device was “hw:0,1” as everything else said “dummy” but that produced no sound at all.
I tried again with aplay -L and it is at least a little bit more helpful:
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=AMLAUGESOUND
AML-AUGESOUND,
Default Audio Device
sysdefault:CARD=AMLAUGESOUND
AML-AUGESOUND,
Default Audio Device
surround71:CARD=AMLAUGESOUND,DEV=0
AML-AUGESOUND,
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=AMLAUGESOUND,DEV=0
AML-AUGESOUND,
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=AMLAUGESOUND,DEV=0
AML-AUGESOUND,
HDMI Audio Output
Kodi is currently set to play back on ALSA:AML-AUGESOUND, HDMI, and the sound is getting to the right output (HDMI → TV, analog output from TV to amplifier), so I figured I should set it to the same thing to make sure the audio went to the right place.
So, I tried setting the alsa device in the librespot settings to “hdmi:CARD=AMLAUGESOUND,DEV=0” to no avail. The same happens. There is just no output.
Then I read that the “Keep Audio Device Alive” setting in Kodi can interfere with it, so I turned that off. Still nothing.
Figuring maybe it was an alias, via hardware id problem, I tried using the direct device name which I interpreted to be “hw:0,0” but also, nothing.
At this point I am stuck. I’d appreciate any help from anyone who might have this working.
I’d post logs, but I am not quite sure where to find them. I don’t see anything that looks relevant in /var/log. From what I recall of Kodi on the Linux desktop, it drops logs in the users home directory. It looks like /storage is the home directory, so I found the .kodi folder there, and there are some main kodi logs, but nothing that seems relevant to the plugin.
So, I am thoroughly stuck. Appreciate any help and / or suggestions.
Much appreciated,
Matt