use JSON instead of XML in Subsonic API

This commit is contained in:
Drew Weymouth
2026-03-11 07:38:58 -07:00
parent 97df8f1f4b
commit 03fd760589
4 changed files with 6 additions and 4 deletions
+2
View File
@@ -220,6 +220,7 @@ func (s *ServerManager) connect(connection ServerConnection, password string) (m
User: connection.Username,
PasswordAuth: connection.LegacyAuth,
ClientName: res.AppName,
UseJSON: true,
},
}
s.checkSetInsecureSkipVerify(connection.SkipSSLVerify, cli.(*subsonicMP.SubsonicServer).Client.Client)
@@ -231,6 +232,7 @@ func (s *ServerManager) connect(connection ServerConnection, password string) (m
User: connection.Username,
PasswordAuth: connection.LegacyAuth,
ClientName: res.AppName,
UseJSON: true,
},
}
s.checkSetInsecureSkipVerify(connection.SkipSSLVerify, altCli.(*subsonicMP.SubsonicServer).Client.Client)