Jump to content
Posted

Hi.

I can't seem to get the latest version to work. I have installed the Matt Huisman Youtube for Trailers addon but I get the following error in the Kodi log:

2025-03-14 21:23:42.814 T:2308 info <general>: [- PreShow Experience -] (API): [VideoBumper] ('Trivia Intro') DISABLED

2025-03-14 21:23:42.814 T:2308 info <general>: [- PreShow Experience -] (API): [Trivia] ('Trivia') DISABLED

2025-03-14 21:23:42.814 T:2308 info <general>: [- PreShow Experience -] (API): [VideoBumper] ('Trivia Outro') DISABLED

2025-03-14 21:23:42.815 T:2308 info <general>: [- PreShow Experience -] (API): [VideoBumper] ('Courtesy') DISABLED

2025-03-14 21:23:42.815 T:2308 info <general>: [- PreShow Experience -] (API): [Action] 'E:\\Extras\\Actions\\Hue-TrailerLights.cvaction'

2025-03-14 21:23:42.815 T:2308 info <general>: [- PreShow Experience -] (API): [VideoBumper] 'Theater Intro'

2025-03-14 21:23:42.815 T:2308 info <general>: [- PreShow Experience -] (API): - Random

2025-03-14 21:23:42.821 T:2308 info <general>: [- PreShow Experience -] (API): [VideoBumper] 'Trailers Intro'

2025-03-14 21:23:42.821 T:2308 info <general>: [- PreShow Experience -] (API): - Random

2025-03-14 21:23:42.829 T:2308 info <general>: [- PreShow Experience -] (API): [Trailer] content x 2

2025-03-14 21:23:42.846 T:2308 info <general>: [- PreShow Experience -] (API): - [TMDB]

2025-03-14 21:23:42.847 T:2308 info <general>: [- PreShow Experience -]: TMDB Trailer Language: en-US

2025-03-14 21:23:42.848 T:2308 info <general>: [- PreShow Experience -] (API): - Searching un-watched trailers

2025-03-14 21:23:42.849 T:2308 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!

Error Type: <class 'AttributeError'>

Error Contents: 'Trailer' object has no attribute 'quality'

Traceback (most recent call last):

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\addon.py", line 21, in <module>

player.begin(args=args)

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\player.py", line 78, in begin

e.start(seqPath)

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\experience.py", line 1303, in start

return self._start(sequence_path)

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\experience.py", line 1323, in _start

self.processor.process()

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\preshowexperience\sequenceprocessor.py", line 1660, in process

playables = handler(self, sItem)

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\preshowexperience\sequenceprocessor.py", line 1034, in call

playables += self.scraperHandler(scraper, count, unwatched=unwatched, watched=watched)

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\preshowexperience\database.py", line 50, in inner

return func(*args, **kwargs)

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\preshowexperience\sequenceprocessor.py", line 1219, in scraperHandler

trailers += self.getTrailersFromDB(source, count)

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\preshowexperience\sequenceprocessor.py", line 1099, in getTrailersFromDB

quality = self.sItem.getLive('quality')

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\preshowexperience\sequence.py", line 1152, in getLive

return Item.getLive(self, attr)

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\preshowexperience\sequence.py", line 590, in getLive

val = self.getSetting(attr)

File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.preshowexperience\resources\lib\preshowexperience\sequence.py", line 587, in getSetting

return getattr(self, attr)

AttributeError: 'Trailer' object has no attribute 'quality'

-->End of Python script error report<--

Seems a 'Quality' attribute is missing??

Any help much appreciated. Thanks

Edited by Harris Mandem

  • Replies 2
  • Views 64
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

  • Administrator

I've fixed that bug in the next version, which should be coming out in a couple days.

Also, that bug only related to IMDB trailers. Matt Huisman's Youtube for Trailers addon only affects the YT and Kodi trailers.

  • Author

OK, that's great, thanks. I did try turning off IMDB trailer source but it still failed.

Keep up the good work :)

Create an account or sign in to comment

Topics