2024-12-19, 07:04
(2024-12-18, 10:43)TurDo Wrote: But after that I restarted kodi and it seems to be fine now
Also caught an exception, probably unrelated, but still
______
Second question, is this also related to TMDbH?
Code:error <general>: XFILE::CDirectory::GetDirectory - Error getting &nextpage=false&fanarttv=false&cacheonly=true&length=1
Yeah you would need to restart after updating the module for it to be reimported properly. Hopefully retry of the connection is enough for most cases -- I'd rather keep a session open than go back to the old approach which required a new session for every request.
Of course there can still be connection errors if network is down, or if the end server has issues / is rate limiting you for too many requests etc. as there's nothing that can be done for that other than retry later.
The exception is weird because Exception is a basic exception class in python and should always exist. If it keeps happening, let me know, but for now I'll just put it down as an unexpected startup quirk of Kodi's CPython API and something that normally wouldn't occur.
The GetDirectory error is unrelated and isn't consequential. It's just Kodi logging that a path in the skin didn't return any items. Based on what the path looks like, it is an invalid path where the first half is missing because some necessary info for an ID or query wasn't available (info is empty so only get the generic part of the path added on the end in the skin, which in turn returns no items since it doesn't point to any plugin, library, or file path).