work around broken episode titles
This commit is contained in:
parent
bfe269a349
commit
c87a6eddba
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def parse_movie_path(path):
|
||||||
else:
|
else:
|
||||||
episode = None
|
episode = None
|
||||||
|
|
||||||
if episode:
|
if episode and 'Episode %d'%episode in fileparts:
|
||||||
episodeTitle = fileparts.index('Episode %d' % episode) + 1
|
episodeTitle = fileparts.index('Episode %d' % episode) + 1
|
||||||
episodeTitle = fileparts[episodeTitle]
|
episodeTitle = fileparts[episodeTitle]
|
||||||
if episodeTitle == extension or episodeTitle.startswith('Part'):
|
if episodeTitle == extension or episodeTitle.startswith('Part'):
|
||||||
|
|
Loading…
Reference in a new issue