diff --git a/ox/movie.py b/ox/movie.py index 61ca3f2..3ca001b 100644 --- a/ox/movie.py +++ b/ox/movie.py @@ -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)