当前位置: 首页>>代码示例>>Python>>正文


Python mrknow_pCommon.common函数代码示例

本文整理汇总了Python中mrknow_pCommon.common函数的典型用法代码示例。如果您正苦于以下问题:Python common函数的具体用法?Python common怎么用?Python common使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了common函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

 def __init__(self):
     log.info('Starting wrzuta.pl')
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.cm = mrknow_pCommon.common()
     self.settings = settings.TVSettings()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "wrzuta.cookie"
开发者ID:KostanKettch,项目名称:filmkodi,代码行数:8,代码来源:wrzuta.py

示例2: __init__

 def __init__(self):
     log.info('Starting interia.pl')
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.cm = mrknow_pCommon.common()
     self.settings = settings.TVSettings()
     self._addon = xbmcaddon.Addon()
     self.COOKIEFILE = xbmc.translatePath('special://profile/addon_data/%s/cookies/interia.cookie' %
                                          self._addon.getAddonInfo('id'))
开发者ID:mrknow,项目名称:filmkodi,代码行数:10,代码来源:interia.py

示例3: __init__

 def __init__(self):
     log.info('Starting typertv.com.pl')
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.settings = settings.TVSettings()
     self.pp = mrknow_Pageparser.mrknow_Pageparser()
开发者ID:neopack1,项目名称:filmkodi,代码行数:7,代码来源:typertv.py

示例4: __init__

 def __init__(self):
     log.info('Starting seansiktv.pl')
     self.settings = settings.TVSettings()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self.cm = mrknow_pCommon.common()
     self.pl = mrknow_Player.mrknow_Player()
开发者ID:gosiaiunia1,项目名称:KODI_PRIV,代码行数:7,代码来源:seansiktv.py

示例5: __init__

 def __init__(self):
     log.info('Starting alltubefilmy.pl')
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.pp = mrknow_Pageparser.mrknow_Pageparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.player = mrknow_Player.mrknow_Player()
开发者ID:gosiaiunia1,项目名称:KODI_PRIV,代码行数:7,代码来源:alltubefilmy.py

示例6: __init__

    def __init__(self):
        #BASE_RESOURCE_PATH = os.path.join( os.getcwd(), "resources" )
        BASE_RESOURCE_PATH = os.path.join( ptv.getAddonInfo('path'), "resources" )
        BASE_RESOURCE_PATH = os.path.join( ptv2.getAddonInfo('path'), "resources" )

        sys.path.append( os.path.join( BASE_RESOURCE_PATH, "lib" ) )
        sys.path.append( os.path.join( BASE_RESOURCE_PATH, "resources" ) )

        sys.path.append( os.path.join( ptv.getAddonInfo('path'), "host" ) )
        import mrknow_pLog, settings, Parser, mrknow_pCommon

        self.cm = mrknow_pCommon.common()
        self.log = mrknow_pLog.pLog()
        self.settings = settings.TVSettings()
        self.parser = Parser.Parser()
        #self.log.info("DIR " + common.Paths.modulesDir + 'mainMenu.cfg')
        #self.MAIN_MENU_FILE = os.path.join( common.Paths.modulesDir, 'mainMenu.cfg' )
        self.MAIN_MENU_FILE = 'mainMenu.cfg'
        if not os.path.exists(common.Paths.pluginDataDir):
            os.makedirs(common.Paths.pluginDataDir, 0777)

        self.favouritesManager = FavouritesManager(common.Paths.favouritesFolder)
        self.customModulesManager = CustomModulesManager(common.Paths.customModulesDir, common.Paths.customModulesRepo)

        if not os.path.exists(common.Paths.customModulesDir):
            os.makedirs(common.Paths.customModulesDir, 0777)

        self.parser2 = Parser2()
        self.currentlist = None

        self.addon = None
        self.log.info('Filmy online www.mrknow.pl')
        common.clearCache()
开发者ID:neopack1,项目名称:filmkodi,代码行数:33,代码来源:default.py

示例7: __init__

 def __init__(self):
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.player = mrknow_Player.mrknow_Player()
     self.pp1 = mrknow_Pageparser.mrknow_Pageparser()
     self.log = mrknow_pLog.pLog()
     self.log.info('Starting bajkionline.pl')
开发者ID:gitrazr,项目名称:filmkodi,代码行数:7,代码来源:bajkionline.py

示例8: __init__

 def __init__(self):
     log.info('Starting cdapl.pl')
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     #self.up = urlparser.urlparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "cdapl.cookie"
开发者ID:rkolasie,项目名称:filmkodi,代码行数:7,代码来源:cdapl.py

示例9: __init__

 def __init__(self):
     log.info('Starting filmboxmoovie.pl')
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     #self.up = urlparser.urlparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.p = mrknow_Player.mrknow_Player()
开发者ID:KostanKettch,项目名称:filmkodi,代码行数:7,代码来源:filmboxmoovie.py

示例10: __init__

 def __init__(self):
     log.info('Starting IPTAK')
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.page = ""
开发者ID:mrknow,项目名称:filmkodi,代码行数:7,代码来源:iptak.py

示例11: __init__

 def __init__(self):
     log.info("Starting tvnplayer.pl")
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.pp = mrknow_Pageparser.mrknow_Pageparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.p = mrknow_Player.mrknow_Player()
     self.COOKIEFILE = ptv.getAddonInfo("path") + os.path.sep + "cookies" + os.path.sep + "tvnplayer.cookie"
开发者ID:karnage11,项目名称:filmkodi,代码行数:8,代码来源:tvnplayer.py

示例12: __init__

 def __init__(self):
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.pp1 = mrknow_Pageparser.mrknow_Pageparser()
     self.player = mrknow_Player.mrknow_Player()
     self.log = mrknow_pLog.pLog()
     self.log.info('Starting testyonline.pl')
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "cdapl.cookie"
开发者ID:KostanKettch,项目名称:filmkodi,代码行数:8,代码来源:testyonline.py

示例13: __init__

 def __init__(self):
     log.info('Starting alltubefilmy.pl')
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.pp = mrknow_Pageparser.mrknow_Pageparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.player = mrknow_Player.mrknow_Player()
     self.search = Search(url='%(quoted)s',
                          service='alltubefilmy', listItemsFun=self.listsItemsOther)
开发者ID:mrknow,项目名称:filmkodi,代码行数:9,代码来源:alltubefilmy.py

示例14: __init__

 def __init__(self):
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.pp1 = mrknow_Pageparser.mrknow_Pageparser()
     self.player = mrknow_Player.mrknow_Player()
     self.log = mrknow_pLog.pLog()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.log.info('Starting kreskowkazone.pl')
     self.COOKIEFILE = self.up.cookieFileName('kreskowkazone.cookie')
开发者ID:mrknow,项目名称:filmkodi,代码行数:9,代码来源:kreskowkazone.py

示例15: __init__

 def __init__(self):
     log.info('Starting radio81.pl')
     self.cm = mrknow_pCommon.common()
     self.parser = Parser.Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.settings = settings.TVSettings()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "radio81.cookie"
     self.pp = mrknow_Pageparser.mrknow_Pageparser()
     self.p = mrknow_Player.mrknow_Player()
开发者ID:pawelkondraciuk,项目名称:KODI_PRIV,代码行数:9,代码来源:radio81.py


注:本文中的mrknow_pCommon.common函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。