mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 05:23:05 +01:00
Merge pull request #3018 from maffo999/testing
Fixed configuration defaults and updated documentation
This commit is contained in:
commit
dbfe19229d
2 changed files with 7 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue