def __init__(self, session, genre_type=('select','',None), genre_title=_('GENRES'), menu_data=None):
		self.__class__.ctr += 1
		self.genre_type = genre_type
		self.genre_title = genre_title
		if genre_type[0] == 'albums':
			skin_name='defaultListScreen.xml'
		else:
			skin_name='defaultGenreScreen.xml'

		MenuHelper.__init__(self, session, 0, None, BASE_URL, "", self._defaultlistleft, cookieJar=glob_cookies, skin_name=skin_name)

		self['title'] = Label(MFMP3_Version)
		self['ContentTitle'] = Label(self.genre_title)
		self.menu = menu_data
		self.skipMenuParse = menu_data != None

		self["mfmp3_actions"] = ActionMap(['MP_Actions'], {
			"blue" :  self.blueButton,
			"yellow" :  self.yellowButton,
			"green" :  self.moreButton,
			"nextBouquet" : self.keyPageUp,
			"prevBouquet" : self.keyPageDown
		}, -1)
		self['Page'] = Label(_("Page:"))
		self['F2'] = Label("")
		self['F3'] = Label("")
		self['F4'] = Label("")
		if genre_type[0] == 'albums':
			self['handlung'] = Label()
			
		self.page = self.pages = 0
		self.nextUrl = self.nextPage = None
		self.yellowButtonTxt = None
		self.moreButtonTxt = None
		self.blueButtonTxt = None
		self.similar = None
		self.genres = None
		self.param_qr = ''
		self.hist_stype = None
		self.hist_menuListe = None
		self.deferredDL = None
		self.title_set = set()
		self.bio_text = ""

		if self.genre_type[0] == 'select':
			self.__class__.ctr = 1
			if config.mediaportal.restorelastservice.value == "1" and not config.mediaportal.backgroundtv.value:
				self.lastservice = self.session.nav.getCurrentlyPlayingServiceReference()
			else:
				self.lastservice = None
			self.onClose.append(self.restoreLastService)
			self.onClose.append(glob_historyLRUCache.saveCache)
			glob_historyLRUCache.readCache()

		self.onClose.append(self.mfmp3Close)
		self.mh_On_setGenreStrTitle.append((self.showInfos,()))
		if not self.__class__.hash:
			twAgentGetPage(BASE_URL+'/theme/new/js/lang.js', cookieJar=glob_cookies, timeout=5).addCallback(self.parseHash).addErrback(self.parseHash, True).addCallback(lambda x: self.mh_initMenu())
		else:
			self.onLayoutFinish.append(self.mh_initMenu)
	def __init__(self, session):
		MenuHelper.__init__(self, session, 0, [[]], "https://www.lachmeister.de/lustige-filme", "/index-seite-%d.html", self._defaultlistcenter, default_cover=default_cover)

		self['title'] = Label("Lachmeister")
		self['ContentTitle'] = Label("Genres")

		self.onLayoutFinish.append(self.mh_initMenu)
	def __init__(self, session):

		MenuHelper.__init__(self, session, 1, [[],[],[]], "http://www.dokuhouse.de", "/category", self._defaultlistcenter)

		self['title'] = Label(DH_Version)
		self['ContentTitle'] = Label("Genres")
