Moved logging to debug and fixed empty line. Updated changelog to include new option.

This commit is contained in:
maffo999 2021-07-15 20:13:18 +02:00
parent 51210cb649
commit 5dbc7f9f33
2 changed files with 6 additions and 3 deletions

View file

@ -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()

View file

@ -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: