From 5dbc7f9f3370acd210934b0096061d9a073fb612 Mon Sep 17 00:00:00 2001 From: maffo999 Date: Thu, 15 Jul 2021 20:13:18 +0200 Subject: [PATCH] Moved logging to debug and fixed empty line. Updated changelog to include new option. --- beetsplug/subsonicupdate.py | 5 +++-- docs/changelog.rst | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/beetsplug/subsonicupdate.py b/beetsplug/subsonicupdate.py index 40dbea796..89b59429f 100644 --- a/beetsplug/subsonicupdate.py +++ b/beetsplug/subsonicupdate.py @@ -43,6 +43,7 @@ from beets.plugins import BeetsPlugin __author__ = 'https://github.com/maffo999' + class SubsonicUpdate(BeetsPlugin): def __init__(self): super(SubsonicUpdate, self).__init__() @@ -101,8 +102,8 @@ class SubsonicUpdate(BeetsPlugin): user = config['subsonic']['user'].as_str() auth = config['subsonic']['auth'].as_str() url = self.__format_url("startScan") - self._log.info(u'URL is {0}', url) - self._log.info(u'auth type is {0}', config['subsonic']['auth']) + self._log.debug(u'URL is {0}', url) + self._log.debug(u'auth type is {0}', config['subsonic']['auth']) if auth == "token": salt, token = self.__create_token() diff --git a/docs/changelog.rst b/docs/changelog.rst index 27ddea33a..5eae9c855 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -387,7 +387,9 @@ Fixes: all front images instead of blindly selecting the first one. * :doc:`/plugins/lyrics`: Removed the LyricWiki source (the site shut down on 21/09/2020). -* Fix :bug:`4002`. Subsonicupdate plugin is now functional again. +* Fix :bug:`4002`. Subsonicupdate plugin is now functional again. New option + 'auth' is required in the configuration file to specify the authentication + type. For plugin developers: