2016-08-12, 13:25
My plugin creates a view with an entry calling a function that ends with this code:
It works as expected: Kodi calls the specified function in my plugin and the screen is correctly updated. Good.
The problem is that I am seeing this in the "kodi.log" file:
The first line is the invocation of my function. The last line is the effect of "XBMC.Container.Update()". My issue is the two middle lines.
Why I am seeing those errors and how to solve them?. Everything works fine, but those errors bug me.
Kodi 16.1 here.
Thanks.
Code:
url = plugin.url_for('muestra_servidores')
url = url.replace('"', '%22') # Escapamos comillas
# Volvemos a la página principal, eliminando la historia
return xbmc.executebuiltin('XBMC.Container.Update("%s", "replace")' %url)
It works as expected: Kodi calls the specified function in my plugin and the screen is correctly updated. Good.
The problem is that I am seeing this in the "kodi.log" file:
Code:
13:13:50 709.894470 T:1356854256 NOTICE: [xbmcswift2] Request for "/borrar_cache_all" matches rule for function "borrar_cache_all"
13:13:50 710.307007 T:1957262256 ERROR: GetDirectory - Error getting plugin://plugin.video.jcea/borrar_cache_all
13:13:50 710.310181 T:1957262256 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.jcea/borrar_cache_all) failed
13:13:53 713.128296 T:1739322352 NOTICE: [xbmcswift2] Request for "/" matches rule for function "muestra_servidores"
The first line is the invocation of my function. The last line is the effect of "XBMC.Container.Update()". My issue is the two middle lines.
Why I am seeing those errors and how to solve them?. Everything works fine, but those errors bug me.
Kodi 16.1 here.
Thanks.