From d1e401cb0c6c6f4d4ec4df50b5082e94a129ea4e Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sun, 24 Nov 2019 22:35:58 -0800 Subject: [PATCH 1/3] Remove default subject and body for notify API command --- plexpy/api2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/api2.py b/plexpy/api2.py index 8d23982d..2297cfe2 100644 --- a/plexpy/api2.py +++ b/plexpy/api2.py @@ -411,7 +411,7 @@ class API2: return - def notify(self, notifier_id='', subject='Tautulli', body='Test notification', **kwargs): + def notify(self, notifier_id='', subject='', body='', **kwargs): """ Send a notification using Tautulli. ``` From 55aad4e6eed8e943c3f1e3f5c5c64a7417455344 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Fri, 29 Nov 2019 23:14:33 -0800 Subject: [PATCH 2/3] Fix integrity check before database backup --- plexpy/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/database.py b/plexpy/database.py index a6a34bfe..05830288 100644 --- a/plexpy/database.py +++ b/plexpy/database.py @@ -70,7 +70,7 @@ def make_backup(cleanup=False, scheduler=False): """ Makes a backup of db, removes all but the last 5 backups """ # Check the integrity of the database first - integrity = (integrity_check() == 'ok') + integrity = (integrity_check()['integrity_check'] == 'ok') corrupt = '' if not integrity: From 6e0a0d51b5bb05801d7bcd0bee1b338a5bf6fafa Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sun, 8 Dec 2019 12:12:24 -0800 Subject: [PATCH 3/3] v2.1.39 --- CHANGELOG.md | 10 ++++++++++ plexpy/version.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a894625..af4f670e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## v2.1.39 (2019-12-08) + +* UI: + * New: Added creating admin username and password to setup wizard. +* API: + * Change: Remove default notification subject and body for notify API command. +* Other: + * Change: Check for database corruption when making backup. + + ## v2.1.38 (2019-11-17) * Notifications: diff --git a/plexpy/version.py b/plexpy/version.py index 8797f179..04cb9911 100644 --- a/plexpy/version.py +++ b/plexpy/version.py @@ -1,2 +1,2 @@ PLEXPY_BRANCH = "master" -PLEXPY_RELEASE_VERSION = "v2.1.38" +PLEXPY_RELEASE_VERSION = "v2.1.39"