-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't import newpipe subscriptions in Android TV #8195
Comments
Sounds device specific. Works just fine on ShieldTV. Probably your tvs firmware has no filepicker included. You could try if it helps to disable saf in newpipes download options. |
Basically no Android TV device (except for only Nvidia Shield devices) have the SAF file chooser. The official Android TV emulator also doesn't have SAF file chooser. https://issuetracker.google.com/issues/202985150 |
Did not know this. 🤔 So maybe newpipe should force its internal file manager for android tv devices? 🤔 Worked well on shield tv too last time i used it. 🤔 |
I just got a new bravia tv and there you can set your installed file manager to browse for the export files which works also fine. 🤔 So there is no filepicker installed on this rom but you can install one. |
@Stypox so should NNFP be enforced for TVs? |
It worked. Thanks. |
Uhm, I don't know. From API 29 NNFP does not even work anymore. On Fire TVs NNFP is already enabled by default, see the setting migration. It would not be too difficult to create another migration that switches to NNFP on Android TVs, but I don't know if it is a good idea. |
@moneytoo How do Android 10+ TVs handle file management if not through SAF? |
@opusforlife2 Android TV apps are supposed to used MediaStore API (but it's limited to mostly media files of known mime types to the system). File managers can use the legacy file API with the MANAGE_EXTERNAL_STORAGE permission to access all files on all volumes. The last option is to use the legacy file API but it's limited to media files on the internal storage only. Accessing some binary (application/octet-stream) files is limited to the application scope only (the Android/data/... folder). On Android TV & SAF:
|
So... if I'm understanding this right... Google just broke file browsing in newer versions of Android TV? |
@opusforlife2 Exactly. Because of this, apps like game emulators need MANAGE_EXTERNAL_STORAGE permission, just to read .nes files for example. The irony is that large number of media players also request this permission, just to read formats like wmv or less used subtitle formats (which kind of defeats the purpose of this all). |
@Stypox ^ What say? |
I think this would require us to add yet another way to access storage which might not be simple. If some developer wants to do that, he can go ahead. Check out #5415 for some information. |
@moneytoo Could I implore you to open a new issue explaining what we need? (I can then slap the Android TV label on it for future contributors to stumble upon it.) |
Checklist
Affected version
0.22.1
Steps to reproduce the bug
Expected behavior
File manager should open up to select the file to be imported.
Actual behavior
A notification is seen: "This feature is not supported on this device"
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
Android 9
Affected device model
Sanyo XT-43A082U
Additional information
The affected device is an Android TV
The text was updated successfully, but these errors were encountered: