def torrenttv():
	dict_torrent = {}
	html_source = get_page_source(base_url)
	match = re.compile('#EXTINF:-1,(.+?)\n(.*)').findall(html_source)
	for title, acehash in match:
    		channel_name = re.compile('(.+?) \(').findall(title)
    		match_cat = re.compile('\((.+?)\)').findall(title)
    		for i in xrange(0,len(match_cat)):
    			if match_cat[i] == "Для взрослых" and settings.getSetting('hide_porn') == "true":
    				pass
    			elif match_cat[i] == "Ночной канал" and settings.getSetting('hide_porn') == "true":
                                pass
    			else:
                		if settings.getSetting('russian_translation') == "true": categorie = russiandictionary(match_cat[i])
                		else: categorie=match_cat[i]
                		if categorie not in dict_torrent.keys():
                			try:
            					dict_torrent[categorie] = [(channel_name[0],acehash)]
            				except: pass
            			else:
            				try:
            					dict_torrent[categorie].append((channel_name[0],acehash))
            				except: pass
	for categories in dict_torrent.keys():
		addDir(categories,str(dict_torrent),401,os.path.join(current_dir,"icon.png"),401,True,parser="torrenttvruall",parserfunction="channels")