mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix for show parsing errors to be displayed via debug logs now instead as a warning.
This commit is contained in:
parent
933fad20c7
commit
0e3495d30f
@ -135,7 +135,6 @@ class NameParser(object):
|
|||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
time.sleep(0.05)
|
time.sleep(0.05)
|
||||||
|
|
||||||
raise InvalidShowException(
|
raise InvalidShowException(
|
||||||
"Unable to parse " + name.encode(sickbeard.SYS_ENCODING, 'xmlcharrefreplace'))
|
"Unable to parse " + name.encode(sickbeard.SYS_ENCODING, 'xmlcharrefreplace'))
|
||||||
|
|
||||||
|
@ -281,10 +281,10 @@ class GenericProvider:
|
|||||||
myParser = NameParser(False, convert=True)
|
myParser = NameParser(False, convert=True)
|
||||||
parse_result = myParser.parse(title)
|
parse_result = myParser.parse(title)
|
||||||
except InvalidNameException:
|
except InvalidNameException:
|
||||||
logger.log(u"Unable to parse the filename " + title + " into a valid episode", logger.WARNING)
|
logger.log(u"Unable to parse the filename " + title + " into a valid episode", logger.DEBUG)
|
||||||
continue
|
continue
|
||||||
except InvalidShowException:
|
except InvalidShowException:
|
||||||
logger.log(u"Unable to parse the filename " + title + " into a valid show", logger.WARNING)
|
logger.log(u"Unable to parse the filename " + title + " into a valid show", logger.DEBUG)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
showObj = parse_result.show
|
showObj = parse_result.show
|
||||||
|
Loading…
Reference in New Issue
Block a user