Fixed incorrect reference to library 'season' and 'episode' attributes.

This commit is contained in:
Dean Gardiner
2013-12-04 19:50:48 +13:00
parent b0e352ab6d
commit 143dcad4f3
2 changed files with 3 additions and 3 deletions

View File

@@ -39,8 +39,8 @@ class EpisodeLibraryPlugin(LibraryBase):
identifier['episode'] = scene_map.get('episode')
else:
# Fallback to normal season/episode numbers
identifier['season'] = library.get('season')
identifier['episode'] = library.get('episode')
identifier['season'] = library.get('season_number')
identifier['episode'] = library.get('episode_number')
# Cast identifiers to integers

View File

@@ -33,7 +33,7 @@ class Matcher(Plugin):
if fireEvent('searcher.correct_match', chain, release, media, quality, single = True):
return chain
return None
return False
def chainMatch(self, chain, group, tags):
found_tags = []