RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Kodi Add-ons

    Scheduled Pinned Locked Moved Help and Support
    9 Posts 3 Posters 5.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AddisonA
      Addison
      last edited by

      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.

      RascasR 1 Reply Last reply Reply Quote 0
      • RascasR
        Rascas @Addison
        last edited by

        @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/releases

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

        1 Reply Last reply Reply Quote 1
        • W
          wetriner
          last edited by

          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.

          RascasR 1 Reply Last reply Reply Quote 1
          • AddisonA
            Addison
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • RascasR
              Rascas @wetriner
              last edited by Rascas

              @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

              1 Reply Last reply Reply Quote 1
              • RascasR
                Rascas
                last edited by Rascas

                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
                AddisonA 1 Reply Last reply Reply Quote 2
                • AddisonA
                  Addison @Rascas
                  last edited by

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

                  RascasR 1 Reply Last reply Reply Quote 0
                  • RascasR
                    Rascas @Addison
                    last edited by

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

                    AddisonA 1 Reply Last reply Reply Quote 1
                    • AddisonA
                      Addison @Rascas
                      last edited by

                      @Rascas

                      Thank you!!!!!!!!!!!!!!!!!!!!!!!

                      So happy!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      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.