hrkfdn / ncspot

Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't play sound through Bluetooth headphones when other apps do

cloudlena opened this issue · comments

Describe the bug
I have a browser with https://open.spotify.com open and a terminal with ncspot next to it. My Bluetooth headphones are connected to my laptop. When playing music from Spotify in the browser, it plays it correctly via my headphones. When playing music from ncspot, it plays incorrectly from my laptop's built in speakers.

This happens even when reopening ncspot after the headphones have been connected and work properly.

To Reproduce
Steps to reproduce the behavior:

  1. Connect Bluetooth headphones
  2. Open ncspot
  3. Play music
  4. Sound comes from the laptop's speakers instead of the headphones

Expected behavior
I expect ncspot to respect the sound output defined by pipewire and wireplumber.

System (please complete the following information):

  • OS: NixOS
  • Terminal: Alacritty on Hyprland
  • Version: 1.1.0
  • Installed from: nixpkgs-unstable

Additional context

Here is my NixOS setup where the problem occurs: https://github.com/cloudlena/nixfiles.
The Bluetooth headphones are Pixel Buds Pro.