mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #1215] Play example needs to be updated #559
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#559
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AramZS on GitHub (Oct 30, 2023).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1215
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::newno longer works and needs to be replaced withSession::connect?@eladyn commented on GitHub (Nov 11, 2023):
At least for me, compiling and running the example is working fine. What isn't working in your case?
@gillesB commented on GitHub (Dec 26, 2023):
@AramZS I was also confused by this (partly because I am new to Rust). But actually
Session::newis the newer function which was introduced in the current development cycle. In the latest release0.4.2this function does not exist yet.@roderickvd commented on GitHub (Sep 16, 2024):
All examples up to date now, right?