nextplayer icon indicating copy to clipboard operation
nextplayer copied to clipboard

feat: Added Basic Support for Android TV (#322)

Open srdalai opened this issue 4 months ago • 1 comments

Commit Details:

  • Added Focus support to Folder & Video listing screen
  • Added Required Resources
  • Made Changes in the app-level manifest file

Note:

I don't have in-depth knowledge about Compose. So some of the code will seem non-conventional. But that's the best I can do without messing up with the existing code. I will try to implement any changes that are suggested.

Changes Made:

  1. I have taken a var "isTvLayout" in the "ApplicationPreferences" which is initialised in the "NextPlayerApplication". And that var is used in the code to make the required changes for TV.
  2. Pull to refresh does not work on the TV properly. I have tried but have not found a solution to disable the pull functionality. So I have used a separate Widget for TV. This is not the ideal solution, but it works. Maybe someone can suggest the ideal solution.
  3. As the Long click is not working properly in TV, I have changed "combinedClickable" to "clickable" for TV

Screengrab:

https://github.com/user-attachments/assets/eb288d1e-91a7-45d7-979d-3b39ddfae1fd

srdalai avatar Aug 15 '25 17:08 srdalai

@anilbeesetti please make this a priority

Pentaphon avatar Aug 16 '25 07:08 Pentaphon