diff --git a/libresonic-main/pom.xml b/libresonic-main/pom.xml index 93d4dfea..ddc292fc 100644 --- a/libresonic-main/pom.xml +++ b/libresonic-main/pom.xml @@ -21,7 +21,7 @@ org.libresonic.player - libresonic-rest-api + subsonic-rest-api ${project.version} diff --git a/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java b/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java index 692c7cd6..bfbcf6c0 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java +++ b/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java @@ -99,7 +99,7 @@ public class JAXBWriter { private String getRESTProtocolVersion() throws Exception { InputStream in = null; try { - in = StringUtil.class.getResourceAsStream("/libresonic-rest-api.xsd"); + in = StringUtil.class.getResourceAsStream("/subsonic-rest-api.xsd"); Document document = new SAXBuilder().build(in); Attribute version = document.getRootElement().getAttribute("version"); return version.getValue(); diff --git a/pom.xml b/pom.xml index 717fdca8..7f2f5f45 100644 --- a/pom.xml +++ b/pom.xml @@ -75,7 +75,7 @@ - libresonic-rest-api + subsonic-rest-api libresonic-sonos-api libresonic-main diff --git a/libresonic-rest-api/pom.xml b/subsonic-rest-api/pom.xml similarity index 91% rename from libresonic-rest-api/pom.xml rename to subsonic-rest-api/pom.xml index 39075fc9..799a355a 100644 --- a/libresonic-rest-api/pom.xml +++ b/subsonic-rest-api/pom.xml @@ -2,8 +2,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - libresonic-rest-api - Libresonic REST API + subsonic-rest-api + Subsonic REST API org.libresonic.player diff --git a/libresonic-rest-api/src/main/resources/org/libresonic/restapi/jaxb.properties b/subsonic-rest-api/src/main/resources/org/subsonic/restapi/jaxb.properties similarity index 100% rename from libresonic-rest-api/src/main/resources/org/libresonic/restapi/jaxb.properties rename to subsonic-rest-api/src/main/resources/org/subsonic/restapi/jaxb.properties diff --git a/libresonic-rest-api/src/main/resources/libresonic-rest-api.xsd b/subsonic-rest-api/src/main/resources/subsonic-rest-api.xsd similarity index 100% rename from libresonic-rest-api/src/main/resources/libresonic-rest-api.xsd rename to subsonic-rest-api/src/main/resources/subsonic-rest-api.xsd