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


Python interfaces.PluginSettings类代码示例

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


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

示例1: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting id="PremiumizeMeResolver_username" enable="eq(-1,true)" '
     xml += 'type="text" label="username" default=""/>\n'
     xml += '<setting id="PremiumizeMeResolver_password" enable="eq(-2,true)" '
     xml += 'type="text" label="password" option="hidden" default=""/>\n'
     return xml
开发者ID:Hinnak321,项目名称:script.module.urlresolver,代码行数:7,代码来源:premiumize_me.py

示例2: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting id="%s_use_https" type="bool" label="Use HTTPS" default="false"/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_login" type="bool" label="login" default="false"/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_username" enable="eq(-1,true)" type="text" label="Customer ID" default=""/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_password" enable="eq(-2,true)" type="text" label="PIN" option="hidden" default=""/>\n' % (self.__class__.__name__)
     return xml
开发者ID:msports,项目名称:mw,代码行数:7,代码来源:premiumize_me.py

示例3: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += (
         '<setting id="%s_auto_pick" type="bool" label="Automatically pick best quality" default="false" visible="true"/>'
         % (self.__class__.__name__)
     )
     return xml
开发者ID:SemperfidelisTV,项目名称:SemperFI-,代码行数:7,代码来源:vkpass.py

示例4: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting id="movreelResolver_login" '
     xml += 'type="bool" label="login" default="false"/>\n'
     xml += '<setting id="movreelResolver_username" enable="eq(-1,true)" '
     xml += 'type="text" label="username" default=""/>\n'
     xml += '<setting id="movreelResolver_password" enable="eq(-2,true)" '
     xml += 'type="text" label="password" option="hidden" default=""/>\n'
     return xml
开发者ID:cloups,项目名称:JUL1EN094-xbmc-addons,代码行数:9,代码来源:movreel.py

示例5: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting id="%s_login" ' % (self.__class__.__name__)
     xml += 'type="bool" label="Login" default="false"/>\n'
     xml += '<setting id="%s_username" enable="eq(-1,true)" ' % (self.__class__.__name__)
     xml += 'type="text" label="username" default=""/>\n'
     xml += '<setting id="%s_password" enable="eq(-2,true)" ' % (self.__class__.__name__)
     xml += 'type="text" label="password" option="hidden" default=""/>\n'
     return xml
开发者ID:Lynx187,项目名称:script.module.urlresolver,代码行数:9,代码来源:rpnet.py

示例6: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting id="PremiumizeMeResolver_login" '
     xml += 'type="bool" label="login" default="false"/>\n'        
     xml += '<setting id="PremiumizeMeResolver_username" enable="eq(-1,true)" '
     xml += 'type="text" label="Customer ID" default=""/>\n'
     xml += '<setting id="PremiumizeMeResolver_password" enable="eq(-2,true)" '
     xml += 'type="text" label="PIN" option="hidden" default=""/>\n'
     return xml
开发者ID:shahraam,项目名称:Halowrepo,代码行数:9,代码来源:premiumize_me.py

示例7: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting id="%s_authorize" type="bool" label="I have a Real Debrid Account" default="false"/>\n' % (self.__class__.__name__)
     xml += '<setting type="lsep" label="***RD Authorization will be performed when you select the first RD link***"/>\n'
     xml += '<setting id="%s_autopick" type="bool" label="Choose Primary Link Automatically" default="false"/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_token" visible="false" type="text" default=""/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_refresh" visible="false" type="text" default=""/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_client_id" visible="false" type="text" default=""/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_client_secret" visible="false" type="text" default=""/>\n' % (self.__class__.__name__)
     return xml
开发者ID:msports,项目名称:mw,代码行数:10,代码来源:realdebrid.py

示例8: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting id="%s_autopick" type="bool" label="Choose Primary Link Automatically" default="false"/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_authorize" type="bool" label="Ask for Authorization When Needed" default="false"/>\n' % (self.__class__.__name__)
     xml += '<setting type="lsep" label="***Real-Debrid Authorization is performed on first use***"/>\n'
     xml += '<setting id="%s_token" visible="false" type="text" default=""/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_refresh" visible="false" type="text" default=""/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_client_id" visible="false" type="text" default=""/>\n' % (self.__class__.__name__)
     xml += '<setting id="%s_client_secret" visible="false" type="text" default=""/>\n' % (self.__class__.__name__)
     return xml
