Skip to content

[andoid/music] Allow banglejs to request musicinfo/musicstate #3852

@samakj

Description

@samakj

Affected hardware version

Bangle 2, Bangle 1

Your firmware version

2V25

The bug

As it currently stands, to receive information about currently playing media on the connected gadget bridge mobile you have to wait for a musicstate or musicinfo event. This leads to some difficulty in displaying any sort of music controls as these events dont always occur together. e.g:

  • user presses prev/next on the mobile phone, the bangle receives the musicinfo but no state so it is unknown if the music is playing or paused
  • user presses play/pause on the mobile phone, the bangle receives the musicsctate but no info so its not possible to display what is currently playing

The above makes it quite hard to develop a UI/UX that feels intuitive/comfortable because there is often some information missing/out of date

My suggested solution is to allow the bangle to send musicinfo and musicstate intents which would trigger the mobile phone to send back the equivalent event.

This may be a gadgetbridge issue, if so please let me know and I will open an issue over there instead.

Installed apps

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions