Ejemplo n.º 1
0
def add_item(url, listitem):
    """Return True, when item was added successfully, otherwise False."""
    ret = xbmcplugin.addDirectoryItem(addon.get_handle(), url, listitem)
    return ret
Ejemplo n.º 2
0
def end(cache_to_disk=False):
    xbmcplugin.endOfDirectory(addon.get_handle(), cacheToDisc=cache_to_disk)