-
Notifications
You must be signed in to change notification settings - Fork 452
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
Upgrade to librespot 0.5 #1309
base: master
Are you sure you want to change the base?
Upgrade to librespot 0.5 #1309
Conversation
Thank you for tackling this major task! Looks good so far. I actually started working on this as well, and definitely should've opened a draft PR for this to avoid duplicating the work. :/ If you want to have a look, my changes are here. Like you, I'm also still missing the necessary changes to So I'm not sure what should be done now. If you have the time to get MPRIS support working, we could just merge your version and I would rework the MPRIS logic at some later point. Otherwise, I could of course also try to finish my version and look through your stuff, if there are parts that I missed. |
thanks for all the work you put into this! I tried to compile and run it without credentials today and I gotta say that upon connecting to it, it just says Using credentials results in ... and I'm 100% sure that the credentials are correct btw any information about this? |
Compilation fails at:
Haven't done anything in Rust before, but might give it a try later. On the other hand, librespot v0.6.0 just released a few hours ago. |
No worries, I did most this work before librespot released (I was trying to debug an auth issue). I wouldn't mind you closing this. If you'd like though I can take a stab at mpris later today in about 10 hours. I would also be willing to bump librespot again to 0.6.0 which was released 18 hours ago. |
I messed with the codebase for a while this evening. I have fixed the compiler bugs but I can't seem to get it to run properly. spotifyd starts, shows up in the web client as a device, claims an authentication success, but then crashes. I tried incorporating the changes you made to main_loop.rs but that didn't seem to resolve the issue, just change how the crash error I get. I think you're probably better-equipped to actually debug this issue @eladyn |
There are a number of breaking changes in the Librespot 0.4 to 0.5 release.
There are 3 TODO comments that correspond to future feature work. I tried to do the minimal changes to get this working.