librespot-org / librespot

Open Source Spotify client library
MIT License
4.46k stars 540 forks source link

Librespot playback won't work #1273

Open thgilciffart opened 2 months ago

thgilciffart commented 2 months ago

Describe the bug Playback will not work no matter what. I tried spotify qt , official spotify client, spotify web , spotify on phone and to no avail does it work at all. It shows the song is playing however, there is no sound.

To reproduce Steps to reproduce the behavior:

  1. Clone official librespot repo
  2. Use mingw64 and install rust with pacman -S mingw-w64-x86_64-rust
  3. cargo build --release
  4. cd to ./target/release/librespot
  5. Run librespot -n "Librespot" -b 320 -c ./cache --enable-volume-normalisation --initial-volume 75 --device-type avr
  6. Use spotify client to control librespot

Log A full log so we may trace your problem (launch librespot with --verbose). Format the log as code. log.txt

Host (what you are running librespot on):

Additional context My output is to a headset is a razer barracuda x connected with usb.

kingosticks commented 2 months ago

The log shows your error. This is a duplicate of https://github.com/librespot-org/librespot/issues/1179