termux / termux/termux-api

implement MPRIS

Open
#531 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Feature description
If a program uses MPRIS it should come up as a media player in the notification shade so it can be paused or played etc like such

KOg-Ycw7yqUxMAxxI9QbaStIxTZiDUAurc7Qi9XM6o0

This would be much more convenient than having to unlock my phone and then pausing the music or skipping etc

Reference implementation
https://specifications.freedesktop.org/mpris-spec/latest/

Have you checked if the feature is accessible through the Android API?
Yes https://developer.android.com/guide/topics/media/media-controls
Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)
https://github.com/RetroMusicPlayer/RetroMusicPlayer

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked MPRIS specification and Android media-controls API, then compare the referenced RetroMusicPlayer implementation. Done means Termux media playback appears in the Android notification shade and supports controls such as play, pause, and skip.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.