Exemplo n.º 1
0
def list():
    modes = {
        'libBrListMain': libBrListMain,
        'libBrListNew': libBrListNew,
        'libBrListSeries': libBrListSeries,
        'libBrListEpisodes': libBrListEpisodes,
        'libBrListBoards': libBrListBoards,
        'libBrListBoard': libBrListBoard,
        'libBrListCategories': libBrListCategories,
        'libBrListCategorie': libBrListCategorie,
        'libBrListGenres': libBrListGenres,
        'libBrListGenre': libBrListGenre,
        'libBrListSections': libBrListSections,
        'libBrListSection': libBrListSection,
        'libBrListVideos2': libBrListVideos2,
        'libBrListChannel': libBrListChannel,
        'libBrListChannelDate': libBrListChannelDate,
        'libBrListChannelDateVideos': libBrListChannelDateVideos,
        'libBrSearch': libBrSearch,
        'libBrListSearch': libBrListSearch,
        'libBrPlay': libBrPlay,
        'libBrPlayOld': libBrPlayOld
    }
    global params
    params = libMediathek.get_params()
    mode = params.get('mode', 'libBrListMain')
    if mode == 'libBrPlay':
        libMediathek.play(libBrPlay())
    elif mode == 'libBrPlayOld':
        libMediathek.play(libBrPlayOld())
    else:
        l = modes.get(mode)()
        if not (l is None):
            libMediathek.addEntries(l)
            libMediathek.endOfDirectory()
Exemplo n.º 2
0
def list():
    modes = {
        'libDasErsteListMain': libDasErsteListMain,
        'libDasErsteListShows': libDasErsteListShows,
        'libDasErsteListCategories': libDasErsteListCategories,
        'libDasErsteListVideos': libDasErsteListVideos,
        'libDasErsteListDate': libDasErsteListDate,
        'libDasErsteListDateVideos': libDasErsteListDateVideos,
        'libDasErsteSearch': libDasErsteSearch,
        'libDasErsteListSearch': libDasErsteListSearch,
        'libDasErstePlay': libDasErstePlay,
    }
    views = {
        'libDasErsteListShows': 'shows',
        'libDasErsteListVideos': 'videos',
        'libDasErsteListDate': 'videos',
        'libDasErsteListDateVideos': 'videos',
        'libDasErsteListSearch': 'videos'
    }
    global params
    params = libMediathek.get_params()
    mode = params.get('mode', 'libDasErsteListMain')
    if mode == 'libDasErstePlay':
        libMediathek.play(libDasErstePlay())
    else:
        l = modes.get(mode)()
        if not (l is None):
            libMediathek.addEntries(l)
            libMediathek.endOfDirectory()
Exemplo n.º 3
0
def list():	
	modes = {
	'libBrListMain': libBrListMain,
	'libBrListLetters': libBrListLetters,
	'libBrListShows': libBrListShows,
	'libBrListVideos': libBrListVideos,
	'libBrListVideos2': libBrListVideos2,
	'libBrListChannel': libBrListChannel,
	'libBrListChannelDate': libBrListChannelDate,
	'libBrListChannelDateVideos': libBrListChannelDateVideos,
	'libBrSearch': libBrSearch,
	'libBrListSearch': libBrListSearch,
	'libBrPlay': libBrPlay
	}
	views = {
	'libBrListShows': 'shows',
	'libBrListVideos': 'videos',
	'libBrListDate': 'videos',
	'libBrListDateVideos': 'videos',
	'libBrListSearch': 'videos'
	}
	global params
	params = libMediathek.get_params()
	mode = params.get('mode','libBrListMain')
	if mode == 'libBrPlay':
		libMediathek.play(libBrPlay())
	else:
		l = modes.get(mode)()
		libMediathek.addEntries(l)
		libMediathek.endOfDirectory()	
Exemplo n.º 4
0
def list():
    modes = {
        'libSrListMain': libSrListMain,
        'libSrListShows': libSrListShows,
        'libSrListVideos': libSrListVideos,
        'libSrListDate': libSrListDate,
        'libSrListDateVideos': libSrListDateVideos,
        'libSrListTopics': libSrListTopics,
        'libSrListTopic': libSrListTopic,
        'libSrPlay': libSrPlay,
        'libSrSearch': libSrSearch,
        'libSrListSearch': libSrListSearch,
    }
    global params
    params = libMediathek.get_params()
    global pluginhandle
    pluginhandle = int(sys.argv[1])
    mode = params.get('mode', 'libSrListMain')
    if mode == 'libSrPlay':
        libMediathek.play(libSrPlay())
    else:
        l = modes.get(mode)()
        if not (l is None):
            libMediathek.addEntries(l)
            libMediathek.endOfDirectory()
Exemplo n.º 5
0
def list():
    modes = {
        'libWdrListMain': libWdrListMain,
        'libWdrListLetters': libWdrListLetters,
        'libWdrListShows': libWdrListShows,
        'libWdrListVideos': libWdrListVideos,
        'libWdrListFeed': libWdrListFeed,
        'libWdrListDate': libWdrListDate,
        'libWdrListDateVideos': libWdrListDateVideos,
        'libWdrSearch': libWdrSearch,
        'libWdrListSearch': libWdrListSearch,
        'libWdrPlay': libWdrPlay,
        'libWdrPlayJs': libWdrPlayJs
    }
    global params
    params = libMediathek.get_params()
    mode = params.get('mode', 'libWdrListMain')
    if mode == 'libWdrPlay':
        libMediathek.play(libWdrPlay())
    elif mode == 'libWdrPlayJs':
        libMediathek.play(libWdrPlayJs())
    else:
        l = modes.get(mode)()
        if not (l is None):
            libMediathek.addEntries(l)
            libMediathek.endOfDirectory()
