Any news on this? I can't get it to work on LE...it would be great though...
Spotify Connect
-
gschmidt -
April 12, 2016 at 7:25 PM -
Thread is Unresolved
-
-
- Official Post
Hi,
I tried this, unsucessfully, similar to what c0rrre reported above.
I have opened an issue at Fornoth/spotify-connect-web.
If I can make it work, I'll wrap it in an addon. -
Tried it also and couldn't get it to work even when trying to change muxers, enabling alsa and so on...
-
- Official Post
-
- Official Post
I managed to make it work:
- remove/rename libasound.so.2 from the spotify-connect-web directory
- run ./spotify-connect-web -o hw:0,1 -u username -p password
- no need to create /storage/.config/asound.conf
- do not forget to add your spotify_appkey.keyI guess this can be improved, since the output of amixer hints at mono output.
A addon is on the way, nevertheless!
Until then, please be so kind to share your feedback/requests on this thread.
Enjoy!
-
- Official Post
I have taken the liberty to wrap the spotify-connect-web project into addons, that I have proposed to LibreELEC.
I am looking for volunteers to test drive these addons.
Unfortunately, the spotify-connect-web project only runs on Raspberry 2 and 3 devices, and overcoming this limitation lies with the spotify-connect-web project. As a consequence thereof, the addons only run on Raspberry 2 and 3 devices.
The addons are available from the LibreELEC repository.
Operation:
1. Install the addon
2. Get your spotify_appkey.key from here
3. Place the spotify_appkey.key in the addon home folder, ie smb://libreelec.local/userdata/addon_data/service.spotify-connect-web
4. Configure Spotify username and password via the addon settings
5. Redirect Spotify streams from your Spotify app to LibreELEC
6. Enjoy!Further reading:
spotify-connect-web README.md
Spotify Connect forum threadNew with release 91:
- added bit rate to the addon settings
- added playback route to the addon settings
- removed spotify_appkey.key from the addon settings: spotify_appkey.key must be located in the addon home folder
- cosmetic changes -
I have taken the liberty to wrap the spotify-connect-web project into addons, that I have proposed to LibreELEC.I am looking for volunteers to test drive these addons.
Unfortunately, the spotify-connect-web project only runs on Raspberry 2 and 3 devices, and overcoming this limitation lies with the spotify-connect-web project. As a consequence thereof, the addons only run on Raspberry 2 and 3 devices.
The addons:
Spotify Connect for RPi2 for LibreELEC 7.0
Spotify Connect for RPi2 for LibreELEC 8.0Operation:
1. Install the addon
2. Get your spotify_appkey.key from here
3. Place the spotify_appkey.key in the addon home folder, ie smb://libreelec.local/userdata/addon_data/service.spotify-connect-web
4. Configure Spotify username and password via the addon settings
5. Redirect Spotify streams from your Spotify app to LibreELEC
6. Enjoy!Further reading:
spotify-connect-web README.md
Spotify Connect forum threadWorking a treat!
Hopefully the Libreelec team see the value in this and add it to their repo, finally an alternative to using airplay from my iPhone.
Awesome work,
Thanks
Loggio.
-
Hi. Many thanks for this addon! Works like a charme.
The Spotify-Connect-Web Script has a -bitrate option to specify a custom bitrate.
Is it possible to set the bitrate somewhere in the addon-python files?
Sadly, the addon settings are not providing this option.
spotify-connect-web/README.md at master · Fornoth/spotify-connect-web · GitHub
Thanks in advance and keep up the great work!
Dom -
- Official Post
Hi. Many thanks for this addon! Works like a charme.The Spotify-Connect-Web Script has a -bitrate option to specify a custom bitrate.
Is it possible to set the bitrate somewhere in the addon-python files?
Sadly, the addon settings are not providing this option.
spotify-connect-web/README.md at master · Fornoth/spotify-connect-web · GitHub
Thanks in advance and keep up the great work!
DomHello DomJ4ck,
Thank you for the feedback. I will add the bitrate option. I will also add an option to select the playback route (auto, HDMI or jack).
I am however away from my computer, so you will have to wait a bit.
Thank you for your patience.
-
Hello DomJ4ck,
Thank you for the feedback. I will add the bitrate option. I will also add an option to select the playback route (auto, HDMI or jack).
I am however away from my computer, so you will have to wait a bit.
Thank you for your patience.
Amazing!
Thank you. -
- Official Post
I have updated the preview addons, see my updated post above.
I hope they will work for you.My next steps:
1. create a small Alpine based docker image to run spotify-connect-web on all LibreELEC arm projets
2. offload ALSA configuration (common to spotify-connect-web, squeezelite, etc) to a dedicated addon -
I have updated the preview addons, see my updated post above.
I hope they will work for you.My next steps:
1. create a small Alpine based docker image to run spotify-connect-web on all LibreELEC arm projets
2. offload ALSA configuration (common to spotify-connect-web, squeezelite, etc) to a dedicated addonHey awiouy,
Amazing, thank you for your work.
I'll try it out in the evening today!
Will this addon be integrated in the Libreelec Repo? There are already addons which were created by you
I'll give you feedback.
-
- Official Post
Hey awiouy,
Amazing, thank you for your work.
I'll try it out in the evening today!
Will this addon be integrated in the Libreelec Repo? There are already addons which were created by you
I'll give you feedback.
I am looking foward to your feedback.
I have submitted a pull request for the addon. Let's see if it makes it.
I however think that the pull request will stand a better chance if it provides for more projects than just RPi2, eg RPi and other arm projects. I have therefore created a docker image (about 50 MB) for that purpose. I should have the time to test it soon.
If it works, I will simply replace the current binary wrapped in the addon by that docker container.
-
Do I have to modify my config.txt to enable alsa to make the addon work?
-
- Official Post
Do I have to modify my config.txt to enable alsa to make the addon work?Hello cyberden,
No, the addon takes care of enabling alsa. Just make sure that the volume (set from your Spotify app) is high enough: spotify-connect-web becomes inaudible even at a relatively high volume.
-
So here's my Feedback.
After the Update the Bitrate in Settings was set to 30005 (?). The server won't come up so you don't see it in the Spotify Apps. When i change it to 320 then it appears and i can play music.
So: it's working great. I cannot validate, if the stream is really 320kbit. (i don't know how to do it. using the -bitrate 320 don't mean that 320kbit is used, probably)
My Setup:
Raspberry Pi 2 Model B
HDMI Connection to Pioneer AVR (setup with Audio passthrough in Kodi Settings)btw: i'm not a developer, no clue what a docker image is
But i think you know what you're doing
And what is ALSA?Cheers
-
- Official Post
So here's my Feedback.After the Update the Bitrate in Settings was set to 30005 (?). The server won't come up so you don't see it in the Spotify Apps. When i change it to 320 then it appears and i can play music.
So: it's working great. I cannot validate, if the stream is really 320kbit. (i don't know how to do it. using the -bitrate 320 don't mean that 320kbit is used, probably)
My Setup:
Raspberry Pi 2 Model B
HDMI Connection to Pioneer AVR (setup with Audio passthrough in Kodi Settings)btw: i'm not a developer, no clue what a docker image is
But i think you know what you're doing
And what is ALSA?Cheers
DomJ4ck,
I was unable to reproduce your problem.
You are installing the addon via Kodi install from zip file, right?
If you go to the addon settings in the Kodi GUI, are the labels correctly displayed? What are the available bit rates (should be blank, 90, 160 and 320)?ALSA is Advanced Linux Sound Architecture, used by some applications, but not by Kodi on LibreELEC
-
DomJ4ck,
I was unable to reproduce your problem.
You are installing the addon via Kodi install from zip file, right?
If you go to the addon settings in the Kodi GUI, are the labels correctly displayed? What are the available bit rates (should be blank, 90, 160 and 320)?ALSA is Advanced Linux Sound Architecture, used by some applications, but not by Kodi on LibreELEC
Yes i've downloaded your zip file and installed this via Kodi addons-menu (from the zip)
I've uploaded a photo for you. You can see the "30005-Bitrate" on it. This was directly after updating. If i'm using the down-arrow the next bitrate is 320, 160, 90 (but not blank).
With 30005 set up the server isn't starting.
I think labels are correct. -