micahg / plugin.video.cbc

GNU General Public License v2.0
14 stars 8 forks source link

Unable to browse show listing level of categories #41

Open twhitehead opened 2 weeks ago

twhitehead commented 2 weeks ago

The last level of menus started fail in the last month or so. The python log says

2024-11-08 20:55:31.752 T:4074766   error <general>: GetDirectory - Error getting plugin://plugin.video.cbc/gem/categories/shows-categories-documentary
2024-11-08 20:55:31.762 T:4074592   error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.cbc/gem/categories/shows-categories-documentary) failed
2024-11-08 20:55:34.695 T:4074770   error <general>: plugin.video.cbc: Unable to load cookies: [Errno 2] No such file or directory: '/home/kodi/.kodi/userdata/addon_data/plugin.video.cbc/cookies'
2024-11-08 20:55:35.140 T:4074770   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'KeyError'>
                                                   Error Contents: 'items'
                                                   Traceback (most recent call last):
                                                     File "/home/kodi/.kodi/addons/plugin.video.cbc/default.py", line 345, in <module>
                                                       plugin.run()
                                                     File "/home/kodi/.kodi/addons/script.module.routing/lib/routing.py", line 130, in run
                                                       self._dispatch(self.path)
                                                     File "/home/kodi/.kodi/addons/script.module.routing/lib/routing.py", line 141, in _dispatch
                                                       view_func(**kwargs)
                                                     File "/home/kodi/.kodi/addons/plugin.video.cbc/default.py", line 286, in gem_category_menu
                                                       for show in category['items']:
                                                                   ~~~~~~~~^^^^^^^^^
                                                   KeyError: 'items'
                                                   -->End of Python script error report<--

The only way I can get to the list of episodes to watch thing is to search for the program and then access it through the search results. Live TV also still works.

micahg commented 1 week ago

Hey, you can probably get your menus working on the catalog_v2 - but there are a bunch of shows that wont play due to this bug:

https://github.com/xbmc/xbmc/issues/25580

Until playback is working I'm not sure it makes sense to continue development

twhitehead commented 1 week ago

Thanks. I'll give that a go. :+1:

I actually ran into what sounds a lot like the bug you linked too. You could hear skips in the sound. Originally it would exit playback after a bit too. I updated the machine to the latest distro release and then the exiting resolved, but the skips were still there.

I was going through the setting and noticed the option to choose the video player. I switched to from the default ffmpeg to winevine (going off memory for the names, so should double check) and the problem went away.

twhitehead commented 1 week ago

Changing the player to input adaptive (not winevine) was what resolved the audio glitching issues. I will try the catalog_v2 version when I have a moment and see if that resolves the catalog issues.