jellyfin-archive / jellyfin-android-original

Android Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
274 stars 65 forks source link

Responding to bt headset media buttons #333

Open pwatt01 opened 4 years ago

pwatt01 commented 4 years ago

ON most apps i can use my bt headset to play/pause/skip, however this does not work on Jellyfin. Is it possible to add that functionality??

I did find a cordova plugin or 2 (links below) that seems to allow this functionality, but have never used cordova so don't want to dive in too much :-)

https://github.com/jobr3255/cordova-plugin-headset-buttons https://github.com/TranWare/cordova-media-button https://github.com/ghenry22/cordova-plugin-music-controls2

https://developer.android.com/guide/topics/media-apps/mediabuttons

rexbron commented 4 years ago

You need to post more information.

Media buttons work fine with my Pixel 3a, Sennheiser BT headphones and Jellyfin-android 1.0.0

pwatt01 commented 4 years ago

Samsung Galaxy Note 8, android 9, Senso Activebuds s-250 & s-270

reprz commented 3 years ago

I can confirm that the media buttons are not working on my setup also. I'm using Jellyfin android 1.0.2 and OnePlus7t + Oneplus Wireless Bullets BT headphones. Volume controls work but pause&play button is not doing anything.

Maxr1998 commented 3 years ago

Normally all Bluetooth headphones should send the same play/pause command. Might be a random issue with the playback service. Could you maybe test this on the android-next client? Would be interested whether it's reproducible there as well. You'd need to build the APK yourself though, or download it from the CI pipeline artifacts.