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

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

Open
NicoxDJ opened this issue Jul 29, 2022 · 16 comments
Open

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

NicoxDJ opened this issue Jul 29, 2022 · 16 comments

Comments

@NicoxDJ
Copy link

NicoxDJ commented Jul 29, 2022

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?

@phunkyfish
Copy link
Collaborator

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.

@NicoxDJ
Copy link
Author

NicoxDJ commented Jul 29, 2022

@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

@phunkyfish
Copy link
Collaborator

phunkyfish commented Jul 29, 2022

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.

@NicoxDJ
Copy link
Author

NicoxDJ commented Jul 29, 2022

@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?

@phunkyfish
Copy link
Collaborator

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
Copy link
Collaborator

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

@NicoxDJ
Copy link
Author

NicoxDJ commented Jul 29, 2022

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

@NicoxDJ
Copy link
Author

NicoxDJ commented Jul 29, 2022

@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' ?

@phunkyfish
Copy link
Collaborator

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?

@kambala-decapitator
Copy link

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.

@NicoxDJ
Copy link
Author

NicoxDJ commented Jul 30, 2022

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

@phunkyfish
Copy link
Collaborator

Great!

@PalmTamino
Copy link

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

@phunkyfish
Copy link
Collaborator

@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.

@PalmTamino
Copy link

@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.

@phunkyfish
Copy link
Collaborator

No worries, thanks for being understanding.

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

4 participants