work around broken episode titles

This commit is contained in:
j 2011-10-21 12:00:20 +02:00
parent bfe269a349
commit c87a6eddba

View file

@ -82,7 +82,7 @@ def parse_movie_path(path):
else:
episode = None
if episode:
if episode and 'Episode %d'%episode in fileparts:
episodeTitle = fileparts.index('Episode %d' % episode) + 1
episodeTitle = fileparts[episodeTitle]
if episodeTitle == extension or episodeTitle.startswith('Part'):