Exemplo n.º 6
0
def list():
    modes = {
        'libArteListMain': libArteListMain,
        'libArteCategories': libArteCategories,
        'libArteSubcategories': libArteSubcategories,
        'libArteListVideos': libArteListVideos,
        'libArteListListings': libArteListListings,
        'libArteListCollections': libArteListCollections,
        'libArteListVideosNew': libArteListVideosNew,
        'libArteListDate': libArteListDate,
        'libArteListDateVideos': libArteListDateVideos,
        'libArteSearch': libArteSearch,
        'libArtePlay': libArtePlay,
    }

    global params
    params = libMediathek.get_params()
    global pluginhandle
    pluginhandle = int(sys.argv[1])
    mode = params.get('mode', 'libArteListMain')
    if mode == 'libArtePlay':
        libMediathek.play(libArtePlay())
    else:
        l = modes.get(mode)()
        libMediathek.addEntries(l)
        libMediathek.endOfDirectory()
Exemplo n.º 7
0
def list():
    global params
    params = libMediathek.get_params()
    mode = params.get('mode', 'libArdListMain')
    if mode == 'libArdPlay':
        libMediathek.play(libArdPlay())
    else:
        l = modes.get(mode, libArdListMain)()
        libMediathek.addEntries(l)
        libMediathek.endOfDirectory()
Exemplo n.º 8
0
def list():	
	global params
	params = libMediathek.get_params()
	
	mode = params.get('mode','main')
	if mode == 'play':
		libMediathek.play(play())
	else:
		l = modes.get(mode)()
		libMediathek.addEntries(l)
		libMediathek.endOfDirectory()
Exemplo n.º 9
0
def list():
    global params
    params = libMediathek.get_params()
    global pluginhandle
    pluginhandle = int(sys.argv[1])
    mode = params.get('mode', 'main')
    if mode.startswith('libZdf'):
        libzdf.list()
    else:
        l = modes.get(mode)()
        libMediathek.addEntries(l)
        libMediathek.endOfDirectory()
Exemplo n.º 10
0
def list():
    global params
    params = libMediathek.get_params()
    mode = params.get('mode', 'lib3satListMain')
    if mode == 'lib3satXmlPlay' or mode == 'xmlPlay':
        libMediathek.play(lib3satXmlPlay())
    else:
        #l = modes.get(mode,lib3satListMain)()
        l = modes.get(mode)()
        if not (l is None):
            libMediathek.addEntries(l)
            libMediathek.endOfDirectory()
Exemplo n.º 11
0
def list():	
	global params
	params = libMediathek.get_params()
	mode = params.get('mode','libZdfListMain')
	if mode == 'libZdfPlay':
		libMediathek.play(libZdfPlay())
	elif mode == 'libZdfPlayById':
		libMediathek.play(libZdfPlayById())
		
	else:
		l = modes.get(mode,libZdfListMain)()
		if not (l is None):
			libMediathek.addEntries(l)
			libMediathek.endOfDirectory()	
Exemplo n.º 12
0
def list():
    modes = {
        'libKikaListMain': libKikaListMain,
        'libKikaListShows': libKikaListShows,
        'libKikaListVideos': libKikaListVideos,
        #	'libKikaListDate': libKikaListDate,
        #	'libKikaListDateVideos': libKikaListDateVideos,
        #	'libKikaSearch': libKikaSearch,
        'libKikaPlay': libKikaPlay,
    }
    global params
    params = libMediathek.get_params()
    mode = params.get('mode', 'libKikaListMain')
    if mode == 'libKikaPlay':
        libMediathek.play(libKikaPlay())
    else:
        l = modes.get(mode)()
        libMediathek.addEntries(l)
        libMediathek.endOfDirectory()
Exemplo n.º 13
0
def list():
	modes = {
		'libHrListMain': libHrListMain,
		'libHrListDate': libHrListDate,
		'libHrListDateVideos': libHrListDateVideos,
		'libHrListShows': libHrListShows,
		'libHrListEpisodes': libHrListEpisodes,
		'libHrPlay': libHrPlay,
	}

	global params
	params = libMediathek.get_params()
	# mode = params.get('mode','libHrListMain')
	mode = params.get('mode','libHrListShows')
	if mode == 'libHrPlay':
		libMediathek.play(libHrPlay())
	else:
		l = modes.get(mode)()
		libMediathek.addEntries(l)
		libMediathek.endOfDirectory()
Exemplo n.º 14
0
def list():
    modes = {
        'libMdrListMain': libMdrListMain,
        'libMdrBroadcast': libMdrBroadcast,
        'libMdrListRubrics': libMdrListRubrics,
        'libMdrListShows': libMdrListShows,
        'libMdrListPlus': libMdrListPlus,
        'libMdrListVideos': libMdrListVideos,
        'libMdrListDate': libMdrListDate,
        'libMdrListDateVideos': libMdrListDateVideos,
        #'libMdrListDateChannels': libMdrListDateChannels,
        'libMdrListSearch': libMdrListSearch,
        'libMdrPlay': libMdrPlay
    }
    global params
    params = libMediathek.get_params()
    mode = params.get('mode', 'libMdrListMain')
    if mode == 'libMdrPlay':
        libMediathek.play(libMdrPlay())
    else:
        l = modes.get(mode)()
        if not (l is None):
            libMediathek.addEntries(l)
            libMediathek.endOfDirectory()