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 - gujal - 2023-08-10

IMDb uses Amazon Cloudfront that senses your location and present content for that region. It cannot be bypassed from the client side.
Will check why Coming Soon takes a long time. Once it shows up can you tell me how many entries it collected on coming soon?


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

It took 4 minutes and 37 secs to populate "coming soon" with 77 entries.

Have you looked at the no titles in "Most Popular" issue?


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

(2023-08-11, 05:30)gargamon Wrote: It took 4 minutes and 37 secs to populate "coming soon" with 77 entries.

Have you looked at the no titles in "Most Popular" issue?

Okay have added threading and caching to improve speed
"Most Popular" seems to be a server side issue as it times out if cast is being requested. I have removed the cast for now
Can you test this version and let me know if it works correctly for you?
Code:
https://gujal00.github.io/plugin.video.imdb.trailers-2.1.18~nightly.zip



RE: IMDb Trailers Addon - gargamon - 2023-08-18

Wonderful update. It takes about 30 secs to populate "Coming Soon". Titles are also there in "Coming Soon".

I would release it.

Thanks again for keeping this working.


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

(2023-08-18, 10:42)gargamon Wrote: Wonderful update. It takes about 30 secs to populate "Coming Soon". Titles are also there in "Coming Soon".

I would release it.

Thanks again for keeping this working.
Thanks, PR raised in Kodi addons repository. Should be merged and released soon by Team Kodi


RE: IMDb Trailers Addon - hgny_1 - 2023-08-27

Hi
I'm getting an error while trying to watch trailers.
A log is here, hopefully, someone can help, please.

https://paste.kodi.tv/ahideyotuq.kodi


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

(2023-08-27, 12:00)hgny_1 Wrote: Hi
I'm getting an error while trying to watch trailers.
A log is here, hopefully, someone can help, please.

https://paste.kodi.tv/ahideyotuq.kodi

Unfortunately it is not a debug log, so cant do much.
Please enable debug mode in both Kodi settings and imdb trailer addon settings, restart kodi and then replicate the error. disable debug mode in kodi and addon and then upload and provide the link here
Also v 2.17+matrix.1 has known issues, did you try it with
Code:
https://gujal00.github.io/plugin.video.imdb.trailers-2.1.18~nightly.zip



RE: IMDb Trailers Addon - hgny_1 - 2023-08-28

Ok i will try it.

Meanwhile here is the new debug log.

https://paste.kodi.tv/banigajihu.kodi

Thanks.


RE: IMDb Trailers Addon - hgny_1 - 2023-08-28

(2023-08-28, 08:00)hgny_1 Wrote: Ok i will try it.

Meanwhile here is the new debug log.

https://paste.kodi.tv/banigajihu.kodi

Thanks.

Also, I tried the addon you gave and had same error.
I'm posting the debug log with the updated addon.
https://paste.kodi.tv/alitopopeb.kodi

Thanks.


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

@hgny_1 Looks like you are not using the addon directly and instead using from within tmdbhelper addon, have no idea how that is supposed to work

Anyway, You have not enabled debug in the imdb.trailers addon so cant see what data it received from tmdbhelper. I suspect the issue is most probably due to hebrew text being passed without encoding from tmdbhelper

Just use imdb.trailers addon directly and see if you still have the issue


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

Doesn't work on Arch Linux, using latest Kodi Nexus & Omega -I heard it doesn't work on windows too.
Image


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

(2023-11-06, 15:46)csts Wrote: Doesn't work on Arch Linux, using latest Kodi Nexus & Omega -I heard it doesn't work on windows too.

Providing screenshots is of not much use. Enable Debug in the addon settings, perform the tasks which lead to the error, upload the log to paste.kodi.tv and provide the link to the log here

Anyway try with this commit if it works for you


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

(2023-11-06, 22:12)gujal Wrote:
(2023-11-06, 15:46)csts Wrote: Doesn't work on Arch Linux, using latest Kodi Nexus & Omega -I heard it doesn't work on windows too.

Providing screenshots is of not much use. Enable Debug in the addon settings, perform the tasks which lead to the error, upload the log to paste.kodi.tv and provide the link to the log here

Anyway try with this commit if it works for you
Sorry about the photo. Commit doesn't work.
Kodi1.log ---------> Kodi debug log with debug enabled on addon.
Kodi2.log ---------> Kodi log with debug enabled on addon.
Kodi3.log ---------> Kodi debug log with debug enabled on addon + commit.

Logs:


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

(2023-11-07, 02:32)csts Wrote: Sorry about the photo. Commit doesn't work.
Kodi1.log ---------> Kodi debug log with debug enabled on addon.
Kodi2.log ---------> Kodi log with debug enabled on addon.
Kodi3.log ---------> Kodi debug log with debug enabled on addon + commit.

Logs:
Looks like Arch issue locating the cacert.pem file
From your Log
 
Code:
info <general>: special://xbmc/ is mapped to: /usr/share/kodi
.
.
.
File "/home/k/.kodi/addons/plugin.video.imdb.trailers/resources/lib/client.py", line 36, in request
ssl_context = ssl.create_default_context(cafile=CERT_FILE)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 770, in create_default_context
context.load_verify_locations(cafile, capath, cadata)
FileNotFoundError: [Errno 2] No such file or directory
->End of Python script error report<--
In imdbtrailers I use
 
Code:
CERT_FILE = TRANSLATEPATH('special://xbmc/system/certs/cacert.pem')
In ubuntu with official Kodi 20.2 ppa installed, it uses the same mapping and
 
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?


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

(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