Esempio n. 4
0
	def __init__(self, session, fusion_cfg, portal_nm, genre_title='Auswahl', series_id=None, series_nm=None):
		if fusion_cfg:
			global glob_portal_nm
			global glob_fusion_client
			global glob_portal_logo
			glob_portal_nm = portal_nm
			glob_fusion_client = fusion.Client(fusion.fusionConfig[fusion_cfg])
			glob_portal_logo = fusion.fusionConfig[fusion_cfg]['logo']
		self.genre_title = genre_title
		self.series_id = series_id
		self.series_nm = series_nm

		MenuHelper.__init__(self, session, 0, None, None, "", self._defaultlistleft, skin_name='defaultListWideScreen.xml')

		self["dmax_actions"] = ActionMap(['MP_Actions'], {
			"blue" :  self.keyTxtPageDown,
			"yellow" :  self.keyTxtPageUp
		}, -1)

		self['title'] = Label(glob_portal_nm + DMAX_Version)
		self['ContentTitle'] = Label(self.genre_title)
		self['F3'] = Label('Text-')
		self['F4'] = Label('Text+')
		self.mh_On_setGenreStrTitle.append((self.showInfos,()))
		self.onLayoutFinish.append(self.mh_initMenu)
	def __init__(self, session):

		MenuHelper.__init__(self, session, 0, [[]], "http://www.lachmeister.de/lustige-filme", "/index-seite-%d.html", self._defaultlistcenter)

		self['title'] = Label(LMDE_Version)
		self['ContentTitle'] = Label("Genres")
	def __init__(self, session):

		MenuHelper.__init__(self, session, 0, [[('Alle Videos','/video')]], "http://www.hans-wurst.net", "", self._defaultlistcenter)

		self['title'] = Label(HWNET_Version)
		self['ContentTitle'] = Label("Genres")
	def __init__(self, session):

		MenuHelper.__init__(self, session, 0, [[]], "http://www.funny-videoclips.de", "", self._defaultlistcenter)

		self['title'] = Label(FVCDE_Version)
		self['ContentTitle'] = Label("Genres")
Esempio n. 8
0
    def __init__(self, session):

        genreBase = [
            "/search_99/?q=", "/moviez_", "/episodez_", "/abookz_", "", "", "",
            "", "", "", ""
        ]

        genreMenu = [
            [("Suche...", ""), ("Filme", ""), ("Serien", "")],
            [
                None,
                [("Alle", "00_%d_1_%d"), ("Kinofilme", "23_%d_1_%d"),
                 ("Abenteuer", "01_%d_1_%d"), ("Action", "02_%d_1_%d"),
                 ("Animation", "03_%d_1_%d"), ("Biografie", "04_%d_1_%d"),
                 ("Blockbuster", "25_%d_1_%d"), ("Doku", "06_%d_1_%d"),
                 ("Drama", "07_%d_1_%d"), ("Familie", "08_%d_1_%d"),
                 ("Fantasie", "09_%d_1_%d"), ("Geschichte", "10_%d_1_%d"),
                 ("Horror", "11_%d_1_%d"), ("Klassiker", "12_%d_1_%d"),
                 ("Komödie", "13_%d_1_%d"), ("Kriegsfilm", "14_%d_1_%d"),
                 ("Musik", "15_%d_1_%d"), ("Mystery", "16_%d_1_%d"),
                 ("Romantisch", "17_%d_1_%d"), ("SciFi", "18_%d_1_%d"),
                 ("Sport", "20_%d_1_%d"), ("Thriller", "21_%d_1_%d"),
                 ("Western", "22_%d_1_%d")],
                [("Alle", "00_%d_1_%d"), ("Abenteuer", "01_%d_1_%d"),
                 ("Action", "02_%d_1_%d"), ("Animation", "03_%d_1_%d"),
                 ("Doku", "06_%d_1_%d"), ("Drama", "07_%d_1_%d"),
                 ("Familie", "08_%d_1_%d"), ("Fantasie", "09_%d_1_%d"),
                 ("Geschichte", "10_%d_1_%d"), ("Horror", "11_%d_1_%d"),
                 ("Komödie", "13_%d_1_%d"), ("Mystery", "16_%d_1_%d"),
                 ("Romantisch", "17_%d_1_%d"), ("SciFi", "18_%d_1_%d"),
                 ("Sport", "20_%d_1_%d"), ("Thriller", "21_%d_1_%d"),
                 ("Western", "22_%d_1_%d")],
                [("Alle", "00_%d_1_%d"), ("Thriller", "01_%d_1_%d"),
                 ("Krimi", "02_%d_1_%d"), ("Fantasy", "03_%d_1_%d"),
                 ("Horror", "04_%d_1_%d"), ("SciFi", "05_%d_1_%d"),
                 ("Romane", "06_%d_1_%d"), ("Historisch", "07_%d_1_%d"),
                 ("Klassiker", "08_%d_1_%d"), ("Humor", "09_%d_1_%d"),
                 ("Bildung & Wissen", "10_%d_1_%d"),
                 ("Freizeit & Leben", "11_%d_1_%d"),
                 ("Karriere", "12_%d_1_%d"), ("Kinder", "13_%d_1_%d"),
                 ("Jugendliche", "14_%d_1_%d"), ("Erotik", "15_%d_1_%d")]
            ], [None, None, None, None]
        ]

        MenuHelper.__init__(self,
                            session,
                            1,
                            genreMenu,
                            "http://de.ddl.me",
                            genreBase,
                            self._defaultlistcenter,
                            default_cover=default_cover)

        self['title'] = Label("ddl.me")
        self['ContentTitle'] = Label("Genres")

        self.param_qr = ''

        self.onLayoutFinish.append(self.mh_loadMenu)
    def __init__(self, session):

        MenuHelper.__init__(self, session, 2, [[], [], []], "http://www.gaskrank.tv", "/tv", self._defaultlistcenter)

        self["title"] = Label(GKTV_Version)
        self["ContentTitle"] = Label("Genres")

        self.onLayoutFinish.append(self.mh_initMenu)
	def __init__(self, session):

		MenuHelper.__init__(self, session, 2, [[],[],[]], "http://www.gaskrank.tv", "/tv", self._defaultlistcenter, default_cover=default_cover)

		self['title'] = Label("Gaskrank.tv")
		self['ContentTitle'] = Label("Genres")

		self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 11
