Remove item(s) from directory?
#1
Hi

I'm writing a plugin that lists some custom content. But the scanning for content may some times take a little time. That's ok, but while scanning xbmc shows a dialog "Loading directory - Retrieved x items".

My problem is that after scanning, i may filter out some items depended on user input. And so far I have not found a good way to do this. As of today i'm scanning, filtering, then adding items to directory (xbmcplugin.addDirectoryItems). But this way, the "Loading directory" dialog is stucked at "Retrieved 0 items" until the directory is fully loaded. I tried adding items as I'm scanning, and then the "Retrieved x items" is showing correctly, but I can't seem to find any xbmcplugin.removeDirectoryItem is simular api to remove the items that does not fit the filter.

Is there a way i can either remove some items, or clear the whole directory?
Reply

Logout Mark Read Team Forum Stats Members Help
Remove item(s) from directory?0