From 47347884cb0f1212369842ae2f131ba6376ad298 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Tue, 9 Jun 2015 15:43:54 +0100 Subject: [PATCH] Fix fault matching air by date shows by using correct episode/season strings in find search results. --- CHANGES.md | 7 ++++--- sickbeard/providers/generic.py | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 3eeff6a5..97a92352 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -26,12 +26,13 @@ * Change first run after install to set up the main db to the current schema instead of upgrading * Change don't create a backup from an initial zero byte main database file, PEP8 and code tidy up * Fix show list view when no shows exist and "Group show lists shows into" is set to anything other than "One Show List" -* Add coverage testing and coveralls support +* Fix fault matching air by date shows by using correct episode/season strings in find search results +* Change add 'hevc', 'x265' and some langs to Config Search/Episode Search/Ignore result with any word * Update feedparser library 5.1.3 to 5.2.0 (8c62940) * Remove feedcache implementation and library -* Change py2 exception clauses to py2/3 compatible clauses +* Add coverage testing and coveralls support * Add py2/3 regression testing for exception clauses -* Change add 'hevc', 'x265' and some langs to Config Search/Episode Search/Ignore result with any word. +* Change py2 exception clauses to py2/3 compatible clauses * Change py2 print statements to py2/3 compatible functions [develop changelog] diff --git a/sickbeard/providers/generic.py b/sickbeard/providers/generic.py index d075a625..b4cfcf58 100644 --- a/sickbeard/providers/generic.py +++ b/sickbeard/providers/generic.py @@ -285,7 +285,7 @@ class GenericProvider: # mark season searched for season pack searches so we can skip later on searched_scene_season = epObj.scene_season - if len(episodes) > 1: + if len(episodes) > 1 and 'eponly' != search_mode: # get season search results for curString in self._get_season_search_strings(epObj): itemList += self._doSearch(curString, search_mode, len(episodes)) @@ -328,7 +328,7 @@ class GenericProvider: logger.log(u"Unable to parse the filename " + title + " into a valid episode", logger.DEBUG) continue except InvalidShowException: - logger.log(u"Unable to parse the filename " + title + " into a valid show", logger.DEBUG) + logger.log(u'No show name or scene exception matched the parsed filename ' + title, logger.DEBUG) continue showObj = parse_result.show