Example #1
0
def get_shows():
    url = 'http://luli.tv/Items.aspx?pageId=1'
    showsList = luli.get_page(url)
    for show in showsList:
        plugintools.add_item(title=show.get('title'),action='showepisodes',url=show.get('url'),thumbnail=show.get('image'))
    plugintools.close_item_list()
Example #2
0
def get_episodes(url):
    epsList = luli.get_page(url)
    for episode in epsList:
        plugintools.add_item(title=episode.get('title'),action='stream',url=episode.get('url'),thumbnail=episode.get('image'))
    plugintools.close_item_list()