• 1
  • 4
  • 5
  • 6
  • 7
  • 8(current)
Release IMDb Trailers Addon
cacert.pem is in: https://github.com/xbmc/xbmc/blob/master...cacert.pem

I have to extract .crt files from .pem first.
Code:
$ openssl crl2pkcs7 -nocrl -certfile cacert.pem | openssl pkcs7 -print_certs -out cacert.crt
Then after that I do:
Code:
# cp cacert.crt /etc/ca-certificates/trust-source/anchors/update-ca-trust
# cd /etc/ca-certificates/trust-source/anchors/
# update-ca-trust extract
Certifications appear at the top of /etc/ssl/certs/ca-certificates.crt.

I tried on the same blank Kodi, sections can now navigate, trailers still won't play.
Kodi4.log
Also tried on another Kodi that may contain notorious 3rd party addons and shall remain logless, sections don't work, maybe skin related.
Reply
(2023-11-07, 12:50)csts Wrote: cacert.pem is in: https://github.com/xbmc/xbmc/blob/master...cacert.pem

I have to extract .crt files from .pem first.
Code:
$ openssl crl2pkcs7 -nocrl -certfile cacert.pem | openssl pkcs7 -print_certs -out cacert.crt
Then after that I do:
Code:
# cp cacert.crt /etc/ca-certificates/trust-source/anchors/update-ca-trust
# cd /etc/ca-certificates/trust-source/anchors/
# update-ca-trust extract
Certifications appear at the top of /etc/ssl/certs/ca-certificates.crt.

I tried on the same blank Kodi, sections can now navigate, trailers still won't play.
Kodi4.log
Also tried on another Kodi that may contain notorious 3rd party addons and shall remain logless, sections don't work, maybe skin related.

Trailers playback is what I fixed in this commit. Did you apply it?
Kodi 21RC2 Windows 10 and 11 | 21RC2 Xbox One X | 21RC2 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
(2023-11-07, 12:27)csts Wrote:
(2023-11-07, 05:57)gujal Wrote:  
Code:
ls -l /usr/share/kodi/system/certs
total 220
-rw-r--r-- 1 roor root  222477 May 12  2023 cacert.pem
Can you check in Arch if the file exists in the correct location?

Not there, cacert.pem is in several apps folders, and in these python folders:

/home/k/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/certifi/cacert.pem
/usr/lib/python2.7/test/pycacert.pem
/usr/lib/python3.11/site-packages/certifi/cacert.pem
/usr/lib/python3.11/site-packages/pip/_vendor/certifi/cacert.pem
Just create a folder /usr/share/kodi/system/certs and copy https://github.com/xbmc/xbmc/blob/master...cacert.pem into it. That should fix you issue
Kodi 21RC2 Windows 10 and 11 | 21RC2 Xbox One X | 21RC2 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
(2023-11-08, 09:25)gujal Wrote:
(2023-11-07, 12:27)csts Wrote:
(2023-11-07, 05:57)gujal Wrote:  
Code:
ls -l /usr/share/kodi/system/certs
total 220
-rw-r--r-- 1 roor root  222477 May 12  2023 cacert.pem
Can you check in Arch if the file exists in the correct location?

Not there, cacert.pem is in several apps folders, and in these python folders:

/home/k/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/certifi/cacert.pem
/usr/lib/python2.7/test/pycacert.pem
/usr/lib/python3.11/site-packages/certifi/cacert.pem
/usr/lib/python3.11/site-packages/pip/_vendor/certifi/cacert.pem
Just create a folder /usr/share/kodi/system/certs and copy https://github.com/xbmc/xbmc/blob/master...cacert.pem into it. That should fix you issue
A new blank Kodi, addon installed, put cacert.pem in place (Kodi found previous cacert.crt anyway because sections worked), commit in place, sections work,  trailers don't work, log:
Kodi.log
Reply
I'm not running mint and it appears nothing is working for me either. I can see the videos lists but it fails when trying to play the trailer. Here's the debug log: https://paste.kodi.tv/ozabumoguh.kodi

This test was on Debian, also failing in Android.

Thanks for looking into this.
Reply
(2023-11-09, 01:36)csts Wrote: A new blank Kodi, addon installed, put cacert.pem in place (Kodi found previous cacert.crt anyway because sections worked), commit in place, sections work,  trailers don't work, log:
In this log your special path is different,
Code:
special://xbmc/ is mapped to: /app/share/kodi
So the cacert.pem file would have been in /app/share/kodi/system/certs, and creating /usr/share/kodi/system/certs folder was irrelevant.
Yes with cacert.pem now in correct location, it is now able to pull pages correctly, you still need to apply the playback fix that I linked earlier
 
(2023-11-09, 03:00)gargamon Wrote: I'm not running mint and it appears nothing is working for me either. I can see the videos lists but it fails when trying to play the trailer. Here's the debug log: https://paste.kodi.tv/ozabumoguh.kodi
This test was on Debian, also failing in Android.
 
So, as mentioned earlier, playback is broken on the version from Kodi repo. The fix is not released yet and is available here. did you apply it before testing?
Kodi 21RC2 Windows 10 and 11 | 21RC2 Xbox One X | 21RC2 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
Sorry I missed the fix. Yes, it works perfectly now, as usual. Thanks.
Reply
(2023-11-09, 21:36)gujal Wrote: In this log your special path is different,
Code:
special://xbmc/ is mapped to: /app/share/kodi
So the cacert.pem file would have been in /app/share/kodi/system/certs, and creating /usr/share/kodi/system/certs folder was irrelevant.
Yes with cacert.pem now in correct location, it is now able to pull pages correctly, you still need to apply the playback fix that I linked earlier
Checked if the commit has changed -it hasn't-, and tried /app/share/.
Trailers still won't play.
Reply
I just saw IMDB Trailers updating in my Kodi, and it now works fine.
Thank you gujal.
Reply
  • 1
  • 4
  • 5
  • 6
  • 7
  • 8(current)

Logout Mark Read Team Forum Stats Members Help
IMDb Trailers Addon1