Jump to content

agarr14

Member
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by agarr14

  1. How do you organize your trivia?

    Currently I have my slides in sub-folders for each type or theme of slides. When the trivia plays I notice that it will show slides from one or two folders that contain a high slide count and perhaps show a slide from a different folder that doesn't have as many slides in them.

    I was wondering if there is a better way to organize the slides to get a better balance of the slides shown. I know I could rename the slides to make them play a particular order, bu that would be the same show over and over until I renamed all the slides again.

  2. 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<--

     

×
×
  • Create New...