2024-02-07, 04:51
I'm having a strange problem with a plugin. Strange because it was working then I don't what changed but now have problems.
The structure of the plugin is to use the routing module and create filtered lists of actors. I have a couple levels of folders for the filters, then the final level is a directory of listitems for the filtered actors. The info on the listitems comes from an external to Kodi db with characteristics (sort of like Kodi artist info). I use xbmcplugin.addDirectoryItems to create the list. The URL set for each is to a different plugin, plugin://script.extendedinfo/?info= with the needed parameters to run that script.
The problem is, as soon as I navigate to a listitem, Kodi immediately runs the url plugin, instead of waiting for a select/click action. When the url plugin exits, Kodi immediately runs it again until I "escape" out of the level.
Any ideas on where to look? I tried removing the listitem path (setPath("")) but that did nothing. I take it the intent of plugin is to end up with a playable item not a generic listitem, maybe that has something to do with it?
scott s.
.
The structure of the plugin is to use the routing module and create filtered lists of actors. I have a couple levels of folders for the filters, then the final level is a directory of listitems for the filtered actors. The info on the listitems comes from an external to Kodi db with characteristics (sort of like Kodi artist info). I use xbmcplugin.addDirectoryItems to create the list. The URL set for each is to a different plugin, plugin://script.extendedinfo/?info= with the needed parameters to run that script.
The problem is, as soon as I navigate to a listitem, Kodi immediately runs the url plugin, instead of waiting for a select/click action. When the url plugin exits, Kodi immediately runs it again until I "escape" out of the level.
Any ideas on where to look? I tried removing the listitem path (setPath("")) but that did nothing. I take it the intent of plugin is to end up with a playable item not a generic listitem, maybe that has something to do with it?
scott s.
.