0
	def __init__(self, session, genre_type=('select','',None), genre_title=_('GENRES'), menu_data=None):
		self.__class__.ctr += 1
		self.genre_type = genre_type
		self.genre_title = genre_title
		if genre_type[0] == 'albums':
			skin_name='MP_PluginDescr'
		else:
			skin_name='MP_Plugin'

		MenuHelper.__init__(self, session, 0, None, BASE_URL, "", self._defaultlistleft, cookieJar=mfmp3_cookies, skin_name=skin_name)

		self['title'] = Label("MyFreeMP3")
		self['ContentTitle'] = Label(self.genre_title)
		self.menu = menu_data
		self.skipMenuParse = menu_data != None

		self["mfmp3_actions"] = ActionMap(['MP_Actions'], {
			"blue" :  self.blueButton,
			"yellow" :  self.yellowButton,
			"green" :  self.moreButton,
			"nextBouquet" : self.keyPageUp,
			"prevBouquet" : self.keyPageDown
		}, -1)
		self['Page'] = Label("")
		self['F2'] = Label("")
		self['F3'] = Label("")
		self['F4'] = Label("")
		if genre_type[0] == 'albums':
			self['handlung'] = Label()

		self.page = self.pages = 0
		self.nextUrl = self.nextPage = None
		self.yellowButtonTxt = None
		self.moreButtonTxt = None
		self.blueButtonTxt = None
		self.similar = None
		self.genres = None
		self.param_qr = ''
		self.hist_stype = None
		self.hist_menuListe = None
		self.deferredDL = None
		self.title_set = set()
		self.bio_text = ""

		if self.genre_type[0] == 'select':
			self.__class__.ctr = 1
			if config.mediaportal.restorelastservice.value == "1" and not config.mediaportal.backgroundtv.value:
				self.lastservice = self.session.nav.getCurrentlyPlayingServiceReference()
			else:
				self.lastservice = None
			self.onClose.append(self.restoreLastService)
			self.onClose.append(glob_historyLRUCache.saveCache)
			glob_historyLRUCache.readCache()

		self.onClose.append(self.mfmp3Close)
		self.mh_On_setGenreStrTitle.append((self.showInfos,()))

		self.onLayoutFinish.append(self.mh_start)