开发者ID:DxCx,项目名称:script.module.urlresolver,代码行数:10,代码来源:realdebrid.py

示例9: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting id="vidxden_captchax" '
     xml += 'type="slider" label="Captcha Image X Position" range="0,500" default="335" option="int" />\n'
     xml += '<setting id="vidxden_captchay" '
     xml += 'type="slider" label="Captcha Image Y Position" range="0,500" default="30" option="int" />\n'
     xml += '<setting id="vidxden_captchah" '
     xml += 'type="slider" label="Captcha Image Height" range="0,500" default="180" option="int" />\n'
     xml += '<setting id="vidxden_captchaw" '
     xml += 'type="slider" label="Captcha Image Width" range="0,1000" default="624" option="int" />\n'
     return xml
开发者ID:Tobie889900,项目名称:script.module.urlresolver,代码行数:11,代码来源:vidxden.py

示例10: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting id="PurevidResolver_login" '        
     xml += 'type="bool" label="Login" default="false"/>\n'
     xml += '<setting id="PurevidResolver_username" enable="eq(-1,true)" '
     xml += 'type="text" label="     username" default=""/>\n'
     xml += '<setting id="PurevidResolver_password" enable="eq(-2,true)" '
     xml += 'type="text" label="     password" option="hidden" default=""/>\n'
     xml += '<setting label="Video quality" id="PurevidResolver_quality" '
     xml += 'type="labelenum" values="FLV|Maximum" default="Maximum" />\n'
     xml += '<setting label="This plugin calls the Purevid urlresolver - '
     xml += 'change settings there." type="lsep" />\n'
     return xml
开发者ID:MrEntertainment,项目名称:script.module.urlresolver,代码行数:13,代码来源:purevid.py

示例11: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting label="Highest Quality" id="%s_quality" ' % self.__class__.__name__
     xml += 'type="enum" values="FLV|Maximum" default="0" />\n'
     xml += '<setting id="%s_login" ' % self.__class__.__name__
     xml += 'type="bool" label="login" default="false"/>\n'
     xml += '<setting id="%s_username" enable="eq(-1,true)" ' % self.__class__.__name__
     xml += 'type="text" label="username" default=""/>\n'
     xml += '<setting id="%s_password" enable="eq(-2,true)" ' % self.__class__.__name__
     xml += 'type="text" label="password" option="hidden" default=""/>\n'
     xml += '<setting id="%s_notify" ' % self.__class__.__name__
     xml += 'type="bool" label="Notify on login" default="false"/>\n'
     return xml
开发者ID:Ddubs,项目名称:infinitytv_kodi,代码行数:13,代码来源:sockshare.py

示例12: get_settings_xml

    def get_settings_xml(self):
        xml = PluginSettings.get_settings_xml(self)
        xml += '<setting id="RealDebridResolver_login" '
        xml += 'type="bool" label="login" default="false"/>\n'
        xml += '<setting id="RealDebridResolver_username" enable="eq(-1,true)" '
        xml += 'type="text" label="username" default=""/>\n'
        xml += '<setting id="RealDebridResolver_password" enable="eq(-2,true)" '
        xml += 'type="text" label="password" option="hidden" default=""/>\n'
##        xml += '<setting id="RealDebridResolver_avoidserver" '
##        xml += 'type="bool" label="Avoid Servers" default="false"/>\n'        
##        xml += '<setting id="RealDebridResolver_server" '
##        xml += 'type="text" label="Avoid Servers # (Eg. s01,s02)" default="s09,s18"/>\n'
        return xml
开发者ID:CelticShady,项目名称:script.module.urlresolver,代码行数:13,代码来源:realdebrid.py

示例13: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting label="This plugin calls the veoh addon - '
     xml += 'change settings there." type="lsep" />\n'
     return xml
开发者ID:070499,项目名称:xbmc-addons,代码行数:5,代码来源:veoh.py

示例14: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     return xml
开发者ID:TheYid,项目名称:Core-Module-Beta-Repo,代码行数:3,代码来源:playwire.py

示例15: get_settings_xml

 def get_settings_xml(self):
     xml = PluginSettings.get_settings_xml(self)
     xml += '<setting label="Video Quality" id="%s_quality" ' % self.__class__.__name__
     xml += 'type="enum" values="High|Standard" default="0" />\n'
     return xml
开发者ID:BagiraHun,项目名称:script.module.urlresolver,代码行数:5,代码来源:facebook.py


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