I am not sure that Kodi and Spotify Connect Web can share the Hifiberry DAC+
ah okay thanks for the info!
I am not sure that Kodi and Spotify Connect Web can share the Hifiberry DAC+
ah okay thanks for the info!
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!
Thank you,
but it doesn't work for me.
I think my key isn't made for any acc. Just a "test-key" maybe.
Code Display MoreLibreELEC:~ # spotify-connect-web.start Simple mixer control 'PCM',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback -10239 - 400 Mono: Playback -1727 [80%] [-17.27dB] [on] numid=3,iface=MIXER,name='PCM Playback Route' ; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0 : values=0 Loading Spotify library... Established under name 'TestConnect' min_volume_range: 0.0 Using libspotify_embedded version: release-esdk-1.20.0-v1.20.0-g594175d4 SpInit: 5 SpInit failed, exiting
Do you guys see you're acc name at this place? ....Established under name 'TestConnect'.....
I tried to put just the "BASE64 APPKEY" text which is written in the email, as well. But same problem. So i don't know.
I have this name too
Thanks.
But I can't find in the "28 issues" any problems like this, on github.
Edit:
I have 4 options in my email from spotify.
HEX/BASE16 APPKEY
BASE64 APPKEY
BINARY APPKEY
C APPKEYUnder these options are a lot of "words" Maybe i can do something with this stuff?
Well, and the spotify_app.key from spotify, as well.
you can generate your app key by doing the following steps:
1. open Base64 Online - base64 decode and encode
2. paste your key in the into the field
3. select decode and "to binary file"
4. save the binary file. With this file it should work
Sorry that I am writing again, but I still have problems with the addon. Sometimes I can't hear anything. The Web Server is reachable, it shows that something is playing and it says Currently Active Device?: true
It looks like the volume is set to low but it isn't.
I tried to:
- change the volume in kodi and in spotify (it doesn't make any difference if I play it from spotify desktop or the spotify app)
- reinstall the addon
- reconfigure the addon with all posibilities
My setup is:
Raspberry PI 2
Libreelec 7.90.008
Hifiberry DAC+ Standard Phone Jack Version
Sometimes it helps to change the audio output in Kodi to HDMI. But 1. it doesn't solve the problem always 2. I would like to have kodi and spotify sound through the hifiberry.
thanks for your help
Hi
i've one more problem:
My maximum volume output is changing randomly since i am using the addon. After I listened to music and try to watch a video, the volume is more silent than before although it is set to 100%. Then I have to go to the spotify connect addon configuration, change the initial volume (if it is set 100% I change to 80% press okay, open configuration again and change to 100% again) and then the volume is normal again.
can someone help me?
okay little update:
Now it is working with my own appkey. I had to create the binary file by myself. I did that with that tool: Base64 Online - base64 decode and encode
cheers
Steffen
Contact via twitter was successful. I just received this message (and the key) from Spotify Developer Support <[email protected]>:
Michael
does it work with your key? If yes, did you just take the attached spotify_appkey.key file?
Hm... Difficult to assess... Try running manually:
systemctl stop service.spotify-connect-web
spotify-connect-web.startAlso, are you using a key file provided by Spotify?
I tried it with the key I got from spotify today but it does not work. I need the key as a binary file right? Maybe the key I received as the .key-file isn't a binary file and thats the problem? I don't know..
in the mail from spotify there is a part:
Quote
--[ BINARY APPKEY ]---echo "blablablabla" | base64 -D >appkey$
bin
Maybe I have to create the binary key file by myself with this command but I don't know how to do that
At the moment i am using another key and it is working.
EDIT: Okay I just succeeded creating a binary file out of the code spotify sent to me in the email. I will test tomorrow if it works
Maybe have a look atjournalctl -u service.spotify-connect-web
You'll probably get a good info on what's happening
it says:
Quote
-- Logs begin at Thu 2016-11-17 21:01:29 CET, end at Thu 2016-11-17 21:12:11 CET. -- Nov 17 21:01:29 LibreELEC sh[10097]: Loading Spotify library... Nov 17 21:01:29 LibreELEC sh[10097]: min_volume_range: 0.0 Nov 17 21:01:29 LibreELEC sh[10097]: Using libspotify_embedded version: release-esdk-1.20.0-v1.20.0-g594175d4 Nov 17 21:01:29 LibreELEC sh[10097]: SpInit: 2 Nov 17 21:01:29 LibreELEC sh[10097]: SpInit failed, exiting Nov 17 21:01:29 LibreELEC systemd[1]: [[0;1;39mservice.spotify-connect-web.service: Main process exited, code=exited, status=1/FAILURE[[0m Nov 17 21:01:29 LibreELEC sh[10097]: Got SIGTERM, quitting. Nov 17 21:01:29 LibreELEC systemd[1]: [[0;1;39mservice.spotify-connect-web.service: Unit entered failed state.[[0m Nov 17 21:01:29 LibreELEC systemd[1]: [[0;1;39mservice.spotify-connect-web.service: Failed with result 'exit-code'.[[0m Nov 17 21:01:29 LibreELEC systemd[1]: service.spotify-connect-web.service: Service hold-off time over, scheduling restart. Nov 17 21:01:29 LibreELEC systemd[1]: Stopped spotify-connect-web. Nov 17 21:01:29 LibreELEC systemd[1]: Started spotify-connect-web. Nov 17 21:01:29 LibreELEC sh[10121]: Simple mixer control 'Digital',0 Nov 17 21:01:29 LibreELEC sh[10121]: Capabilities: pvolume pswitch Nov 17 21:01:29 LibreELEC sh[10121]: Playback channels: Front Left - Front Right Nov 17 21:01:29 LibreELEC sh[10121]: Limits: Playback 0 - 207 Nov 17 21:01:29 LibreELEC sh[10121]: Mono: Nov 17 21:01:29 LibreELEC sh[10121]: Front Left: Playback 166 [80%] [-20.50dB] [on] Nov 17 21:01:29 LibreELEC sh[10121]: Front Right: Playback 166 [80%] [-20.50dB] [on] Nov 17 21:01:30 LibreELEC sh[10121]: Established under name 'TestConnect' Nov 17 21:01:32 LibreELEC sh[10121]: Loading Spotify library... Nov 17 21:01:32 LibreELEC sh[10121]: min_volume_range: 0.0 Nov 17 21:01:32 LibreELEC sh[10121]: Using libspotify_embedded version: release-esdk-1.20.0-v1.20.0-g594175d4 Nov 17 21:01:32 LibreELEC sh[10121]: SpInit: 2 Nov 17 21:01:32 LibreELEC sh[10121]: SpInit failed, exiting Nov 17 21:01:32 LibreELEC systemd[1]: [[0;1;39mservice.spotify-connect-web.service: Main process exited, code=exited, status=1/FAILURE[[0m Nov 17 21:01:32 LibreELEC sh[10121]: Got SIGTERM, quitting. Nov 17 21:01:32 LibreELEC systemd[1]: [[0;1;39mservice.spotify-connect-web.service: Unit entered failed state.[[0m Nov 17 21:01:32 LibreELEC systemd[1]: [[0;1;39mservice.spotify-connect-web.service: Failed with result 'exit-code'.[[0m Nov 17 21:01:33 LibreELEC systemd[1]: service.spotify-connect-web.service: Service hold-off time over, scheduling restart. Nov 17 21:01:33 LibreELEC systemd[1]: Stopped spotify-connect-web. Nov 17 21:01:33 LibreELEC systemd[1]: Started spotify-connect-web. Nov 17 21:01:33 LibreELEC sh[10144]: Simple mixer control 'Digital',0 Nov 17 21:01:33 LibreELEC sh[10144]: Capabilities: pvolume pswitch Nov 17 21:01:33 LibreELEC sh[10144]: Playback channels: Front Left - Front Right Nov 17 21:01:33 LibreELEC sh[10144]: Limits: Playback 0 - 207 Nov 17 21:01:33 LibreELEC sh[10144]: Mono: Nov 17 21:01:33 LibreELEC sh[10144]: Front Left: Playback 166 [80%] [-20.50dB] [on] Nov 17 21:01:33 LibreELEC sh[10144]: Front Right: Playback 166 [80%] [-20.50dB] [on] Nov 17 21:01:34 LibreELEC sh[10144]: Established under name 'TestConnect' Nov 17 21:01:36 LibreELEC sh[10144]: Loading Spotify library... Nov 17 21:01:36 LibreELEC sh[10144]: min_volume_range: 0.0 Nov 17 21:01:36 LibreELEC sh[10144]: Using libspotify_embedded version: release-esdk-1.20.0-v1.20.0-g594175d4 Nov 17 21:01:36 LibreELEC sh[10144]: SpInit: 2 Nov 17 21:01:36 LibreELEC sh[10144]: SpInit failed, exiting Nov 17 21:01:36 LibreELEC systemd[1]: [[0;1;39mservice.spotify-connect-web.service: Main process exited, code=exited, status=1/FAILURE[[0m Nov 17 21:01:36 LibreELEC sh[10144]: Got SIGTERM, quitting. Nov 17 21:01:36 LibreELEC systemd[1]: [[0;1;39mservice.spotify-connect-web.service: Unit entered failed state.[[0m Nov 17 21:01:36 LibreELEC systemd[1]: [[0;1;39mservice.spotify-connect-web.service: Failed with result 'exit-code'.[[0m standard input
You have to download the mail attachement spotify_appkey.key and copy this file in \Userdata\addon_data\service.spotify-connect-web
I did that but it doesn't work.
No connection to webservice at port 4000
I just got my app key with this message(FYI):
QuoteDisplay More
Hi Steffen,You've requested a Spotify App Key for libspotify. Thanks for the interest!
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.
That said, please find your app key attached, with other formats in the footer of this email.
Best regards,
Spotify Developer Support
under this there were some code like:
--[ HEX/BASE16 APPKEY ]---
*code*
--[ BASE64 APPKEY ]---
*code*
--[ BINARY APPKEY ]---
*code*
--[ C APPKEY ]---
*code*
----
there is also an attachement with the spotify_appkey.key
The Problem is:
It isn't working anymore. I don't get any connection to the webservice. With the key I downloaded from the internet, is is working.
Do I have to create the binary file by myself? I copied the code under --[ BINARY APPKEY ]--- in a editor and saved it as spotify_appkey.key but this neither works.
EDIT1: in other words: How do I create the binary file out of the code?
EDIT2: the binary code starts with echo. When I put it in terminal it says: Invalid character in input stream
Do you have any idea @awiouy
thank you!
thanks!
Is the spotify_appkey.key unique oder the same for every user? I just found one to download and it is working.
I see the webinterface on port 4000.
Now my problem is: The webinterface shows the playing music but mostly I don't hear anything. But sometimes it is working (I can't really reproduce it). I tried all the possibilities in the configuration wizard but that didn't solve the problem
I am using a raspberry Pi with Libreelec and Hfiberry DAC. What do I have to select in the configuration wizard? The options are:
- default:CARD=sndrpihifiberry
- sysdefault:CARD=sndrpihifiberry
Does it matter which one I select? And Mixer Analogue or Digital?
Sorry for the stupid questions :s
okay meanwhile I think spotify doesn't create libspotify appkeys anymore
or did anybody get one within the last days?
is it possible to change the way of the authorization in the addon maybe with the Web API?
Hm... the libspotify key generation and retrieval service is currently offline... have you seen online, effe?
mh okay I thought the automatic generation of the key is offline and I will get one manually if I fill the form... I don't know.
I wrote spotify on twitter and they said they will look what they can do.
Maybe I just have to wait..
meh... iirc you download it from the web page
sorry I didn't get that.
I can download the key from the webpage?
thanks for the answer.
yes I did but it isn't there
Hi,
I'm trying to get the app key since a few days but I do not get one. I filled the request form several times but nothing happens. I wrote a mail to spotify but I think the only answers I get are prebuilt mails with content like reinstall spotify...
How long did it take for you to get the key? I am using a familiy abo, is that a problem?
Maybe someone has an idea what I could do
thank you!