- Official Post
Hi,Thanks to everyone.
I don't know why but it's working now.
I just installed the connect web again. But I did it before, too. So yeah, I don't know.
Thanks.
Cool! Enjoy!
Hi,Thanks to everyone.
I don't know why but it's working now.
I just installed the connect web again. But I did it before, too. So yeah, I don't know.
Thanks.
Cool! Enjoy!
HI All!
thanks for all the work!
Question: It's possible to replace the name of the avahi service somehow?
maybe it's a good idea to adding the option to the addon configuration?
and also the option to use avahi or not at all...
just suggestions...
Thanks again
Best Regards!
CarlosMC,
The service uses the hostname (libreelec by default) to announce itself. To change it, change the LE hostname.
Posts in this thread indicate that avahi simplifies setup and use of the addon. Do you have any objective reason to want to disable it?
CarlosMC,The service uses the hostname (libreelec by default) to announce itself. To change it, change the LE hostname.
Posts in this thread indicate that avahi simplifies setup and use of the addon. Do you have any objective reason to want to disable it?
Thanks for the answer!
I was thinking this "TestConnection" in the avahi command is used to announce the service.
No really, just asking about disabling avahi in case someone don't want it.
hi i try this addon for kszaq's LE8.0 32bit userspace, i'm using MXQ Quick Play s905
i've received email from spotify, and placed the attachment in /storage/.kodi/userdata/addon_data/service.spotify-connect-web/
when i execute
LibreELEC:~ # systemctl stop service.spotify-connect-web
LibreELEC:~ # spotify-connect-web.start
Loading Spotify library...
Established under name 'TestConnect'
Traceback (most recent call last):
File "loader.py", line 3, in <module>
File "runpy.py", line 180, in run_moduleh
File "runpy.py", line 72, in _run_code
File "/storage/.kodi/addons/service.spotify-connect-web/main.py", line 14, in <module>
from connect import Connect
File "/storage/.kodi/addons/service.spotify-connect-web/connect.py", line 9, in <module>
from console_callbacks import audio_arg_parser, mixer, error_callback, connection_callbacks, debug_callbacks, playback_callbacks, playback_setup
File "/storage/.kodi/addons/service.spotify-connect-web/console_callbacks.py", line 118, in <module>
min_volume_range = (1 - selected_volume_range / volume_range) * 100
ZeroDivisionError: float division by zero
Failed to execute script loader
Display More
please help, thanks
hi i try this addon for kszaq's LE8.0 32bit userspace, i'm using MXQ Quick Play s905
i've received email from spotify, and placed the attachment in /storage/.kodi/userdata/addon_data/service.spotify-connect-web/
when i executePython Display MoreLibreELEC:~ # systemctl stop service.spotify-connect-web LibreELEC:~ # spotify-connect-web.start Loading Spotify library... Established under name 'TestConnect' Traceback (most recent call last): File "loader.py", line 3, in <module> File "runpy.py", line 180, in run_moduleh File "runpy.py", line 72, in _run_code File "/storage/.kodi/addons/service.spotify-connect-web/main.py", line 14, in <module> from connect import Connect File "/storage/.kodi/addons/service.spotify-connect-web/connect.py", line 9, in <module> from console_callbacks import audio_arg_parser, mixer, error_callback, connection_callbacks, debug_callbacks, playback_callbacks, playback_setup File "/storage/.kodi/addons/service.spotify-connect-web/console_callbacks.py", line 118, in <module> min_volume_range = (1 - selected_volume_range / volume_range) * 100 ZeroDivisionError: float division by zero Failed to execute script loader
please help, thanks
Have you used the configuration wizard in the settings of the addon?
What is your sound device? What device and mixer does the wizard report?
Have you used the configuration wizard in the settings of the addon?
What is your sound device? What device and mixer does the wizard report?
wow that was too quick reply
yup i have filled some informations on the wizard, user/pass and picked one of the available playback device which is default:CARD=AMLM8AUDIO, but in the mixer setting only blank typable box, dont know what to fill in there
LibreELEC:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AMLM8AUDIO [AML-M8AUDIO], device 0: I2S.37 dummy-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: AMLM8AUDIO [AML-M8AUDIO], device 1: SPDIF.38 dit-hifi-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLM8AUDIO [AML-M8AUDIO], device 2: PCM.39 pcm2bt-pcm-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
LibreELEC:~ # aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=AMLM8AUDIO
AML-M8AUDIO,
Default Audio Device
sysdefault:CARD=AMLM8AUDIO
AML-M8AUDIO,
Default Audio Device
front:CARD=AMLM8AUDIO,DEV=0
AML-M8AUDIO,
Front speakers
surround51:CARD=AMLM8AUDIO,DEV=0
AML-M8AUDIO,
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=AMLM8AUDIO,DEV=0
AML-M8AUDIO,
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=AMLM8AUDIO,DEV=0
AML-M8AUDIO,
HDMI Audio Output
LibreELEC:~ # amixer
Simple mixer control 'Audio i2s mute',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Audio spdif mute',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Ext Spk',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Display More
what else should i try?
wow that was too quick reply
yup i have filled some informations on the wizard, user/pass and picked one of the available playback device which is default:CARD=AMLM8AUDIO, but in the mixer setting only blank typable box, dont know what to fill in there
what else should i try?
The addon will not work without a mixer.
I have encountered the same issue with an Odroid C2. Not sure how to solve it, maybe with a software mixer. But then, you need to ask someone who knows how to do that on LE.
The addon will not work without a mixer.
I have encountered the same issue with an Odroid C2. Not sure how to solve it, maybe with a software mixer. But then, you need to ask someone who knows how to do that on LE.
hmm, i have no clue who's that someone, i just keep an eye on this thread instead
keep up the good work awiouy
Firstly, thank you to awiouy and any other person involved in getting this to work!
Long time user of XBMC/Kodi etc. Just installed LibreElec on my RPi3 and got Spotify Connect working without any issues. I love the fact that it "just works" after initial setup. My only concern is what Spotify mentioned in their mail:
QuoteDisplay More
Please be aware that libspotify has been deprecated since 2012, and is
no longer supported in any way. This means that it could stop working
at any moment, and will not be fixed. We understand that some open
source media centers and other projects use libspotify and require
Spotify App Keys, and therefore in some cases we manually issue them
to users. We strongly recommend not developing any new software using
libspotify. We're actively looking for a solution for this particular
use case.
Perhaps this is just a disclaimer they've been using for a long time, though does anyone know if there is a proper successor to libspotify?
Anyway, thanks for this great solution!
Edit: This is probably old news here - Libspotify SDK - Spotify Developer I hope that developers will be able to use their upcoming API for stuff like Kodi/LibreElec.
Hi,
can somebody tell me how long it will take until I receive my Spotify App key?
Hi,can somebody tell me how long it will take until I receive my Spotify App key?
It took a few weeks for me, I doubt it's a high priority sice it is no longer supported.
Hello there,
Sorry for my bad english, im trying my best!
so here is my problem:
I get no output sound over my TV.
I have a PI 3 with the newest LE Version. I made the following steps:
1. activate BT an connect with my iPhone 6s
2. install Spotify Connect Web
3. enter my username and password
4. bit rate on -
5. When i click on configuration ASLA there is only default and sysdefault. Mixer ist set on PCM. There is no other possibility.
6. Playback Route is set von auto detect
On my iPhone Spotify detects LE and is able to connect, But there is no sound ... I also tryed to change my audio output in the kodi settings but still doenst work.
I also dont understand how to check port 4000 like the instructions tells me to.
Display More
Hello there,Sorry for my bad english, im trying my best!
so here is my problem:
I get no output sound over my TV.I have a PI 3 with the newest LE Version. I made the following steps:
1. activate BT an connect with my iPhone 6s
2. install Spotify Connect Web
3. enter my username and password
4. bit rate on -
5. When i click on configuration ASLA there is only default and sysdefault. Mixer ist set on PCM. There is no other possibility.
6. Playback Route is set von auto detectOn my iPhone Spotify detects LE and is able to connect, But there is no sound ... I also tryed to change my audio output in the kodi settings but still doenst work.
I also dont understand how to check port 4000 like the instructions tells me to.
BT is not needed unless you're using a BT speaker. Did you do step 2 and 3 from the original post?
really? otherwise Spotify doenst detect LE in the device list.
No i didnt, still waiting for my key. Could take a few weeks. But other users told me, that its not needed since u can enter username and password. Like the instructions say "optionally...". Or am i getting it wrong?
really? otherwise Spotify doenst detect LE in the device list.No i didnt, still waiting for my key. Could take a few weeks. But other users told me, that its not needed since u can enter username and password. Like the instructions say "optionally...". Or am i getting it wrong?
The username and password is optional, not any of the other steps. I never have bluetooth enabled unless I'm using an external bluetooth device, so I'm not quite sure what's going on there.
ok so the problem should be the missing app key. Since Spotify take so long or maybe doesnt even send them, is there an other possiblity to get my app key an create the needed data?
Hi,
I've the following setup: Raspberry Pi 2 with Hifiberry DAC+, LibreELEC 7.90.010 (Kodi 17 Beta 7).
I set the DAC as Audio Output in the LibreELEC Settings. I configured the Spotify Addon with the Wizzard (Service at Port 4000 is running). When I press play, I don't hear anything. If I change the Audio Output in the LibreELEC settings to HDMI I can hear the music (through the Hifiberry DAC). When I change it back, I can't hear the music anymore
Could someone explain what I am doing wrong?
thanks!