Esempio n. 12
0
	def __init__(self, session):

		MenuHelper.__init__(self, session, 1, [[("Neueste Dokus", ""),("Suche...", "/?s=%s&x=0&y=0")],[None,None]], "http://www.dokus4.me", "/index.php", self._defaultlistcenter)

		self['title'] = Label(D4ME_Version)
		self['ContentTitle'] = Label("Genres")

		self.param_qr = ''
	def __init__(self, session):
		MenuHelper.__init__(self, session, 0, None, BASE_URL, "", self._defaultlistcenter)

		self['title'] = Label(DMDE_Version)
		self['ContentTitle'] = Label("Genres")

		self.param_qr = ''

		self.onLayoutFinish.append(self.mh_initMenu)
	def __init__(self, session):

		baseUrl = "http://www.lachschon.de"
		MenuHelper.__init__(self, session, 0, None, baseUrl, "", self._defaultlistcenter)

		self['title'] = Label(LSDE_Version)
		self['ContentTitle'] = Label("Genres")

		self.onLayoutFinish.append(self.parseCats)
Esempio n. 15
0
	def __init__(self, session):

		baseUrl = "https://videogold.de"
		MenuHelper.__init__(self, session, 0, None, baseUrl, "", self._defaultlistcenter)

		self['title'] = Label("VideoGold.de")
		self['ContentTitle'] = Label("Genres")

		self.onLayoutFinish.append(self.mh_initMenu)
	def __init__(self, session):

		baseUrl = "http://doku.to"
		MenuHelper.__init__(self, session, 0, None, baseUrl, "", self._defaultlistcenter)

		self['title'] = Label("DOKU.to")
		self['ContentTitle'] = Label("Genres")

		self.onLayoutFinish.append(self.mh_initMenu)
	def __init__(self, session):
		MenuHelper.__init__(self, session, 0, None, BASE_URL, "", self._defaultlistcenter, cookieJar=glob_cookies)

		self['title'] = Label(SKTO_Version)
		self['ContentTitle'] = Label("Genres")
		self.param_qr = ''
		self.search_token = None

		self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 18
0
	def __init__(self, session):

		baseUrl = "http://doku.to"
		MenuHelper.__init__(self, session, 0, None, baseUrl, "", self._defaultlistcenter)

		self['title'] = Label(DUTO_Version)
		self['ContentTitle'] = Label("Genres")

		self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 19
0
	def __init__(self, session):

		MenuHelper.__init__(self, session, 1, [[("Suche", "/?s=%s&x=0&y=0"),("Neueste Dokus", "")],[None,None]], "http://www.dokus4.me", "/index.php", self._defaultlistcenter, default_cover=default_cover)

		self['title'] = Label("dokus4.me")
		self['ContentTitle'] = Label("Genres")

		self.param_qr = ''
Esempio n. 20
0
    def __init__(self, session):

        MenuHelper.__init__(self, session, 0, [[('Alle Videos', '/video')]],
                            "http://www.hans-wurst.net", "",
                            self._defaultlistcenter)

        self['title'] = Label(HWNET_Version)
        self['ContentTitle'] = Label("Genres")

        self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 21
0
	def __init__(self, session):

		baseUrl = "http://www.lachschon.de"
		MenuHelper.__init__(self, session, 0, None, baseUrl, "", self._defaultlistcenter, default_cover=default_cover)

		self['title'] = Label("LACHSCHON.DE")
		self['ContentTitle'] = Label("Genres")
		self.suchString = ''

		self.onLayoutFinish.append(self.parseCats)
    def __init__(self, session):

        baseUrl = "http://www.lachschon.de"
        MenuHelper.__init__(self, session, 0, None, baseUrl, "",
                            self._defaultlistcenter)

        self['title'] = Label(LSDE_Version)
        self['ContentTitle'] = Label("Genres")

        self.onLayoutFinish.append(self.parseCats)
