We frequently set up a collection of 10 to 20 slides as a pre-show before our programming for 30 or so minutes using the Slideshow module. However, we encounter the slideshow limitation: once all the slides have been displayed once, the slideshow ends, regardless of the total duration set. To achieve our desired length, we duplicate and manually number the slides, which is quite cumbersome when looking to keep the same rotation order over and over. Would it be possible to add a “loop” option to
I have been trying to load my content and it keeps giving me an error message.
Here is the log file
2023-03-20 21:22:58.500 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_MC_2:jpg ]
2023-03-20 21:22:58.508 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_MC_10:jpg ]
2023-03-20 21:22:58.515 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_QA_5:jpg ]
2023-03-20 21:22:58.522 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_MC_6:jpg ]
2023-03-20 21:22:58.528 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_QA_9:jpg ]
2023-03-20 21:22:58.535 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_MC_3:jpg ]
2023-03-20 21:22:58.542 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_Facts_3:jpg ]
2023-03-20 21:22:58.579 T:2505 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: '<' not supported between instances of 'str' and 'NoneType'
Traceback (most recent call last):
File "/storage/.kodi/addons/script.preshowexperience/addon.py", line 36, in <module>
pseutil.loadContent(from_settings=fromSettings, bg=not fromSettings)
File "/storage/.kodi/addons/script.preshowexperience/lib/pseutil.py", line 225, in loadContent
preshowexperience.content.UserContent(contentPath, callback=p.msg, trailer_sources=kodiutil.getSetting('trailer.scrapers', '').split(','))
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 104, in __init__
self.loadContent()
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 204, in loadContent
self.loadTrivia()
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 233, in loadTrivia
self.triviaDirectoryHandler(path, prefix=sub)
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/database.py", line 44, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 503, in __call__
self.doCall(basePath, prefix)
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 618, in doCall
for ct, key in enumerate(sorted(data['c'].keys())):
^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'str' and 'NoneType'
-->End of Python script error report<--