episode can also be 0
This commit is contained in:
parent
0b3aaae981
commit
bfb1d468af
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def parse_movie_path(path):
|
||||||
if season:
|
if season:
|
||||||
seriesTitle = title
|
seriesTitle = title
|
||||||
title = u'%s (S%02d)' % (seriesTitle, season)
|
title = u'%s (S%02d)' % (seriesTitle, season)
|
||||||
if episode:
|
if isinstance(episode, int):
|
||||||
title = u'%s (S%02dE%02d)' % (seriesTitle, season, episode)
|
title = u'%s (S%02dE%02d)' % (seriesTitle, season, episode)
|
||||||
if episodeTitle:
|
if episodeTitle:
|
||||||
title = u'%s %s' % (title, episodeTitle)
|
title = u'%s %s' % (title, episodeTitle)
|
||||||
|
|
Loading…
Reference in a new issue