Esempio n. 23
0
    def __init__(self, session):

        MenuHelper.__init__(self, session, 0, [[]],
                            "http://www.funny-videoclips.de", "",
                            self._defaultlistcenter)

        self['title'] = Label(FVCDE_Version)
        self['ContentTitle'] = Label("Genres")

        self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 24
0
	def __init__(self, session, m_level='main', m_path='/'):
		self.m_level = m_level
		self.m_path = m_path
		MenuHelper.__init__(self, session, 0, None, BASE_URL, "", self._defaultlistcenter, cookieJar=cookies)

		self['title'] = Label(IS_Version)
		self['ContentTitle'] = Label("Genres")
		self.param_search = ''
		self.search_token = None

		self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 25
0
    def __init__(self, session):

        MenuHelper.__init__(self, session, 0, None, "http://www.clipfish.de", "", self._defaultlistcenter)

        self["title"] = Label(CF_Version)
        self["ContentTitle"] = Label("Genres")

        self.param_qr = ""
        self.menu = []

        self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 26
0
    def __init__(self, session):

        baseUrl = "http://www.doku-stream.org"
        MenuHelper.__init__(self, session, 0, None, baseUrl, "", self._defaultlistcenter)

        self["title"] = Label(DS_Version)
        self["ContentTitle"] = Label("Genres")

        self.menu = []
        self.menu.append((0, "/", "Neue Dokus"))
        self.menu.append((0, "/category/hd/", "HD Dokus"))
        self.menu.append((0, "/tag/top/", "Empfehlungen"))
        self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 27
0
	def __init__(self, session):

		baseUrl = "https://www.doku-stream.org"
		MenuHelper.__init__(self, session, 0, None, baseUrl, "", self._defaultlistcenter, default_cover=default_cover)

		self['title'] = Label("DokuStream")
		self['ContentTitle'] = Label("Genres")

		self.menu = []
		self.menu.append((0, '/', 'Neue Dokus'))
		self.menu.append((0, '/category/hd/', 'HD Dokus'))
		self.menu.append((0, '/tag/top/', 'Empfehlungen'))
		self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 28
0
	def __init__(self, session, genre_url=None, genre_title="Genres"):
		self.genre_url = genre_url
		self.param_qr = ''
		self.moreButtonTxt = None
		self.limit = 0
		MenuHelper.__init__(self, session, 0, None, baseUrl, "", self._defaultlistcenter, cookieJar=cookies)

		self['title'] = Label(JBTO_Version)
		self['ContentTitle'] = Label(genre_title)
		self['F2'] = Label()
		self["jbto_actions"] = ActionMap(['MP_Actions'], {
			"green" :  self.moreButton,
		}, -1)

		self.onLayoutFinish.append(self.mh_initMenu)
    def __init__(self, session):
        MenuHelper.__init__(self,
                            session,
                            0,
                            None,
                            BASE_URL,
                            "",
                            self._defaultlistcenter,
                            cookieJar=glob_cookies)

        self['title'] = Label(SKTO_Version)
        self['ContentTitle'] = Label("Genres")
        self.param_qr = ''
        self.search_token = None

        self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 30
0
	def __init__(self, session):

		genres = [
		("Neue Top Dokus","/toplist.php"),
		("Neue Dokus in HD","?high-definition=1"),
		("Neueste Dokus", ""),
		("Die besten Dokus", "?die-besten-dokus=1"),
		("Suche...", "?s=")
		]

		MenuHelper.__init__(self, session, 0, [genres], "http://doku.cc", "", self._defaultlistcenter)

		self['title'] = Label(DCC_Version)
		self['ContentTitle'] = Label("Genres")

		self.param_qr = ''
