episodes without season/episode are season 1, add season besides having it in the title, fixes #1548

This commit is contained in:
j 2013-05-31 22:34:06 +02:00
parent 8038b0d13f
commit 96f7975747

View file

@ -498,6 +498,7 @@ class Imdb(SiteParser):
self['seriesTitle'], self['season'], self['episode'], self['episodeTitle']) self['seriesTitle'], self['season'], self['episode'], self['episodeTitle'])
else: else:
self['title'] = "%s (S01) %s" % (self['seriesTitle'], self['episodeTitle']) self['title'] = "%s (S01) %s" % (self['seriesTitle'], self['episodeTitle'])
self['season'] = 1
self['title'] = self['title'].strip() self['title'] = self['title'].strip()
if 'director' in self: if 'director' in self:
self['episodeDirector'] = self['director'] self['episodeDirector'] = self['director']