예제 #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
예제 #2
0
def end(cache_to_disk=False):
    xbmcplugin.endOfDirectory(addon.get_handle(), cacheToDisc=cache_to_disk)