From 1374aa2aea1df83b11c77218c354c54de991df59 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Mon, 18 May 2020 10:23:26 -0400 Subject: [PATCH] feat: uses new subsonic format as default also gets rid of warning that port must be `int` when it's default was a `string` --- beetsplug/subsonicupdate.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/beetsplug/subsonicupdate.py b/beetsplug/subsonicupdate.py index 469a9d142..29b01986e 100644 --- a/beetsplug/subsonicupdate.py +++ b/beetsplug/subsonicupdate.py @@ -17,11 +17,9 @@ Your Beets configuration file should contain a "subsonic" section like the following: subsonic: - host: 192.168.x.y (Subsonic server IP) - port: 4040 (default) - user: - pass: - contextpath: /subsonic + url: https://mydomain.com:443/subsonic + user: username + pass: password """ from __future__ import division, absolute_import, print_function @@ -84,11 +82,8 @@ class SubsonicUpdate(BeetsPlugin): # Set default configuration values config['subsonic'].add({ - 'host': 'localhost', - 'port': '4040', 'user': 'admin', 'pass': 'admin', - 'contextpath': '/', 'url': 'http://localhost:4040', })