AsteroidOS / starship

SailfishOS synchronization app for AsteroidOS.
GNU General Public License v3.0
22 stars 12 forks source link

Enhancement - Music Control/Currently Playing #12

Open GeoffTearle opened 3 years ago

GeoffTearle commented 3 years ago

Detailed Description

AsteroidOS supports the display of currently playing music on the connected phone. This may not be currently implemented in Starfish, so as part of this issue, investigate whether this is already working and, if not, implement it.

Additionally AsteroidOS supports sending various media controls to the connected phone. This may not be currently implemented in Starfish, so as part of this issue, investigate whether this is already working and, if not, implement it.

The scope of this should be limited to native music players at this stage, and android music players looked into in a follow up issue.

Context

Feature parity! We should strive to get Starfish to feature parity with Telescope (and one day the Android client).

Possible Implementation

The implementation of the above should be quite simple as I believe that both of these features are supported by libwatchfish, so it should be as simple as using the functions provided.

robthebold commented 2 years ago

Detailed Description

AsteroidOS supports the display of currently playing music on the connected phone. This may not be currently implemented in Starfish, so as part of this issue, investigate whether this is already working and, if not, implement it.

@GeoffTearle I installed your aarch64 build from a few days ago on my Xperia 10 II and paired it with my Bass, and the music control works a little bit with the Sailfish media player.

By "a little bit" I mean that when the media player is playing, the play/pause button appears as "pause," and when paused, the button appears as a "play" button. None of the buttons on the watch music control actually do anything, but at least the play/pause button switches state as expected with the media player.

GeoffTearle commented 2 years ago

@robthebold That's great news! Was this with the Jolla Media app on your phone?

robthebold commented 2 years ago

@GeoffTearle Yes, the Jolla Media app.

GeoffTearle commented 2 years ago

@robthebold Awesome, just wanted to make sure so that I could use the same media player in my testing :smiley:

robthebold commented 2 years ago

Update: I tried the music control when playing a song in an album (Jolla media player) and the skip ahead/skip.back controls on the watch do work in that case.

robthebold commented 2 years ago

Another update: music control < and > buttons work with kodimote, too (remote control app for kodi media player).