Browse Source

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

pull/2549/head
Dean Gardiner 12 years ago
parent
commit
143dcad4f3
  1. 4
      couchpotato/core/media/show/library/episode/main.py
  2. 2
      couchpotato/core/plugins/matcher/main.py

4
couchpotato/core/media/show/library/episode/main.py

@ -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

2
couchpotato/core/plugins/matcher/main.py

@ -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 = []

Loading…
Cancel
Save