Skip to content
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

Kodi V19 - Android 11 problem #53

Open
lefty10 opened this issue Jan 30, 2022 · 7 comments
Open

Kodi V19 - Android 11 problem #53

lefty10 opened this issue Jan 30, 2022 · 7 comments

Comments

@lefty10
Copy link

lefty10 commented Jan 30, 2022

I'm using the addon version for Kodi V19 by @Dobi-Dev (https://github.com/Dobi-Dev/plugin.video.iptv.recorder).
It worked on Android 9 but when upgraded to Android 11, it failed because of ffmpeg permissions:
See Kodi_error.txt

I know that Android 11 added many restrictions on using files.
Does ffmpeg need to be placed on different directory other than /data/data/... in order to overcome the permission problem ?

@tbrek
Copy link

tbrek commented Jan 30, 2022

It very likely that it's the SDK issue. You might need to update ffmpeg to the later version.

@lefty10
Copy link
Author

lefty10 commented Jan 30, 2022

I updated ffmpeg to latest. Same error.

@Dobi-Dev
Copy link

I don't have android 11, so I can't check on my side.
But yes, you can try to change ffmpeg location.
In all case, the ffmpeg file must have be allowed to be executed by all users. It is possible that some files explore application let you change these rights manually.

Best regards.

@lefty10
Copy link
Author

lefty10 commented Jan 31, 2022

I changed ffmpeg location to kodi userdata location and changed ffmpeg permissions to have execute ability to all.
I changed the permissions from the addon itself.
But unfortunately i get the same error.

@Dobi-Dev
Copy link

Dobi-Dev commented Feb 1, 2022

Unfortunately, you can no more start another binary stored in the app data folder.
Have a look at https://stackoverflow.com/questions/60370424/permission-is-denied-using-android-q-ffmpeg-error-13-permission-denied

@Mariusz89B
Copy link

This issue might be solved if Kodi decided to ship ffmpeg binary, then it would be possible to execute it on Android 11.
Mariusz89B/script.mtvguide#18 (comment)

@Shtolzer
Copy link

I have a rooted phone on Android 11.
primaeval/plugin.video.iptv.recorder works in Kodi version 18.9 (Leia)
Doesn't work in version 19.0 (Matrix) and shows a different error than yours:
2024-07-25 11:39:59.522 T:28765 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'AttributeError'> Error Contents: 'str' object has no attribute 'decode' Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/context.py", line 13, in <module> channel = channel.decode("utf8") AttributeError: 'str' object has no attribute 'decode' -->End of Python script error report<--

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants