Merge pull request #98 from KevinMidboe/strayParser_fix

Updated when parsing for show name allow names with numbers.
This commit is contained in:
2018-04-06 16:27:42 +02:00
committed by GitHub

View File

@@ -61,7 +61,7 @@ class strayEpisode(object):
return hashlib.md5("b'{}'".format(self.parent).encode()).hexdigest()[:8]
def findSeriesName(self):
find = re.compile("^[a-zA-Z. ]*")
find = re.compile("^[a-zA-Z0-9. ]*")
m = re.match(find, self.parent)
if m:
name, hit = process.extractOne(m.group(0), getShowNames().keys())