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
def libBrListSections(): libMediathek.sortAZ() return libBrJsonParser.parseSections()
def libSrListTopics(): libMediathek.sortAZ() return libSrJsonParser.getTopics()
def libSrListShows(): libMediathek.sortAZ() return libSrJsonParser.getShows()
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])
def libZdfListShows(): libMediathek.sortAZ() if 'url' in params: return libZdfJsonParser.getAZ(params['url']) else: return libZdfJsonParser.getAZ()
def lib3satHtmlListShows(): libMediathek.sortAZ() url = lib3satHtmlParser.base + '/sendungen-a-z?group=' + params[ 'name'].lower() l = lib3satHtmlParser.getAZ(url) return l
def libKikaListShows(): libMediathek.sortAZ() return libKikaJsonParser.getBrands()
def libMdrListShows(): # libMediathek.sortAZ() return libMdrMetaParser.parseShows()
def listMV(): l = [] l += libard.getMostViewed() l += libzdf.getMostViewed()[:50] libMediathek.sortAZ() return l