diff --git a/CHANGES.md b/CHANGES.md index 083d11c..67ed0bd 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,10 @@ -### 0.20.6 (2019-11-04 22:15:00 UTC) +### 0.20.7 (2019-11-10 14:40:00 UTC) + +* Fix configured Plex notification hosts that don't start with "http" +* Add exclude "Specials" when pruning with option edit show/Other/"Keep up to" + + +### 0.20.6 (2019-11-04 22:15:00 UTC) * Change move config migrator earlier up in the startup phase and add capability to gracefully downgrade config file * Remove POTuk torrent provider diff --git a/lib/plex/plex.py b/lib/plex/plex.py index 1cc87fc..51f7b15 100644 --- a/lib/plex/plex.py +++ b/lib/plex/plex.py @@ -95,9 +95,10 @@ class Plex: @property def plex_host(self): - if not self._plex_host.startswith('http'): - return 'http://%s' % self.plex_host - return self._plex_host + host = self._plex_host + if not host.startswith('http'): + host = 'http://%s' % host + return host @plex_host.setter def plex_host(self, value): diff --git a/sickbeard/tv.py b/sickbeard/tv.py index 24fd232..3fe03be 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -1310,7 +1310,7 @@ class TVShow(object): continue # if the path exist and if it's in our show dir - if (self.prune and curEp.location not in attempted and 0 < helpers.get_size(curEp.location) and + if (self.prune and season and curEp.location not in attempted and 0 < helpers.get_size(curEp.location) and ek.ek(os.path.normpath, curLoc).startswith(ek.ek(os.path.normpath, self.location))): with curEp.lock: if curEp.status in Quality.DOWNLOADED: