Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to browse show listing level of categories #41

Open
twhitehead opened this issue Nov 9, 2024 · 3 comments
Open

Unable to browse show listing level of categories #41

twhitehead opened this issue Nov 9, 2024 · 3 comments

Comments

@twhitehead
Copy link

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
Copy link
Owner

micahg commented Nov 10, 2024

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:

xbmc/xbmc#25580

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

@twhitehead
Copy link
Author

Thanks. I'll give that a go. 👍

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants