`termux-notification --type media` is broken on termux-api v0.50.1
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Problem description
All media buttons always use the defined action for --media-previous
Steps to reproduce
termux-notification --type media -t title -c content --alert-once --media-play "termux-toast play" --media-pause "termux-toast pause" --media-next "termux-toast next" --media-previous "termux-toast prev"
Expected behavior
should toast "next" when pressing the next button, "pause" for the pause button, ...
Additional information
- termux-api application version:
0.50.1+ccacb68 - termux-api package version (installed through apt):
0.57 - Android OS version: 12L
- Device model: M2101K6G
- Screenshot:

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the provided termux-notification command and inspect the termux-notification media-button handling entry point. Done means the next, pause, play, and previous buttons each invoke their corresponding supplied action instead of all invoking the previous action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- cli, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100