diff --git a/beetsplug/subsonicupdate.py b/beetsplug/subsonicupdate.py index 41e3ec36f..e80b1e15a 100644 --- a/beetsplug/subsonicupdate.py +++ b/beetsplug/subsonicupdate.py @@ -40,10 +40,10 @@ class SubsonicUpdate(BeetsPlugin): # Set default configuration values config['subsonic'].add({ - u'host': u'localhost', - u'port': 4040, - u'user': u'admin', - u'pass': u'admin', + 'host': 'localhost', + 'port': '4040', + 'user': 'admin', + 'pass': 'admin', }) config['subsonic']['pass'].redact = True self.register_listener('import', self.loaded) @@ -72,7 +72,7 @@ class SubsonicUpdate(BeetsPlugin): 'u': user, 't': token.hexdigest(), 's': salt, - 'v': '1.15.0', + 'v': '1.15.0', # Subsonic 6.1 and newer 'c': 'beets' } url = "http://{}:{}/rest/startScan".format(host, port) diff --git a/docs/plugins/subsonicupdate.rst b/docs/plugins/subsonicupdate.rst index 6d469dfa7..3637a1efd 100644 --- a/docs/plugins/subsonicupdate.rst +++ b/docs/plugins/subsonicupdate.rst @@ -19,7 +19,8 @@ which looks like this:: pass: password With that all in place, beets will send a Rest API to your Subsonic -server every time you change your beets library. +server every time you import new music. +Due to a current limitation of the API, all libraries visible to that user will be scanned. This plugin requires Subsonic v6.1 or higher and an active Premium license (or trial).