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:
|
||||
seriesTitle = title
|
||||
title = u'%s (S%02d)' % (seriesTitle, season)
|
||||
if episode:
|
||||
if isinstance(episode, int):
|
||||
title = u'%s (S%02dE%02d)' % (seriesTitle, season, episode)
|
||||
if episodeTitle:
|
||||
title = u'%s %s' % (title, episodeTitle)
|
||||
|
|
Loading…
Reference in a new issue