Esempio n. 31
0
	def __init__(self, session, fusion_cfg, portal_nm, genre_title='Auswahl', series_id=None, series_nm=None):
		if fusion_cfg:
			global glob_portal_nm
			global glob_fusion_client
			global glob_portal_logo
			glob_portal_nm = portal_nm
			glob_fusion_client = fusion.Client(fusion.fusionConfig[fusion_cfg])
			glob_portal_logo = fusion.fusionConfig[fusion_cfg]['logo']
		self.genre_title = genre_title
		self.series_id = series_id
		self.series_nm = series_nm

		MenuHelper.__init__(self, session, 0, None, None, "", self._defaultlistleft, skin_name='MP_PluginDescr')

		self['title'] = Label(glob_portal_nm)
		self['ContentTitle'] = Label(self.genre_title)
		self.mh_On_setGenreStrTitle.append((self.showInfos,()))
		self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 32
0
    def __init__(self, session, m_level='main', m_path='/'):
        self.m_level = m_level
        self.m_path = m_path
        MenuHelper.__init__(self,
                            session,
                            0,
                            None,
                            BASE_URL,
                            "",
                            self._defaultlistcenter,
                            cookieJar=sit_cookies)

        self['title'] = Label("STREAMIT")
        self['ContentTitle'] = Label("Genres")
        self.param_search = ''
        self.search_token = None

        self.onLayoutFinish.append(self.mh_start)
Esempio n. 33
0
    def __init__(self, session, genre_url=None, genre_title="Genres"):
        self.genre_url = genre_url
        self.param_qr = ''
        self.moreButtonTxt = None
        self.limit = 0
        MenuHelper.__init__(self,
                            session,
                            0,
                            None,
                            baseUrl,
                            "",
                            self._defaultlistcenter,
                            cookieJar=cookies)

        self['title'] = Label(JBTO_Version)
        self['ContentTitle'] = Label(genre_title)
        self['F2'] = Label()
        self["jbto_actions"] = ActionMap(['MP_Actions'], {
            "green": self.moreButton,
        }, -1)

        self.onLayoutFinish.append(self.mh_initMenu)
Esempio n. 34
0
    def __init__(self, session, genre_title=_("Selection"), request_data=None, series_nm=None, connect=True):
        self.genre_title = genre_title
        self.request_data = request_data
        self.series_nm = series_nm
        self.connect = connect
        self.menuData = {}
        self.metadata = {}
        self.page = self.pages = self.pageSize = self.pageCount = 0
        self.param_qr = ""

        if request_data:
            self.widget = request_data.get("widget", {})
            self.listAll = request_data.get("listAll", 0)
            self.hasSearchOrders = len(request_data.get("searchOrderArray", ""))
        else:
            self.widget = {}
            self.listAll = 0
            self.hasSearchOrders = False

        if self.listAll:
            self.maxSize = 200
        else:
            self.maxSize = 50

        if self.widget and self.widget.get("type", "") == "alphanumeric":
            self.filterData = {u"filterData": [{u"searchWord": "", u"searchType": self.widget.get("searchType", 0)}]}
        else:
            self.filterData = {}

        widgets_files = ("search_widgets.xml", "cover_widgets_wide.xml")

        MenuHelper.__init__(
            self,
            session,
            0,
            None,
            None,
            "",
            self._defaultlistleft,
            skin_name="defaultListWideScreen.xml",
            widgets_files=widgets_files,
        )

        SearchHelper.__init__(self)
        if not self.widget and not self.listAll:
            self["suchhinweis"].hide()

        self["length"] = Label("")
        self["rating5"] = ProgressBar()
        self["rating0"] = Pixmap()

        self["mv_actions"] = ActionMap(
            ["MP_Actions"],
            {
                "green": self.searchOrder,
                "blue": self.keyTxtPageDown,
                "yellow": self.keyTxtPageUp,
                "nextBouquet": self.keyPageUp,
                "prevBouquet": self.keyPageDown,
            },
            -1,
        )

        self["title"] = Label(MV2_Version)
        self["ContentTitle"] = Label(self.genre_title)
        self["handlung"] = ScrollLabel("")
        if self.hasSearchOrders:
            self["F2"] = Label(_("Search order"))
        self["F3"] = Label("Text-")
        self["F4"] = Label("Text+")
        self["Page"] = Label(_("Page:"))
        self.mh_On_setGenreStrTitle.append((self.showInfos, ()))
        self.onFirstExecBegin.append(self.mh_initMenu)
        if connect:
            self.onClose.append(mvClient.stopSessionTimer)
