diff --git a/src/server.ts b/src/server.ts index de42a15..14587b9 100644 --- a/src/server.ts +++ b/src/server.ts @@ -281,6 +281,7 @@ function server( res.type("application/xml").send(` + diff --git a/tests/smapi.test.ts b/tests/smapi.test.ts index 4a08b4c..ef6b772 100644 --- a/tests/smapi.test.ts +++ b/tests/smapi.test.ts @@ -158,6 +158,17 @@ describe("service config", () => { ); } + it("should have a PageSize of specified", async () => { + const xml = await presentationMapXml(); + + const pageSize = xpath.select( + `string(/Presentation/BrowseOptions/@PageSize)`, + xml + ); + + expect(pageSize).toEqual('30'); + }); + it("should have an ArtWorkSizeMap for all sizes recommended by sonos", async () => { const xml = await presentationMapXml();