spliting showname on aka to help tvmaze identify

This commit is contained in:
simon 2021-09-08 17:04:06 +07:00
parent 78057da5b4
commit e8666ed4f4
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,8 @@ class Episode:
filename = self.filename
season, episode, season_id, id_style = Static.split_file_name(filename)
showname = filename.split(season_id)[0]
if 'aka' in showname.lower().split():
showname = showname.lower().split('aka')[0]
# build file_parsed dict
file_parsed = {
'season': season,