My addon currently generates directory structures to provide end links to games. I’m interested in cleaning up the logfile and removing any unnecessary stuff my addon might be creating. This is the main error that I can see in logs, that isn’t necessarily an error:
ERROR: GetDirectory - Error getting plugin://plugin.program.iarl/Emulator/xxxx
ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.iarl/Emulator/xxxx) failed
Where xxx is whatever item they selected from the Kodi GUI. I believe this error is being generated because Kodi is looking for that directory, and it’s physically not there (its just a route within my addon).
This error doesn’t effect functionality, everything works, but I’d prefer not to confuse things.
Is it possible to inhibit ‘GetDirectory’ / ‘CGUIMediaWindow’ errors somehow in python? Or is there some other way I can keep the routing within the addon but tell Kodi this is not a real directory so don’t bother looking for it?
Thanks in advance!