Merge Pull Request #329 into develop

master
Eugene E. Kashpureff Jr 8 years ago
commit fd59f20086
  1. 1
      libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java
  2. 3
      libresonic-rest-api/src/main/resources/libresonic-rest-api.xsd

@ -104,6 +104,7 @@ public class JAXBWriter {
Response response = new ObjectFactory().createResponse();
response.setStatus(ok ? ResponseStatus.OK : ResponseStatus.FAILED);
response.setVersion(restProtocolVersion);
response.setType("Libresonic");
return response;
}

@ -4,7 +4,7 @@
targetNamespace="http://libresonic.org/restapi"
attributeFormDefault="unqualified"
elementFormDefault="qualified"
version="1.13.0">
version="1.14.0">
<xs:element name="subsonic-response" type="sub:Response"/>
@ -52,6 +52,7 @@
</xs:choice>
<xs:attribute name="status" type="sub:ResponseStatus" use="required"/>
<xs:attribute name="version" type="sub:Version" use="required"/>
<xs:attribute name="type" type="xs:string" use="required" />
</xs:complexType>
<xs:simpleType name="ResponseStatus">

Loading…
Cancel
Save