From 16b1a943918ba307564f8a4830e1c86fe1143eac Mon Sep 17 00:00:00 2001 From: JackDandy Date: Wed, 11 Nov 2020 14:28:34 +0000 Subject: [PATCH 1/2] Change correct changelog versions --- CHANGES.md | 12 ++++++------ readme.md | 5 ++++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b1f3866..7387771 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,7 @@ ### 0.23.0 (2020-11-11 13:30:00 UTC) * Change improve search performance for backlog, manual, failed, and proper -* Add overview of the last release age/date at each newznab provider to History/Layout "Connect fails" +* Add overview of the last release age/date at each newznab provider to History/Layout "Connect fails" * Add "History new..." to Shows menu by clicking the number * Add db backup to the scheduled daily update * Add display "Database backups" location at config/about if feature available @@ -77,30 +77,30 @@ * Change rename misuse of terminology `frequency` to `interval` -### 0.21.16 (2020-11-10 20:15:00 UTC) +### 0.22.16 (2020-11-10 20:15:00 UTC) * Fix anime name parser tests failing on assumed season number 1 * Change increase number of IMDb ID digits parsed in TVDb lib * Change add Trakt requested guidance to the log for locked user accounts -### 0.21.15 (2020-11-09 14:10:00 UTC) +### 0.22.15 (2020-11-09 14:10:00 UTC) * Fix IMDb cards not always displayed as `in library` -### 0.21.14 (2020-11-06 21:55:00 UTC) +### 0.22.14 (2020-11-06 21:55:00 UTC) * Fix RarBG in cases where home page cannot be reached -### 0.21.13 (2020-11-05 01:00:00 UTC) +### 0.22.13 (2020-11-05 01:00:00 UTC) * Fix SpeedCD provider * Remove HorribleSubs provider -### 0.21.12 (2020-11-03 16:05:00 UTC) +### 0.22.12 (2020-11-03 16:05:00 UTC) * Fix IPTorrents diff --git a/readme.md b/readme.md index 60b40e2..3e826d8 100644 --- a/readme.md +++ b/readme.md @@ -69,10 +69,13 @@ Other features and worthy points; * Forward search results directly to clients like NZBGet, SABNZBd, qBitTorrent, Deluge and others * Save search results to a "blackhole" folder, a place designated for clients to auto scan * Built-in post processing of episodes, with renaming to custom folder and/or file names - * Fetch metadata like fanart, poster and banner images, nfo's for clients like Kodi, Plex and many more + * Fetch metadata like fanart, poster and banner images, nfo's for clients like Kodi, Emby, Plex, Jellyfin and many more * Native advanced automated handling of failed downloads to ensure a success after failure * Overview of episodes, rating, version, airdate, episode status ([their meaning](https://github.com/SickGear/SickGear/wiki/Status-Modes)) * Support for specials and multi episode media files +* File management for media processing + * Configurable folder/file renaming for a consistent library + * Automatic unpacking of rar archives (and optionally 7z) * Automated subtitle management * Notification * Home Theater/NAS (Emby, Kodi, Plex, Syno, Tivo, and more) can be notified to update their library From 7d950185a73b4ba2287f052a8e030a9ec09c4148 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Mon, 16 Nov 2020 23:47:38 +0100 Subject: [PATCH 2/2] Fix image failure for a show that is force updated, removed, then readded. --- CHANGES.md | 7 ++++++- lib/cachecontrol/controller.py | 8 ++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 7387771..01ecc4e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 0.23.0 (2020-11-11 13:30:00 UTC) +### 0.23.1 (2020-11-16 23:00:00 UTC) + +* Fix image failure for a show that is force updated, removed, then readded + + +### 0.23.0 (2020-11-11 13:30:00 UTC) * Change improve search performance for backlog, manual, failed, and proper * Add overview of the last release age/date at each newznab provider to History/Layout "Connect fails" diff --git a/lib/cachecontrol/controller.py b/lib/cachecontrol/controller.py index e411a32..aad14f4 100644 --- a/lib/cachecontrol/controller.py +++ b/lib/cachecontrol/controller.py @@ -410,7 +410,15 @@ class CacheController(object): cached_response.status = 200 # update our cache + try: + cached_response._fp.seek(0) + except (BaseException, Exception): + pass body = cached_response.read(decode_content=False) self.cache.set(cache_url, self.serializer.dumps(request, cached_response, body)) + try: + cached_response._fp.seek(0) + except (BaseException, Exception): + pass return cached_response