mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #201] Trying to get the example working #136
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#136
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 @kbrah on GitHub (Apr 9, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/201
I'm new to rust and this library and I'm trying to get the example working but facing following error:
What am I doing wrong?
@michaelherger commented on GitHub (Apr 10, 2018):
How do you call it?
@kbrah commented on GitHub (Apr 10, 2018):
I copied the example in the examples folder so exactly like that.
@kbrah commented on GitHub (Apr 11, 2018):
It also seems that the build in librespot with command
cargo build --example playfails with the same error.@kbrah commented on GitHub (Apr 15, 2018):
figured out the reason of the error: creating new player should be
let (player, _) = ...instead oflet player = ...This should be updated in the example i guess.
@michaelherger commented on GitHub (Apr 16, 2018):
Good find! Please submit a pull request. Thanks!