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

[Bug] Bluetooth media control with Android apps and Native apps

Tracked by Jolla (In release)

asked 2017-11-18 00:14:35 +0200

louisbob gravatar image

Hi there,

It seems that for a while now, media player applications other than the stock Media player are not able to handle next/previous track sent by Bluetooth headsets. This is clearly a missing feature in my daily use of JollaC, preventing me to control my music without getting my phone from my pocket.

This issue has been mentioned in few other post but does not seems to be tracked by Jolla team.

Please up-vote this post to bring Jolla team's attention on this issue that is remaining for a while now. Thanks for the good work!

https://together.jolla.com/question/128886/bluetooth-avrcp-mprisv2-controls/

https://together.jolla.com/question/166546/regression-211-bluetooth-controls-in-other-media-players/

edit retag flag offensive close delete

Comments

2

I agree, neither trackname/artist gets transmitted to my car's infotainment system nor do the skip buttons in my car work. Very annoying :-( [SailfishX + QuteSpot]

Boltzmann ( 2017-11-26 12:26:05 +0200 )edit
2

If I have some spare time this week I'll try to dig into the code to find a solution.

louisbob ( 2017-11-26 17:24:22 +0200 )edit

1 Answer

Sort by » oldest newest most voted
7

answered 2018-10-16 01:16:25 +0200

louisbob gravatar image

As suggered on IRC, starting mpris-proxy from the command line is working. Any hope to get mpris-proxy running at startup? (systemd service?)

edit flag offensive delete publish link more

Comments

2

It doesn't seem hard:

Just create a file named /home/nemo/.config/systemd/user/mpris-proxy.service with the following content:


[Unit]
Description=mpris-proxy
equires=lipstick.service
After=lipstick.service

[Service]
Type=simple
ExecStart=/usr/bin/mpris-proxy

[Install]
WantedBy=post-user-session.target

call systemctl --user enable mpris-proxy.service and systemctl --user start mpris-proxy.service

jollajo ( 2018-10-16 17:26:11 +0200 )edit
1

@jollajo: On SFOS 3.0.0.8 the above systemd directory under /home/nemo/.config/ does not seem to exist. Shall I just create it there or look someplace else?

PS: Third line missing an initial "R" perhaps?

Kopekenscheich ( 2018-11-16 14:16:22 +0200 )edit
2

Yes just create it by mkdir -p /home/nemo/.config/systemd/user.

Oh yes, the missing r is probably a copy/paste error. Actually it's missing on my XA2 as well, so obviously this line is not needed.

jollajo ( 2018-11-16 14:28:42 +0200 )edit
1

Someone award this man!

Kopekenscheich ( 2018-11-16 21:50:35 +0200 )edit
1

To expand on that, flight mode seems to cancel the mpris-proxy.service. You have to resuscitate it manually afterwards.

Kopekenscheich ( 2018-11-30 22:56:16 +0200 )edit
Login/Signup to Answer

Question tools

Follow
9 followers

Stats

Asked: 2017-11-18 00:14:35 +0200

Seen: 1,156 times

Last updated: Oct 16 '18