player.await_end_of_track exit with exit code: 1
thedtvn opened this issue · comments
Describe the bug
when run examples/play.rs it return exit code: 1 when call player.await_end_of_track
To reproduce
Steps to reproduce the behavior:
- install librespot to cargo
- clone examples then
- run
- See error
Log
A full log so we may trace your problem (launch librespot
with --verbose
). Format the log as code.
Compiling music_api v0.1.0 (C:\Users\duong\Desktop\code\rust\music_api)
Finished dev [unoptimized + debuginfo] target(s) in 5.01s
Running `target\debug\music_api.exe`
Connecting...
Playing...
error: process didn't exit successfully: `target\debug\music_api.exe` (exit code: 1)
Host (what you are running librespot
on):
- OS: Win 11
- Platform: Dell Vostro 15 5510