Esempio n. 35
0
	def __init__(self, session):

		genreBase = ["/search_99/?q=", "/moviez_", "/episodez_", "/abookz_", "", "", "", "", "", "", ""]

		genreMenu = [
			[
			("Suche...", ""),
			("Filme", ""),
			("Serien", "")
			#("Hörbücher", "")
			],
			[None,
			[
			("Neue Filme", "/update_0_1"),
			("Neue Blockbuster", "/update_0_1"),
			("Alle", "00_%d_1_%d"),
			("Kinofilme", "23_%d_1_%d"),
			("Abenteuer", "01_%d_1_%d"),
			("Action", "02_%d_1_%d"),
			("Animation", "03_%d_1_%d"),
			("Biografie", "04_%d_1_%d"),
			("Blockbuster", "25_%d_1_%d"),
			("Doku", "06_%d_1_%d"),
			("Drama", "07_%d_1_%d"),
			("Familie", "08_%d_1_%d"),
			("Fantasie", "09_%d_1_%d"),
			("Geschichte", "10_%d_1_%d"),
			("Horror", "11_%d_1_%d"),
			("Klassiker", "12_%d_1_%d"),
			("Komödie", "13_%d_1_%d"),
			("Kriegsfilm", "14_%d_1_%d"),
			("Musik", "15_%d_1_%d"),
			("Mystery", "16_%d_1_%d"),
			("Romantisch", "17_%d_1_%d"),
			("SciFi", "18_%d_1_%d"),
			("Sport", "20_%d_1_%d"),
			("Thriller", "21_%d_1_%d"),
			("Western", "22_%d_1_%d")
			],
			[
			("Neue Serien", "/update_0_1"),
			("Alle", "00_%d_1_%d"),
			("Abenteuer", "01_%d_1_%d"),
			("Action", "02_%d_1_%d"),
			("Animation", "03_%d_1_%d"),
			("Doku", "06_%d_1_%d"),
			("Drama", "07_%d_1_%d"),
			("Familie", "08_%d_1_%d"),
			("Fantasie", "09_%d_1_%d"),
			("Geschichte", "10_%d_1_%d"),
			("Horror", "11_%d_1_%d"),
			("Komödie", "13_%d_1_%d"),
			("Mystery", "16_%d_1_%d"),
			("Romantisch", "17_%d_1_%d"),
			("SciFi", "18_%d_1_%d"),
			("Sport", "20_%d_1_%d"),
			("Thriller", "21_%d_1_%d"),
			("Western", "22_%d_1_%d")
			],
			[
			("Alle", "00_%d_1_%d"),
			("Thriller", "01_%d_1_%d"),
			("Krimi", "02_%d_1_%d"),
			("Fantasy", "03_%d_1_%d"),
			("Horror", "04_%d_1_%d"),
			("SciFi", "05_%d_1_%d"),
			("Romane", "06_%d_1_%d"),
			("Historisch", "07_%d_1_%d"),
			("Klassiker", "08_%d_1_%d"),
			("Humor", "09_%d_1_%d"),
			("Bildung & Wissen", "10_%d_1_%d"),
			("Freizeit & Leben", "11_%d_1_%d"),
			("Karriere", "12_%d_1_%d"),
			("Kinder", "13_%d_1_%d"),
			("Jugendliche", "14_%d_1_%d"),
			("Erotik", "15_%d_1_%d")
			]
			],
			[
			None, None, None, None
			]
			]

		MenuHelper.__init__(self, session, 1, genreMenu, "http://de.ddl.me", genreBase, self._defaultlistcenter)

		self['title'] = Label(DDLME_Version)
		self['ContentTitle'] = Label("Genres")

		self.param_qr = ''