diff --git a/CHANGELOG.md b/CHANGELOG.md index f20be32c4d..d1333a8df0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Add `uniqueid` to Kodi 12+ show metadata ([#7483](https://github.com/pymedusa/Medusa/pull/7483)) #### Fixes +- Fix Emby notifier error on Python 3 ([#7497](https://github.com/pymedusa/Medusa/pull/7497)) ----- diff --git a/medusa/notifiers/emby.py b/medusa/notifiers/emby.py index 7db5cb9d49..fd645bf221 100644 --- a/medusa/notifiers/emby.py +++ b/medusa/notifiers/emby.py @@ -56,8 +56,8 @@ def _notify_emby(self, message, host=None, emby_apikey=None): ) resp.raise_for_status() - if resp.content: - log.debug('EMBY: HTTP response: {0}', resp.content.replace('\n', '')) + if resp.text: + log.debug('EMBY: HTTP response: {0}', resp.text.replace('\n', '')) log.info('EMBY: Successfully sent a test notification.') return True @@ -127,8 +127,8 @@ def update_library(self, show=None): ) resp.raise_for_status() - if resp.content: - log.debug('EMBY: HTTP response: {0}', resp.content.replace('\n', '')) + if resp.text: + log.debug('EMBY: HTTP response: {0}', resp.text.replace('\n', '')) log.info('EMBY: Successfully sent a "Series Library Updated" command.') return True