Kodi Add-ons
-
Hey all.
I installed Twitch TV and YouTube through Kodi.
I just get HTTP errors and other errors, with more errors.
I'm using a fresh Retropie 3.7 with Kodi 16.0.
Kodi works great on my computer and I wish I could do this as well with my Pie 2.
I can Putty and WinSCP to my Pie so my connection is good.
Those both need passwords though, so do I need the same with Kodi?
Cheers.
-
@Addison The Youtube addon present in the Kodi Oficial Repository is broken, in any platform and OSs.
Here is the fixed version of Youtube:
https://github.com/Kolifanes/plugin.video.youtube/releasesThe Twitch TV addon I don't know, never used it, but most likely it is an addon problem also. Post your problem with the log file in the oficial Kodi forum.
You can use WinSCP, and any SFTP client to upload files to the Raspberry Pi. The user/password is the usual, you don't need any password for Kodi.
-
The SSL verification isn't working perfectly in the version of Kodi that RetroPie is using. There's a workaround I have for TwitchTV, but the concept should apply to a lot of normally working addons that have the same issue.
In whatever python script is doing the url opening and data downloading. Something with a line that looks like this at the top:
from urllib2 import Request, urlopen, URLError
You can add:
import ssl ssl._create_default_https_context = ssl._create_unverified_context
This isn't really the best thing to do, but if you want it to work you can force the addon to just ignore ssl verification. This could potentially open you up to some kind of attack.
I believe it was Twitch0815 who told me about this, so credits to him.
-
Where do I navigate in WinSCP to make these changes?
/home/kodi/ has nothing there.
/home/pi/roms/kodi/ just has a kodi.sh file.
I also have nothing showing of Kodi in my ports folder.
-
@wetriner I tested Twitch Tv addon in RetroPie 3.7 + Kodi and yes, it isn't working.
But I don't use plain RetroPie images, I use an OS based on Raspbian, + RetroPie 3.7 + Kodi (same versions), and here I can confirm that it is working fine.So I believe there is some package missing in the RetroPie image, for what you said it should be an SSL related one. I didn't figure it out yet which is missing...
It should be discoverable in the log if you turn de debug on: http://kodi.wiki/view/Log_file
-
This solves the Twitch TV problem, and possibly other addons, in RetroPie 3.7:
sudo apt-get install --reinstall ca-certificates sudo update-ca-certificates --fresh
-
@Rascas said in Kodi Add-ons:
sudo update-ca-certificates --fresh
Omygosh!
I finally have Twitch working and it plays beautifully.
Thank you!
This didn't resolve the problem with YouTube though and I'm still not sure what to do with that file you posted here.
Can you please explain that a little better?
Sorry for being someone of a pain on this.
-
@Addison The Youtube addon in the Kodi repo was discontinued by its developer and it is currently broken. You have to download an updated version from https://github.com/Kolifanes/plugin.video.youtube/releases ( the plugin.video.youtube-*.zip ) and copy it to the Raspberry Pi.
Then in Kodi you go to System -> Addons -> Install from zip file, and select the zip to install it. -
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.