Kodi Community Forum
Release IMDb Trailers Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Release IMDb Trailers Addon (/showthread.php?tid=352127)

Pages: 1 2 3 4 5 6 7 8


RE: IMDb Trailers Addon - csts - 2023-11-07

cacert.pem is in: https://github.com/xbmc/xbmc/blob/master/system/certs/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.


RE: IMDb Trailers Addon - gujal - 2023-11-08

(2023-11-07, 12:50)csts Wrote: cacert.pem is in: https://github.com/xbmc/xbmc/blob/master/system/certs/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?


RE: IMDb Trailers Addon - gujal - 2023-11-08

(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/system/certs/cacert.pem into it. That should fix you issue


RE: IMDb Trailers Addon - csts - 2023-11-09

(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/system/certs/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


RE: IMDb Trailers Addon - gargamon - 2023-11-09

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.


RE: IMDb Trailers Addon - gujal - 2023-11-09

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


RE: IMDb Trailers Addon - gargamon - 2023-11-10

Sorry I missed the fix. Yes, it works perfectly now, as usual. Thanks.


RE: IMDb Trailers Addon - csts - 2023-11-10

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


RE: IMDb Trailers Addon - csts - 2023-11-14

I just saw IMDB Trailers updating in my Kodi, and it now works fine.
Thank you gujal.


RE: IMDb Trailers Addon - ThaDraGun - 2024-03-29

(2023-11-09, 21:36)gujal Wrote: 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?

How do I apply the fix? Mine isn't working at all. I can open the addon, if I go to "in cinema" and "coming soon" it automatically gives me an error.

The other options will load the page content but if I try to play a trailer it will either try to load then just do nothing, or it gives me a playback error.


RE: IMDb Trailers Addon - gujal - 2024-03-30

(2024-03-29, 18:25)ThaDraGun Wrote: How do I apply the fix? Mine isn't working at all. I can open the addon, if I go to "in cinema" and "coming soon" it automatically gives me an error.

The other options will load the page content but if I try to play a trailer it will either try to load then just do nothing, or it gives me a playback error.

The fix was merged into the kodi repo back in Nov 23 and the repo version works fine. If it is not working for you then enable kodi debug mode, then replicate the problem and upload the debug log using kodi log uploader and provider the link here so that it can be analysed


RE: IMDb Trailers Addon - ThaDraGun - 2024-03-30

(2024-03-30, 06:34)gujal Wrote:
(2024-03-29, 18:25)ThaDraGun Wrote: How do I apply the fix? Mine isn't working at all. I can open the addon, if I go to "in cinema" and "coming soon" it automatically gives me an error.

The other options will load the page content but if I try to play a trailer it will either try to load then just do nothing, or it gives me a playback error.

The fix was merged into the kodi repo back in Nov 23 and the repo version works fine. If it is not working for you then enable kodi debug mode, then replicate the problem and upload the debug log using kodi log uploader and provider the link here so that it can be analysed



I thought it must be something I did wrong with my Kodi, I saw alot of warnings in my log file so I uninstalled it, and re-installed kodi fresh from the Google playstore on my shield.

I only installed my skin again, and the IMDb trailer addon. Still having the exact same issue. Nothing will play and the first two menu items won't open.

Https://paste.kodi.tv/xavulimopa


RE: IMDb Trailers Addon - gujal - 2024-03-31

(2024-03-30, 19:34)ThaDraGun Wrote: I thought it must be something I did wrong with my Kodi, I saw alot of warnings in my log file so I uninstalled it, and re-installed kodi fresh from the Google playstore on my shield.

I only installed my skin again, and the IMDb trailer addon. Still having the exact same issue. Nothing will play and the first two menu items won't open.

Https://paste.kodi.tv/xavulimopa

All the warnings you see are from tmdbhelper and the skin.

You havent enabled debug mode in both the addon and kodi, so the log is of not much help unfortunately
Also in which country are you located