Skip to content

Commit 5dbc7f9

Browse files
author
maffo999
committed
Moved logging to debug and fixed empty line. Updated changelog to include new option.
1 parent 51210cb commit 5dbc7f9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

beetsplug/subsonicupdate.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
__author__ = 'https://github.com/maffo999'
4545

46+
4647
class SubsonicUpdate(BeetsPlugin):
4748
def __init__(self):
4849
super(SubsonicUpdate, self).__init__()
@@ -101,8 +102,8 @@ def start_scan(self):
101102
user = config['subsonic']['user'].as_str()
102103
auth = config['subsonic']['auth'].as_str()
103104
url = self.__format_url("startScan")
104-
self._log.info(u'URL is {0}', url)
105-
self._log.info(u'auth type is {0}', config['subsonic']['auth'])
105+
self._log.debug(u'URL is {0}', url)
106+
self._log.debug(u'auth type is {0}', config['subsonic']['auth'])
106107

107108
if auth == "token":
108109
salt, token = self.__create_token()

docs/changelog.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,9 @@ Fixes:
387387
all front images instead of blindly selecting the first one.
388388
* :doc:`/plugins/lyrics`: Removed the LyricWiki source (the site shut down on
389389
21/09/2020).
390-
* Fix :bug:`4002`. Subsonicupdate plugin is now functional again.
390+
* Fix :bug:`4002`. Subsonicupdate plugin is now functional again. New option
391+
'auth' is required in the configuration file to specify the authentication
392+
type.
391393

392394
For plugin developers:
393395

0 commit comments

Comments
 (0)