本文整理汇总了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"
示例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'))
示例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()
示例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()
示例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()
示例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()
示例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')
示例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"
示例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()
示例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 = ""
示例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"
示例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"
示例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)
示例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')
示例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()