inputstream.ffmpegdirect icon indicating copy to clipboard operation
inputstream.ffmpegdirect copied to clipboard

[tvOS] Add-on couldn't be loaded. An unknown error has occurred.

Open NicoxDJ opened this issue 3 years ago • 16 comments

I tried to install this plugin on my tvOS. Apparently it isn't working :( I did manage to install the plugin and even I can check it's settings, but when I try to start a channel, it shows me the error from the title.

Kodi Version: 19.4 tvOS Version: 15.6

I installed Kodi via this way: https://kodi.wiki/view/HOW-TO:Install_Kodi_on_Apple_TV_4_and_5_(HD_and_4K) I downloaded the plugin from here: https://jenkins.kodi.tv/job/xbmc/job/inputstream.ffmpegdirect/job/Matrix/108/ I tried even 19.0.1, because I read some comments that it works, but it doesn't for me too.

What I'm doing wrong? How can I successfully install that plugin?

NicoxDJ avatar Jul 29 '22 01:07 NicoxDJ

It should be available as default when you install kodi on tvos. TVOS is different in that the addons are packaged with kodi. So you just need to enable the addons.

phunkyfish avatar Jul 29 '22 07:07 phunkyfish

@phunkyfish well, it wasn't in my plug-ins, and I can't find it neither in the repo. So that's why I google it and found it here

NicoxDJ avatar Jul 29 '22 08:07 NicoxDJ

And the other inputstreams were in the plug-ins just not this one?

The reason why it’s packaged with kodi is that it must be signed with the package that is being installed.

phunkyfish avatar Jul 29 '22 08:07 phunkyfish

@phunkyfish that's right, the other 2 were there (InputStream Adaptive and RTMP Input). Just this was missing.

How I can sign it? Is somewhere written procedure? Or I should try to download some older version of Kodi and try it?

NicoxDJ avatar Jul 29 '22 08:07 NicoxDJ

We need to figure out why it didn’t build as part of 19.4. I don’t think you can build and sign it afterwards. That won’t work.

phunkyfish avatar Jul 29 '22 08:07 phunkyfish

@sy6sy2 any guidance to figure out what the build issue is?

phunkyfish avatar Jul 29 '22 08:07 phunkyfish

I just unpack the deb file, and here is the list with all addons in the package: https://pastebin.com/Rvgx5v1P

NicoxDJ avatar Jul 29 '22 08:07 NicoxDJ

@phunkyfish FYI, I downloaded and checked all 19.* versions. None of them have the plugin inside it. I think I have to drag the addon inside and pack the data.tar.gz, then pack the .deb app too, and after that I have to sign in with the 'iOS App Signer' ?

NicoxDJ avatar Jul 29 '22 16:07 NicoxDJ

I think you should try that but I’m not sure if it will work. @kambala-decapitator do you happen to know if adding a binary addon in this way and resigning would work? Or would we have to build it all as part of an official release/build?

phunkyfish avatar Jul 29 '22 21:07 phunkyfish

I think I have to drag the addon inside and pack the data.tar.gz, then pack the .deb app too, and after that I have to sign in with the 'iOS App Signer' ?

yes, you're right. But you don't need to pack to deb again - you can sign the .app with App Signer ;)

unpack deb:

ar -p YOUR_DEB_FILE data.tar.xz | tar -xf -

New directory Applications will appear, inside there will be Kodi.app - place the add-on in Kodi.app/AppData/AppHome/addons. After that drag Kodi.app into App Signer.

kambala-decapitator avatar Jul 30 '22 07:07 kambala-decapitator

@phunkyfish @kambala-decapitator yes, it worked this way. Thank you!

NicoxDJ avatar Jul 30 '22 13:07 NicoxDJ

Great!

phunkyfish avatar Jul 30 '22 14:07 phunkyfish

@phunkyfish Do you still plan on fixing it? It completely breaks iptv on Kodi for me. I think this has been kinda forgotten?

socksprox avatar Dec 14 '23 06:12 socksprox

@phunkyfish Do you still plan on fixing it? It completely breaks iptv on Kodi for me. I think this has been kinda forgotten?

Do you need to post on every issue? It will get fixed when the author of the required PR gets time to fix it. We are all volunteers here and sometimes you just need to wait.

phunkyfish avatar Dec 14 '23 08:12 phunkyfish

@phunkyfish Do you still plan on fixing it? It completely breaks iptv on Kodi for me. I think this has been kinda forgotten?

Do you need to post on every issue? It will get fixed when the author of the required PR gets time to fix it. We are all volunteers here and sometimes you just need to wait.

Sorry, you’re right, i just thought this has been forgotten.

socksprox avatar Dec 14 '23 08:12 socksprox

No worries, thanks for being understanding.

phunkyfish avatar Dec 14 '23 20:12 phunkyfish