Example #1
0
def listAZ():
	l = []
	t1 = threading.Thread(target=getA)
	t2 = threading.Thread(target=getZ)
	t1.start()
	t2.start()
	t1.join()
	t2.join()
	l += la
	l += lz
	libMediathek.sortAZ()
	return l
Example #2
0
def libBrListSections():
    libMediathek.sortAZ()
    return libBrJsonParser.parseSections()
Example #3
0
def libSrListTopics():
    libMediathek.sortAZ()
    return libSrJsonParser.getTopics()
Example #4
0
def libSrListShows():
    libMediathek.sortAZ()
    return libSrJsonParser.getShows()
Example #5
0
def libArdListLivestreamsOfChannel():
    channel = channels[int(params['channel'])]
    # Livestreams sind nicht sinnvoll vorsortiert
    libMediathek.sortAZ()
    return libArdJsonParserNeu.parseLivestreams(
        channel[2], 'ard' if (channel[1] & live_byard) else channel[3])
Example #6
0
def libZdfListShows():
	libMediathek.sortAZ()
	if 'url' in params:
		return libZdfJsonParser.getAZ(params['url'])
	else:
		return libZdfJsonParser.getAZ()
Example #7
0
def lib3satHtmlListShows():
    libMediathek.sortAZ()
    url = lib3satHtmlParser.base + '/sendungen-a-z?group=' + params[
        'name'].lower()
    l = lib3satHtmlParser.getAZ(url)
    return l
Example #8
0
def libKikaListShows():
	libMediathek.sortAZ()
	return libKikaJsonParser.getBrands()
Example #9
0
def libMdrListShows():  #
    libMediathek.sortAZ()
    return libMdrMetaParser.parseShows()
Example #10
0
def listMV():
	l = []
	l += libard.getMostViewed()
	l += libzdf.getMostViewed()[:50]
	libMediathek.sortAZ()
	return l