librespot
librespot copied to clipboard
Play example needs to be updated
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
?
At least for me, compiling and running the example is working fine. What isn't working in your case?
@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.