Пример #1
0
def drawArenavisionin(page):
    mode = 4
    jsonChannels = Arenavisionin.getChannels(page)
    for item in jsonChannels:
        title = item["title"]
        if title == 'Display by event':
            title = XBMCUtils.getString(10006)
        link = item["link"]
        if link != '1':
            mode = 114
        if item.has_key("thumbnail"):
            image = item["thumbnail"]
            logger.info("detected img: " + image)
        else:
            image = icon
        add_dir(title, link, mode, image, "arenavisionin", link)
Пример #2
0
def drawArenavisionin(page):
    mode = 4
    jsonChannels = Arenavisionin.getChannels(page)
    for item in jsonChannels:
        title = item["title"]
        if title == "Display by event":
            title = XBMCUtils.getString(10006)
        link = item["link"]
        if link != "1":
            mode = 114
        if item.has_key("thumbnail"):
            image = item["thumbnail"]
            logger.info("detected img: " + image)
        else:
            image = icon
        add_dir(title, link, mode, image, "arenavisionin", link)
Пример #3
0
def openArenavisionLink(url, page):
    channel = Arenavisionin.getChannels(url)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Пример #4
0
def openArenavisionLink(url, page):
    channel = Arenavisionin.getChannels(url)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)