本文整理汇总了Python中sickbeard.show_name_helpers.makeSceneSeasonSearchString函数的典型用法代码示例。如果您正苦于以下问题:Python makeSceneSeasonSearchString函数的具体用法?Python makeSceneSeasonSearchString怎么用?Python makeSceneSeasonSearchString使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了makeSceneSeasonSearchString函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: _get_season_search_strings
def _get_season_search_strings(self, show, season):
sceneSearchString = [x for x in show_name_helpers.makeSceneSeasonSearchString(show, season)]
if not sceneSearchString:
if show.tvrname:
sceneSearchString = show.tvrname + " S%02d"%(season)
else:
sceneSearchString = show.name + " S%02d"%(season)
logger.log(u"_get_season_search_string: " + sceneSearchString, logger.DEBUG)
return [sceneSearchString]
else:
for x in sceneSearchString:
logger.log(u"_get_season_search_string: " + x, logger.DEBUG)
return sceneSearchString
开发者ID:poetter,项目名称:Sick-Beard--german-support,代码行数:13,代码来源:nzbindex.py
示例2: _get_season_search_strings
def _get_season_search_strings(self, show, season=None):
if not show:
return [{}]
to_return = [];
search_strings = show_name_helpers.makeSceneSeasonSearchString(show, season);
if show.rls_require_words:
for word in show.rls_require_words.split(','):
for search_string in search_strings:
to_return.append(search_string + " " + word.strip())
return to_return
else:
return [x for x in search_strings]
开发者ID:adlerre,项目名称:Sick-Beard,代码行数:17,代码来源:binsearch.py
示例3: _get_season_search_strings
def _get_season_search_strings(self, ep_obj):
return [x for x in show_name_helpers.makeSceneSeasonSearchString(self.show, ep_obj)]
开发者ID:EggieCode,项目名称:SickRage,代码行数:2,代码来源:nyaatorrents.py
示例4: _get_season_search_strings
def _get_season_search_strings(self, show, season):
# sceneSearchStrings = set(show_name_helpers.makeSceneSeasonSearchString(show, season, "NZBIndex"))
# # search for all show names and episode numbers like ("a","b","c") in a single search
# return [' '.join(sceneSearchStrings)]
return [x for x in show_name_helpers.makeSceneSeasonSearchString(show, season)]
开发者ID:Elky666,项目名称:SickRage,代码行数:6,代码来源:nzbclub.py
示例5: _get_season_search_strings
def _get_season_search_strings(self, show, season):
return [x + '*' for x in show_name_helpers.makeSceneSeasonSearchString(show, season)]
开发者ID:ChemicalCrunch,项目名称:Mr-Orange-Sick-Beard,代码行数:2,代码来源:nzbx.py
示例6: _get_season_search_strings
def _get_season_search_strings(self, show, season, episode, abd=False):
return [x for x in show_name_helpers.makeSceneSeasonSearchString(show, season, episode, abd)]
开发者ID:jfrmn,项目名称:SickBeard-TVRage,代码行数:2,代码来源:omgwtfnzbs.py
示例7: _get_season_search_strings
def _get_season_search_strings(self, season, episode):
return ["^" + x for x in show_name_helpers.makeSceneSeasonSearchString(self.show, season, episode)]
开发者ID:jvdpoll,项目名称:SickBeard-TVRage,代码行数:2,代码来源:nzbsrus.py
示例8: _get_season_search_strings
def _get_season_search_strings(self, show, season):
sceneSearchStrings = set(show_name_helpers.makeSceneSeasonSearchString(show, season, "nzbmatrix"))
# search for all show names and episode numbers like ("a","b","c") in a single search
return [' '.join(sceneSearchStrings)]
开发者ID:mburdish,项目名称:Sick-Beard,代码行数:5,代码来源:nzbmatrix.py
示例9: _season_strings
def _season_strings(self, *args, **kwargs):
return [{'Season': show_name_helpers.makeSceneSeasonSearchString(self.show, *args)}]
开发者ID:JackDandy,项目名称:SickGear,代码行数:2,代码来源:tokyotoshokan.py
示例10: _get_season_search_strings
def _get_season_search_strings(self, show, season, wantedEp, searchSeason=False):
return ['^' + x for x in show_name_helpers.makeSceneSeasonSearchString(show, season)]
开发者ID:DarkSpikeX,项目名称:SickBeard-TVRage,代码行数:2,代码来源:nzbs_org_old.py
示例11: _get_season_search_strings
def _get_season_search_strings(self, show, season, scene=False):
names = []
if season is -1:
names = [show.name.encode('utf-8')]
names.extend(show_name_helpers.makeSceneSeasonSearchString(show, season, scene=scene))
return names
开发者ID:stephanehenry27,项目名称:Sickbeard-anime,代码行数:6,代码来源:nyaa.py
示例12: _get_season_search_strings
def _get_season_search_strings(self, ep_obj, **kwargs):
return [x.replace('.', ' ') for x in show_name_helpers.makeSceneSeasonSearchString(self.show, ep_obj)]
开发者ID:joshguerette,项目名称:SickGear,代码行数:3,代码来源:tokyotoshokan.py
示例13: _get_season_search_strings
def _get_season_search_strings(self, show, season, scene=False):
return [x for x in show_name_helpers.makeSceneSeasonSearchString(show, season, scene=scene)]
开发者ID:089git,项目名称:Sick-Beard,代码行数:2,代码来源:omgwtfnzbs.py
注:本文中的sickbeard.show_name_helpers.makeSceneSeasonSearchString函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论