-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotify Connect Support Opportunity. #332
Comments
While it's clearly an interesting project and an impressive bit of work I'm not sure this is something we should include. My initial concerns are
There's also now scope to leverage the Spotify chromecast support which might be a better avenue to pursue. Are there advantages with connect? |
(from the forum) It uses my Spotify app key, not the one from Mopidy btw. It is now possible to install Connect on Musicbox, using this quick hack: login using ssh or a keyboard Issue these commands:
Then add this to the end of /opt/musicbox/startup.sh
And reboot. Enjoy! It's not completely stable though, but it works quite well. It will stop spitting out sound if you use shairport or mopidy. A reboot fixes that. See: |
Wheezy uses glibc v2.13 but Rust now requires glibc > v2.13 which stops us from running any recent builds. I tried to build a static binary (using musl) but that fell apart when it came to building static libalsa. If anyone can get that to work then I am all ears. Once we move to Jessie this becomes a non-issue. |
I was confused, we can still use spotify-web-connect, although it is a bit buggy.... |
I would also really like spotify-web-connect to be added to Musicbox. |
@woutervanwijk |
There are good instructions at https://github.com/Fornoth/spotify-connect-web/releases |
An alternative for anybody using an RPi1 would be to download the librespot binary from: https://github.com/herrernst/librespot and following some slightly modified instructions provided by @woutervanwijk above. At the time of posting the below version is the latest, however, I would suggest ensuring that is the case, if you plan to follow these instructions. Check https://github.com/herrernst/librespot/releases/latest first to confirm. Via SSH issue the following commands:
Then add this to the end of /opt/musicbox/startup.sh
|
Does this actually work? Last time I tried to compile the latest version I found that libc was too old when I came to run it. If I'm wrong then that's great news. |
Definitely works, I'm running it on my MusicBox with a RPi1. |
That's great. I'll have to see what steps they do. Does that same binary version work on rpi2/3 do you know? Maybe that's where I came undone before. Hm... |
I've only tried it on my RPi2 and can confirm it works on that too. |
Using
I think if you don't want a cache you just dont specify the -c option. |
Perhaps, I probably should have tested that before suggesting it. |
Not worry, I'll need to test this quite a lot anyway. Specifying the correct mixer will be some fun and games. |
So I have added librespot and when it works, it's great. But the problem with reverse engineered software is that it often breaks and we've been a bit unlucky on that front recently. As of tonight the latest librespot version (c10a482) stopped working when ever-helpful Spotify decided to block it again. I've no doubt it'll be fixed soon enough (the maintainer is very good) but it looks like it's going to be an ongoing support hassle. |
I can't seem to find anything in the upstream issues about it being blocked again, do you have a source or is it just based on your testing? I'm still running the older version (v20170605-39012ba) without any problems I figured if spotify decided to block it, it would likely affect all versions? |
You'll find recent comments on previously closed issues such as plietar/librespot#190 (comment) It looks like they stopped blocking the old agent string hence why your old version works. |
Fixed in e8e6f31 and available in RC5 |
I'm thinking you can integrate spotify-connect-web on a RPi 2. It'll also work with the chroot method for older RPi's. Someone made a commit that works flawlessly with other programs: https://github.com/Fornoth/spotify-connect-web/pull/18/files
The text was updated successfully, but these errors were encountered: