librespot-org / librespot

Open Source Spotify client library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. install librespot to cargo
  2. clone examples then
  3. run
  4. 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)

image

Host (what you are running librespot on):

  • OS: Win 11
  • Platform: Dell Vostro 15 5510