Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 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 22 nightly Windows 10 and 11 | 21.1 Xbox One X | 22 nightly Linux Mint Wilma XFCE | CoreELEC NO 22 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 22 nightly Windows 10 and 11 | 21.1 Xbox One X | 22 nightly Linux Mint Wilma XFCE | CoreELEC NO 22 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 22 nightly Windows 10 and 11 | 21.1 Xbox One X | 22 nightly Linux Mint Wilma XFCE | CoreELEC NO 22 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
(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.
Reply
(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
Kodi 22 nightly Windows 10 and 11 | 21.1 Xbox One X | 22 nightly Linux Mint Wilma XFCE | CoreELEC NO 22 nightly S905X4 aarch64
Reply
(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
Reply
(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
Kodi 22 nightly Windows 10 and 11 | 21.1 Xbox One X | 22 nightly Linux Mint Wilma XFCE | CoreELEC NO 22 nightly S905X4 aarch64
Reply
Hi There - I just did a fresh install of Kodi and have everything cataloged and working as expected. Only issue now is IMDb Trailers is throwing a "Check Logs" error when I run it from the Movie Info screen. It works fine when running stand-alone through "Add Ons." I have uploaded the logs here: https://paste.kodi.tv/obikulofog. Thanks for any help. Eric.
Reply
(2024-11-09, 21:45)ericinsb Wrote: Hi There - I just did a fresh install of Kodi and have everything cataloged and working as expected. Only issue now is IMDb Trailers is throwing a "Check Logs" error when I run it from the Movie Info screen. It works fine when running stand-alone through "Add Ons." I have uploaded the logs here: https://paste.kodi.tv/obikulofog. Thanks for any help. Eric.
As the addon runs fine standalone, all it means is that the plugin call is not made correctly by whatever other addon you are using.
From your log it looks like you are calling from tmdb-helper which uses tmdb_ids to this addon which will never work as the id is incorrect and will get a blank response. Yes, I could add graceful failure message such as "Incorrect IMdB ID" instead of the current failure and generic check log message.

From your log
Code:
plugin://plugin.video.imdb.trailers/?action=play_id&imdb=10412
The id should be usually tt followed by numbers, for e.g, tt0105275 for Romper Stomper. So pass the correct id and it will play the trailer if it is available in IMDB.
Kodi 22 nightly Windows 10 and 11 | 21.1 Xbox One X | 22 nightly Linux Mint Wilma XFCE | CoreELEC NO 22 nightly S905X4 aarch64
Reply
  • 1
  • 4
  • 5
  • 6
  • 7
  • 8(current)

Logout Mark Read Team Forum Stats Members Help
IMDb Trailers Addon1