Example #1
0
def list():
	allModes = modes.copy()
	allModes.update(libzdfneu.modes)
	allPlayModes = set(playModes + libzdfneu.playModes)
	return libMediathek.list(allModes, 'libZdfListCombined', *allPlayModes)

	"""
Example #2
0
def list():
    show_hint_mobile = libMediathek.getSettingBool('show_hint_mobile')
    if show_hint_mobile:
        libMediathek.setSettingBool('show_hint_mobile', False)
        addon = xbmcaddon.Addon()
        title = addon.getAddonInfo('name')
        text = addon.getLocalizedString(32100)
        xbmcgui.Dialog().ok(title, text)
    use_mobile = libMediathek.getSettingBool('use_mobile')
    use_mobile_prev_value = libMediathek.getSettingBool(
        'use_mobile_prev_value')
    if (use_mobile != use_mobile_prev_value) or show_hint_mobile:
        if 'mode' in params:
            del params['mode']  # force default mode
        if use_mobile != use_mobile_prev_value:
            libMediathek.setSettingBool('use_mobile_prev_value', use_mobile)
            addon = xbmcaddon.Addon()
            title = addon.getAddonInfo('name')
            text = addon.getLocalizedString(32101)
            xbmcgui.Dialog().notification(
                title, text,
                os.path.join(addon.getAddonInfo('path'), 'icon.png'))
            xbmc.executebuiltin('Container.Update(path,replace)')
    if use_mobile:
        return libzdfneu.list()
    else:
        return libMediathek.list(modes, 'libZdfListMain', 'libZdfPlay',
                                 'libZdfPlayById')
Example #3
0
def list():
    return libMediathek.list(modes, 'main', 'libZdfPlay', 'libZdfPlayById')
Example #4
0
def list():
    return libMediathek.list(modes, 'libBrListMain', 'libBrPlay',
                             'libBrPlayOld')
Example #5
0
def list():
    return libMediathek.list(modes, 'libSrListMain', 'libSrPlay')
Example #6
0
def list():
    return libMediathek.list(modes, 'main', *libzdf.playModes)
Example #7
0
def list():
    return libMediathek.list(modes, 'libArdListMainMobile', *playModes)
Example #8
0
def list():
    return libMediathek.list(modes, 'libArteListMain', 'libArtePlay')
Example #9
0
def list():
    return libMediathek.list(modes, 'libWdrListMain', 'libWdrPlay',
                             'libWdrPlayJs')
Example #10
0
def list():
    return libMediathek.list(modes, 'lib3satHtmlListMain', 'lib3satHtmlPlay')
Example #11
0
def list():
    libMediathek.list(modes, 'main', 'play')
Example #12
0
def list():
	return libMediathek.list(modes, 'libKikaListMain', 'libKikaPlay')
Example #13
0
def list():
    return libMediathek.list(modesNeu, 'libArdListMainNeu', 'libArdPlay',
                             'libArdPlayHtml')
Example #14
0
def list():
	return libMediathek.list(modesNeu, 'libZdfListMainNeu', 'libZdfPlayNeu', 'libZdfPlayLivestream')