Subsonic: Added deprecation notice for funkwhaleVersion field
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
This commit is contained in:
parent
136f24a917
commit
2371f2a4cb
|
@ -35,6 +35,8 @@ ET._serialize_xml = ET._serialize["xml"] = _serialize_xml
|
|||
|
||||
def structure_payload(data):
|
||||
payload = {
|
||||
# funkwhaleVersion is deprecated and will be removed in a future
|
||||
# release. Use serverVersion instead.
|
||||
"funkwhaleVersion": funkwhale_api.__version__,
|
||||
"serverVersion": funkwhale_api.__version__,
|
||||
"status": "ok",
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
The "funkwhaleVersion" field in Subsonic responses is deprecated. Clients
|
||||
should use the OpenSubsonic field "serverVersion" instead.
|
Loading…
Reference in New Issue