Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth audio device listed as music player? #89

Open
peteruithoven opened this issue Feb 6, 2019 · 1 comment
Open

Bluetooth audio device listed as music player? #89

peteruithoven opened this issue Feb 6, 2019 · 1 comment

Comments

@peteruithoven
Copy link
Collaborator

peteruithoven commented Feb 6, 2019

One of my bluetooth headphones is listed as if it's a music player in the sound indicator:
screenshot from 2019-02-06 20-50-26

It's also listed as monitor by PulseAudio volume control:
screenshot from 2019-02-06 21-16-18

But, my other bluetooth device is also listed as monitor but doesn't show up in the list.
screenshot from 2019-02-06 21-16-00

@bluesabre
Copy link
Sponsor Member

bluesabre commented Mar 11, 2021

This seems to be a bug with bluez providing the org.bluez.MediaPlayer1 interface for audio devices that don't support it. It may be possible to work around this by excluding devices with the audio-card Icon property.

https://github.com/bluez/bluez/blob/c96d5ec7aafc8fd988f6f19b896115853b951d91/src/dbus-common.c#L71-L85

This would catch headsets and headphones which seems desirable, but also any generic audio device.

I've created a separate issue for bluez for the invalid interface: bluez/bluez#106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants