recloudstream / recloudstream/cloudstream

Option to not show UI when Pausing with D-Pad center button

Open
#2,717 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
10.7k
Forks
1.1k
Avg merge
1d 23h
Merged PRs (30d)
15

Description

Describe your suggested feature

Currently pressing the center button of the D-Pad while the internal/in-app player is open in either the TV or Emulator layouts not only pauses/plays the video, but also causes the player UI to show. When I pause a video, it's usually for one of two reasons: 1) I want to take a moment to examine something that will disappear soon if I let the video keep playing 2) I wasn't able to read a subtitle before it disappeared, so I skipped back and now I'm pausing to give myself time to read the whole thing. (What? Sometimes the subtitles are really long, and aren't on screen long enough.) ... And yes, occasionally 3) I pause because I need to do/pay attention to something else for a moment and I don't want to let it keep playing and miss something, but the current behaviour is less annoying in case three than the first two, so for the purpose of this issue it doesn't really count.

In my main two use cases for pausing a video (especially for subtitles), having the player UI show every time I pause/unpause the video is quite annoying. After watching a video or two which I want to pause several times during the video, I get used to pressing the center button then immediately pressing the back button to hide the UI, which causes problems when afterwards I use other apps which don't do this, or when the Android TV box I'm using lags momentarily and CloudStream takes a little extra time to bring up the player UI and therefore my attempt to pause the video suddenly exits it instead. Very annoying.

Suggestion

I'd like to suggest not showing the player UI when pressing the D-Pad's center button (for playing or pausing) to allow an unobstructed view of the video immediately after pausing/unpausing without requiring an extra button press, as the UI can easily be summoned by pressing either D-Pad up or D-Pad down if it is desired (whether playing or paused), so it's not like we're losing access to it if the center button no longer shows it.

Other details

Note: I personally think the suggested behaviour should just be how it works, however I understand if you're worried that people might not like/understand the change to the suggested behaviour, so a setting for this might be warranted.

Acknowledgements
  • My suggestion is NOT about adding a new provider
  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

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 locating the internal player’s input handling for the D-pad center, up, and down buttons in the TV and Emulator layouts. Verify the current pause/play and UI-visibility behavior, then make center-button playback changes leave the UI hidden while up or down can still summon it; test pausing and resuming videos with the D-pad.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
frontend, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.