Browse Source

Fix configured Plex notification hosts that don't start with "http".

Add exclude "Specials" when pruning with option edit show/Other/"Keep up to".
tags/release_0.20.7^2
JackDandy 6 years ago
parent
commit
0a5547f4e5
  1. 8
      CHANGES.md
  2. 7
      lib/plex/plex.py
  3. 2
      sickbeard/tv.py

8
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

7
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):

2
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:

Loading…
Cancel
Save