Posts: 67
Joined: Jun 2013
Reputation:
2
Hello,
I'm having troubles with the "Recently Added" section. It seems to be a transient issue in that it is broken for a period of time(weeks) then works for another period of weeks. It is the same on Linux and Android. There has been no addon update that I have noticed associated with the change from working to not working.
If you have a bit of spare time maybe you could look at the following log segment to see what's going on:
2021-02-13 10:32:47.406 T:139898090682112 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/home/my/.kodi/addons/plugin.video.imdb.trailers/default.py", line 23, in <module>
imdb_trailers.Main()
File "/home/my/.kodi/addons/plugin.video.imdb.trailers/resources/lib/imdb_trailers.py", line 77, in __init__
self.list_contents3()
File "/home/my/.kodi/addons/plugin.video.imdb.trailers/resources/lib/imdb_trailers.py", line 302, in list_contents3
plot = video.get('description').get('value')
AttributeError: 'NoneType' object has no attribute 'get'
-->End of Python script error report<--
2021-02-13 10:32:47.487 T:139898065504000 ERROR: GetDirectory - Error getting plugin://plugin.video.imdb.trailers/?action=list3&key=recent
2021-02-13 10:32:47.512 T:139899767729344 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.imdb.trailers/?action=list3&key=recent) failed
I appreciate any assistance you can give.
Posts: 464
Joined: Jun 2013
Reputation:
103
v2.1.13 released into the Matrix Kodi repo. Leia version to follow soon
Kodi 22 nightly Windows 10 and 11 | 21.1 Xbox One X | 22 nightly Linux Mint Wilma XFCE | CoreELEC NO 22 nightly S905X4 aarch64
Posts: 2
Joined: Sep 2021
Reputation:
0
Help please.
My IMDB trailers addon hasn't been working for a few weeks now.
Openelec on a RaspberryPI. Leia 18.9. And on my PC - installed it today to test it.
This is the log from the Raspberry -
2021-09-18 14:36:43.403 T:140489429808896 ERROR: GetDirectory - Error getting plugin://plugin.video.imdb.trailers/?action=list2&key=showing
2021-09-18 14:36:43.412 T:140492072805248 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.imdb.trailers/?action=list2&key=showing) failed
2021-09-18 14:41:55.702 T:140489429808896 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: expected string or buffer
Traceback (most recent call last):
File "/home/paul/.kodi/addons/plugin.video.imdb.trailers/default.py", line 23, in <module>
imdb_trailers.Main()
File "/home/paul/.kodi/addons/plugin.video.imdb.trailers/resources/lib/imdb_trailers.py", line 85, in __init__
self.list_contents2()
File "/home/paul/.kodi/addons/plugin.video.imdb.trailers/resources/lib/imdb_trailers.py", line 211, in list_contents2
mdiv = BeautifulSoup(page_data, "html.parser", parse_only=tlink)
File "/home/paul/.kodi/addons/script.module.beautifulsoup4/lib/bs4/__init__.py", line 347, in __init__
markup, from_encoding, exclude_encodings=exclude_encodings)):
File "/home/paul/.kodi/addons/script.module.beautifulsoup4/lib/bs4/builder/_htmlparser.py", line 363, in prepare_markup
exclude_encodings=exclude_encodings)
File "/home/paul/.kodi/addons/script.module.beautifulsoup4/lib/bs4/dammit.py", line 447, in __init__
for encoding in self.detector.encodings:
File "/home/paul/.kodi/addons/script.module.beautifulsoup4/lib/bs4/dammit.py", line 305, in encodings
self.markup, self.is_html)
File "/home/paul/.kodi/addons/script.module.beautifulsoup4/lib/bs4/dammit.py", line 379, in find_declared_encoding
declared_encoding_match = xml_re.search(markup, endpos=xml_endpos)
TypeError: expected string or buffer
-->End of Python script error report<--
2021-09-18 14:41:55.750 T:140492039206656 ERROR: GetDirectory - Error getting plugin://plugin.video.imdb.trailers/?action=list2&key=showing
2021-09-18 14:41:55.756 T:140492072805248 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.imdb.trailers/?action=list2&key=showing) failed
Posts: 53
Joined: Dec 2019
Reputation:
0
thanks for this!
are you still planning to support Leia?
Posts: 464
Joined: Jun 2013
Reputation:
103
haven't managed to figure out why it stopped working on Leia, will get to it eventually
Kodi 22 nightly Windows 10 and 11 | 21.1 Xbox One X | 22 nightly Linux Mint Wilma XFCE | CoreELEC NO 22 nightly S905X4 aarch64
Posts: 1,037
Joined: Oct 2015
Reputation:
50
2021-10-18, 01:16
(This post was last modified: 2021-10-18, 01:17 by jdig4240.)
Hey Gujal, maybe you can help? So I had an IMDB Trailers player working with The Movie Database Helper. Its a really useful player. It stopped working in the last couple days. The IMDB Trailers addon still works and so does the search. Maybe somebody can help get this player working again. Thanks, heres the imdbtrailers.json player code: { "name": "Watch Trailer Now", "plugin": "plugin.video.imdb.trailers", "priority": 1, "play_movie": [ "plugin://plugin.video.imdb.trailers/?action=search", { "keyboard": "{title}" }, { "title": "{title}" } ], "is_resolvable": "false" }