primaeval / plugin.video.iptv.recorder

GNU General Public License v3.0
43 stars 28 forks source link

Kodi V19 - Android 11 problem #53

Open lefty10 opened 2 years ago

lefty10 commented 2 years ago

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 commented 2 years ago

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

lefty10 commented 2 years ago

I updated ffmpeg to latest. Same error.

Dobi-Dev commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

This issue might be solved if Kodi decided to ship ffmpeg binary, then it would be possible to execute it on Android 11. https://github.com/Mariusz89B/script.mtvguide/issues/18#issuecomment-1195090394