termux / termux/termux-api

Feature Request: Media Actions

Open
#461 4 comments 0 reactions 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

Hi,

i like to control my phone using termux-api over ssh, but there is one thing i am missing, media control actions like play/pause, next and previous

Here is a screenshot of the actions from the Keymapper App, which is also open source, where you sure can copy the code for the actions:

Screenshot_20211110-005922

you can find the app here:
https://f-droid.org/en/packages/io.github.sds100.keymapper/

there are sure other useful actions to implement like switching Bluetooth on/off, auto rotate on/off or do not disturb on/off

maybe the command can be named termux-action or so...

thanks implementing this actions in advance

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 reviewing the termux-api command structure and existing device-function implementations, then compare the requested media actions with the linked Keymapper app. Done means exposing play/pause, next, and previous media controls through a clearly defined command usable over SSH; the additional Bluetooth, rotation, and do-not-disturb actions are separate scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
api, cli, 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.