spliting showname on aka to help tvmaze identify
This commit is contained in:
parent
78057da5b4
commit
e8666ed4f4
|
@ -140,6 +140,8 @@ class Episode:
|
||||||
filename = self.filename
|
filename = self.filename
|
||||||
season, episode, season_id, id_style = Static.split_file_name(filename)
|
season, episode, season_id, id_style = Static.split_file_name(filename)
|
||||||
showname = filename.split(season_id)[0]
|
showname = filename.split(season_id)[0]
|
||||||
|
if 'aka' in showname.lower().split():
|
||||||
|
showname = showname.lower().split('aka')[0]
|
||||||
# build file_parsed dict
|
# build file_parsed dict
|
||||||
file_parsed = {
|
file_parsed = {
|
||||||
'season': season,
|
'season': season,
|
||||||
|
|
Loading…
Reference in New Issue