mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
More namechanges
This commit is contained in:
parent
840f7c7bdf
commit
177dbc0f22
@ -423,7 +423,7 @@
|
||||
<td>Show.Name.S02E03.HDTV.XviD-RLSGROUP</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="align-right"><i class="icon-info-sign" title="'SiCKBEARD' is used in place of RLSGROUP if it could not be properly detected"></i> <b>Release Group:</b></td>
|
||||
<td class="align-right"><i class="icon-info-sign" title="'SiCKRAGE' is used in place of RLSGROUP if it could not be properly detected"></i> <b>Release Group:</b></td>
|
||||
<td>%RG</td>
|
||||
<td>RLSGROUP</td>
|
||||
</tr>
|
||||
@ -667,7 +667,7 @@
|
||||
<td>Show.Name.2010.03.09.HDTV.XviD-RLSGROUP</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="align-right"><i class="icon-info-sign" title="'SiCKBEARD' is used in place of RLSGROUP if it could not be properly detected"></i> <b>Release Group:</b></td>
|
||||
<td class="align-right"><i class="icon-info-sign" title="'SiCKRAGE' is used in place of RLSGROUP if it could not be properly detected"></i> <b>Release Group:</b></td>
|
||||
<td>%RG</td>
|
||||
<td>RLSGROUP</td>
|
||||
</tr>
|
||||
@ -844,7 +844,7 @@
|
||||
<td>Show.Name.9th.Mar.2011.HDTV.XviD-RLSGROUP</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="align-right"><i class="icon-info-sign" title="'SiCKBEARD' is used in place of RLSGROUP if it could not be properly detected"></i> <b>Release Group:</b></td>
|
||||
<td class="align-right"><i class="icon-info-sign" title="'SiCKRAGE' is used in place of RLSGROUP if it could not be properly detected"></i> <b>Release Group:</b></td>
|
||||
<td>%RG</td>
|
||||
<td>RLSGROUP</td>
|
||||
</tr>
|
||||
|
@ -152,7 +152,7 @@ class Quality:
|
||||
@staticmethod
|
||||
def nameQuality(name, anime=False):
|
||||
"""
|
||||
Return The quality from an episode File renamed by Sickbeard
|
||||
Return The quality from an episode File renamed by SickRage
|
||||
If no quality is achieved it will try sceneQuality regex
|
||||
"""
|
||||
|
||||
|
@ -52,7 +52,7 @@ def sendNZB(nzb, proper=False):
|
||||
|
||||
nzbGetRPC = xmlrpclib.ServerProxy(url)
|
||||
try:
|
||||
if nzbGetRPC.writelog("INFO", "Sickbeard connected to drop of %s any moment now." % (nzb.name + ".nzb")):
|
||||
if nzbGetRPC.writelog("INFO", "SickRage connected to drop of %s any moment now." % (nzb.name + ".nzb")):
|
||||
logger.log(u"Successful connected to NZBget", logger.DEBUG)
|
||||
else:
|
||||
logger.log(u"Successful connected to NZBget, but unable to send a message", logger.ERROR)
|
||||
@ -76,9 +76,9 @@ def sendNZB(nzb, proper=False):
|
||||
for curEp in nzb.episodes:
|
||||
if dupekey == "":
|
||||
if curEp.show.indexer == 1:
|
||||
dupekey = "Sickbeard-" + str(curEp.show.indexerid)
|
||||
dupekey = "SickRage-" + str(curEp.show.indexerid)
|
||||
elif curEp.show.indexer == 2:
|
||||
dupekey = "Sickbeard-tvr" + str(curEp.show.indexerid)
|
||||
dupekey = "SickRage-tvr" + str(curEp.show.indexerid)
|
||||
dupekey += "-" + str(curEp.season) + "." + str(curEp.episode)
|
||||
if datetime.date.today() - curEp.airdate <= datetime.timedelta(days=7):
|
||||
addToTop = True
|
||||
|
@ -65,7 +65,7 @@ def processDir(dirName, nzbName=None, process_method=None, force=False, is_prior
|
||||
if ek.ek(os.path.isdir, dirName):
|
||||
dirName = ek.ek(os.path.realpath, dirName)
|
||||
|
||||
# if the client and Sickbeard are not on the same machine translate the Dir in a network dir
|
||||
# if the client and SickRage are not on the same machine translate the Dir in a network dir
|
||||
elif sickbeard.TV_DOWNLOAD_DIR and ek.ek(os.path.isdir, sickbeard.TV_DOWNLOAD_DIR) \
|
||||
and ek.ek(os.path.normpath, dirName) != ek.ek(os.path.normpath, sickbeard.TV_DOWNLOAD_DIR):
|
||||
dirName = ek.ek(os.path.join, sickbeard.TV_DOWNLOAD_DIR, ek.ek(os.path.abspath, dirName).split(os.path.sep)[-1])
|
||||
|
@ -96,7 +96,7 @@ class sbdatetime(datetime.datetime):
|
||||
has_locale = True
|
||||
ORIG_LC_TIME = locale.LC_TIME
|
||||
|
||||
# display Time in Sickbeard Format
|
||||
# display Time in SickRage Format
|
||||
@static_or_instance
|
||||
def sbftime(self, dt=None, show_seconds=False, t_preset=None):
|
||||
|
||||
@ -135,7 +135,7 @@ class sbdatetime(datetime.datetime):
|
||||
|
||||
return strt
|
||||
|
||||
# display Date in Sickbeard Format
|
||||
# display Date in SickRage Format
|
||||
@static_or_instance
|
||||
def sbfdate(self, dt=None, d_preset=None):
|
||||
|
||||
@ -166,7 +166,7 @@ class sbdatetime(datetime.datetime):
|
||||
|
||||
return strd
|
||||
|
||||
# display Datetime in Sickbeard Format
|
||||
# display Datetime in SickRage Format
|
||||
@static_or_instance
|
||||
def sbfdatetime(self, dt=None, show_seconds=False, d_preset=None, t_preset=None):
|
||||
|
||||
@ -217,4 +217,4 @@ class sbdatetime(datetime.datetime):
|
||||
except:
|
||||
sbdatetime.has_locale = False
|
||||
|
||||
return strd
|
||||
return strd
|
||||
|
@ -2002,14 +2002,14 @@ class TVEpisode(object):
|
||||
# if there's no release group then replace it with a reasonable facsimile
|
||||
if not replace_map['%RN']:
|
||||
if self.show.air_by_date or self.show.sports:
|
||||
result_name = result_name.replace('%RN', '%S.N.%A.D.%E.N-SiCKBEARD')
|
||||
result_name = result_name.replace('%rn', '%s.n.%A.D.%e.n-sickbeard')
|
||||
result_name = result_name.replace('%RN', '%S.N.%A.D.%E.N-SiCKRAGE')
|
||||
result_name = result_name.replace('%rn', '%s.n.%A.D.%e.n-sickrage')
|
||||
else:
|
||||
result_name = result_name.replace('%RN', '%S.N.S%0SE%0E.%E.N-SiCKBEARD')
|
||||
result_name = result_name.replace('%rn', '%s.n.s%0se%0e.%e.n-sickbeard')
|
||||
result_name = result_name.replace('%RN', '%S.N.S%0SE%0E.%E.N-SiCKRAGE')
|
||||
result_name = result_name.replace('%rn', '%s.n.s%0se%0e.%e.n-sickrage')
|
||||
|
||||
result_name = result_name.replace('%RG', 'SICKBEARD')
|
||||
result_name = result_name.replace('%rg', 'sickbeard')
|
||||
result_name = result_name.replace('%RG', 'SICKRAGE')
|
||||
result_name = result_name.replace('%rg', 'sickrage')
|
||||
logger.log(u"Episode has no release name, replacing it with a generic one: " + result_name, logger.DEBUG)
|
||||
|
||||
if not replace_map['%RT']:
|
||||
|
Loading…
Reference in New Issue
Block a user