mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-21 17:13:42 +00:00
Reverted episode cache changes
This commit is contained in:
parent
44358ef601
commit
c2ba2d6550
1 changed files with 3 additions and 3 deletions
|
@ -337,7 +337,7 @@ class GenericMetadata():
|
||||||
def create_season_posters(self, show_obj):
|
def create_season_posters(self, show_obj):
|
||||||
if self.season_posters and show_obj:
|
if self.season_posters and show_obj:
|
||||||
result = []
|
result = []
|
||||||
for season, episodes in sickbeard.episodeCache.iteritems(): # @UnusedVariable
|
for season, episodes in show_obj.episodes.iteritems(): # @UnusedVariable
|
||||||
if not self._has_season_poster(show_obj, season):
|
if not self._has_season_poster(show_obj, season):
|
||||||
logger.log(u"Metadata provider " + self.name + " creating season posters for " + show_obj.name,
|
logger.log(u"Metadata provider " + self.name + " creating season posters for " + show_obj.name,
|
||||||
logger.DEBUG)
|
logger.DEBUG)
|
||||||
|
@ -348,7 +348,7 @@ class GenericMetadata():
|
||||||
def create_season_banners(self, show_obj):
|
def create_season_banners(self, show_obj):
|
||||||
if self.season_banners and show_obj:
|
if self.season_banners and show_obj:
|
||||||
result = []
|
result = []
|
||||||
for season, episodes in sickbeard.episodeCache.iteritems(): # @UnusedVariable
|
for season, episodes in show_obj.episodes.iteritems(): # @UnusedVariable
|
||||||
if not self._has_season_banner(show_obj, season):
|
if not self._has_season_banner(show_obj, season):
|
||||||
logger.log(u"Metadata provider " + self.name + " creating season banners for " + show_obj.name,
|
logger.log(u"Metadata provider " + self.name + " creating season banners for " + show_obj.name,
|
||||||
logger.DEBUG)
|
logger.DEBUG)
|
||||||
|
@ -985,4 +985,4 @@ class GenericMetadata():
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
logger.log(u"Could not find any posters or background for " + show.name, logger.DEBUG)
|
logger.log(u"Could not find any posters or background for " + show.name, logger.DEBUG)
|
||||||
|
|
Loading…
Reference in a new issue