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 4ddfddee..7a6c8579 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 @@ -134,7 +134,7 @@ public class JAXBWriter { if (jsonp) { writer.append(jsonpCallback).append('('); } - marshaller.marshal(new ObjectFactory().createLibresonicResponse(jaxbResponse), writer); + marshaller.marshal(new ObjectFactory().createSubsonicResponse(jaxbResponse), writer); if (jsonp) { writer.append(");"); }