episode title
This commit is contained in:
parent
6331d586fc
commit
bac441158b
1 changed files with 5 additions and 0 deletions
|
@ -95,6 +95,11 @@ def parse_movie_path(path):
|
|||
if episodeTitle:
|
||||
title = u'%s %s' % (title, episodeTitle)
|
||||
|
||||
if 'Episode' in fileparts:
|
||||
episodeTitle = fileparts.index('Episode') + 1
|
||||
episodeTitle = fileparts[episodeTitle]
|
||||
if episodeTitle == extension or episodeTitle.startswith('Part'):
|
||||
episodeTitle = None
|
||||
#part
|
||||
part = findRe(parts[-1], '\.Part (\d+)\.')
|
||||
if part:
|
||||
|
|
Loading…
Reference in a new issue