Ask / Submit

Bluetooth AVRCP MPRISv2 Controls

asked 2016-02-06 17:00:58 +0300

r0kk3rz gravatar image

updated 2017-09-01 14:13:19 +0300

It would be nice if the Bluez implementation on the Jolla Phone translated AVRCP controls to MPRISv2 media player controls. Since the lockscreen controls are using mpris I would think most sailfishos media players are going to support this standard.

Newer versions of Bluez seem to support this feature, but the version of the Jolla Phone has the previous version of control.c v4.10 vs control.c latest Not sure how easy this would be to backport, or what the plan regarding Bluez5 is or not.

This would make it easier on app developers to support all the different ways of controlling media players since it would be a single standard interface.

EDIT 01/09/2017: Since Jolla C now has Bluez5 this should be possible to configure.

edit retag flag offensive close delete



+1 I'd like to make Nettiradio controllable via BT headset.

jollailija ( 2016-02-06 17:29:23 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2017-09-02 18:23:25 +0300

r0kk3rz gravatar image

Ok I did some digging and it seems that with Bluez 5 you get this out of the box and that is how remote controlling of the Jolla-Media app is happening.

However, its not currently working with my Music player and so maybe I've got an error in my MPRIS implementation or something.

If you want to investigate for yourself with your favourite music player, then pkcon install bluez5-tools and run mpris-proxy and see what it says, it should hopefully identify your music player and maybe return some errors if it has problems

edit flag offensive delete publish link more

answered 2016-02-08 11:47:13 +0300

accumulator gravatar image

First of all, the jolla uses v4.101 of bluez, not 4.10.

Second, the architectural difference between bluez4 and bluez5 is huge, porting SfOS is not trivial. I don't think Jolla will prioritize this any time soon.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2016-02-06 17:00:58 +0300

Seen: 399 times

Last updated: Sep 02