Termux-notificaton: Ability to show either play or pause buttons and not both for --type media
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Feature description
I want to be able to show either the play or pause button and not both for termux-notification with --type media.
Currently, when I omit one, the buttons don't show at all.
Related: [#787]
Alternatively, you can just collapse the two into a play/pause button
Reference implementation
Have you checked if the feature is accessible through the Android API?
Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)
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
Start by tracing how termux-notification handles the --type media option and how its Android media notification buttons are built. Check the related issue #787 and the Android notification API behavior, then verify that specifying play or pause shows only that control, with the chosen behavior covered by a reproducible test or manual check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- cli, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100