Skip to content
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

Play example needs to be updated #1215

Open
AramZS opened this issue Oct 30, 2023 · 2 comments
Open

Play example needs to be updated #1215

AramZS opened this issue Oct 30, 2023 · 2 comments

Comments

@AramZS
Copy link

AramZS commented Oct 30, 2023

Describe the bug
The example at:

https://github.com/librespot-org/librespot/blob/dev/examples/play.rs

No longer reflects the current state of the library and should be updated. Specifically I think Session::new no longer works and needs to be replaced with Session::connect?

@AramZS AramZS added the bug label Oct 30, 2023
@eladyn
Copy link
Contributor

eladyn commented Nov 11, 2023

At least for me, compiling and running the example is working fine. What isn't working in your case?

@gillesB
Copy link

gillesB commented Dec 26, 2023

@AramZS I was also confused by this (partly because I am new to Rust). But actually Session::new is the newer function which was introduced in the current development cycle. In the latest release 0.4.2 this function does not exist yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants