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/api2.py b/plexpy/api2.py index 5265b391..3e7b07fa 100644 --- a/plexpy/api2.py +++ b/plexpy/api2.py @@ -415,7 +415,7 @@ class API2(object): 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. ``` diff --git a/plexpy/database.py b/plexpy/database.py index fcf9c925..e164b904 100644 --- a/plexpy/database.py +++ b/plexpy/database.py @@ -75,7 +75,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: diff --git a/plexpy/version.py b/plexpy/version.py index 702b929f..8c4fa08a 100644 --- a/plexpy/version.py +++ b/plexpy/version.py @@ -1,3 +1,3 @@ -from __future__ import unicode_literals -PLEXPY_BRANCH = "master" -PLEXPY_RELEASE_VERSION = "v2.1.38" +from __future__ import unicode_literals +PLEXPY_BRANCH = "master" +PLEXPY_RELEASE_VERSION = "v2.1.39"