예제 #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
예제 #2
0
def libBrListSections():
    libMediathek.sortAZ()
    return libBrJsonParser.parseSections()
예제 #3
0
파일: libsr.py 프로젝트: codingPF/Gigathek
def libSrListTopics():
    libMediathek.sortAZ()
    return libSrJsonParser.getTopics()
예제 #4
0
파일: libsr.py 프로젝트: codingPF/Gigathek
def libSrListShows():
    libMediathek.sortAZ()
    return libSrJsonParser.getShows()
예제 #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])
예제 #6
0
파일: libzdf.py 프로젝트: MhhhxX/Gigathek
def libZdfListShows():
	libMediathek.sortAZ()
	if 'url' in params:
		return libZdfJsonParser.getAZ(params['url'])
	else:
		return libZdfJsonParser.getAZ()
예제 #7
0
def lib3satHtmlListShows():
    libMediathek.sortAZ()
    url = lib3satHtmlParser.base + '/sendungen-a-z?group=' + params[
        'name'].lower()
    l = lib3satHtmlParser.getAZ(url)
    return l
예제 #8
0
def libKikaListShows():
	libMediathek.sortAZ()
	return libKikaJsonParser.getBrands()
예제 #9
0
파일: libmdr.py 프로젝트: MhhhxX/Gigathek
def libMdrListShows():  #
    libMediathek.sortAZ()
    return libMdrMetaParser.parseShows()
예제 #10
0
def listMV():
	l = []
	l += libard.getMostViewed()
	l += libzdf.getMostViewed()[:50]
	libMediathek.sortAZ()
	return l