We have moved to a new Sailfish OS Forum. Please start new discussions there.

Bluetooth AVRCP MPRISv2 Controls

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

r0kk3rz gravatar image

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

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 +0200 )edit

2 Answers

Sort by » oldest newest most voted

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

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


I wanted to play around with this, but, when trying to install bluez5-tools, I get:

Fatal error: bluez5-tools-5.43+git3-1.2.2.armv7hl requires bluez5 = 5.43+git3-1.2.2, but this requirement cannot be provided

Because I have bluez5-5.45+git1-1.4.2.armv7hl installed. The other one is listed as available. Is it save to uninstall the bluez5 package and install the other version? Or is there a better way to fix this?

feodoran ( 2017-10-22 14:52:02 +0200 )edit

@feodoran What device? you might need to do a pkcon refresh

r0kk3rz ( 2017-10-22 15:24:03 +0200 )edit

oh right, pkcon refresh did it.

feodoran ( 2017-10-22 19:06:21 +0200 )edit

Okay, so I just tested this with harbour-gpodder on JollaC, and as long as mpris-proxy is running, the BT media key works. If I stop mpris-proxy, the media key stops working as well. Any ideas?

feodoran ( 2017-10-23 00:27:53 +0200 )edit

@feodoran, yes that's about where i'm at with it too. AFAIK it should work without that running but I haven't managed it yet

r0kk3rz ( 2017-10-23 10:41:28 +0200 )edit

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

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


maybe but as first step it would make sense to recognize it first as a missed feature, or as known issue. Don't you think so?

cemoi71 ( 2019-05-28 01:20:39 +0200 )edit
Login/Signup to Answer

Question tools



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

Seen: 931 times

Last updated: Sep 02 '17