aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
2.95k stars 132 forks source link

Pulseaudio librespot implementation not playing audio #463

Open andrewCohn opened 4 weeks ago

andrewCohn commented 4 weeks ago

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

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

aome510 commented 1 day ago

Sorry, missed this issue. Please see my note in https://github.com/aome510/spotify-player/issues/496#issuecomment-2212862946. Can you try a different audio backend instead?