spotify-player icon indicating copy to clipboard operation
spotify-player copied to clipboard

Pulseaudio librespot implementation not playing audio

Open andrewCohn opened this issue 8 months ago • 1 comments

Describe the bug Streaming service using built in libre-spot not outputting audio on pulseaudio backend

To Reproduce Compile with the following command: cargo install spotify_player --no-default-features --features pulseaudio-backend,streaming,media-control try to play audio using the built in librespot implementation Expected behaviour When I play music via the built in streaming player, i hear audio out from pulseaudio.

Log and backtrace

spotify-player-24-06-11-06-30.log

Environment

  • OS: Arch

  • Application version: spotify_player 0.18.2

  • Application features: if applicable, provide cargo features used to build spotify_player pulseaudio-backend,streaming,media-control

Additional context I was able to get audio to play by compiling librespot with pulse audio, and compiling spotify_player using without streaming or pulseaudio backends, and running librespot first and using this app to control it. But it seems like the implementation of librespot in the program doesn't work correctly on my system.

In addition, I can control a broken session from my phone, so I know librespot exists and is talking to spotify. There's just nothing coming out from the audio backend.

Potentially related to issue #435

andrewCohn avatar Jun 11 '24 13:06 andrewCohn