From ba52f201b9ced96964966f183e9781e3193aa3a5 Mon Sep 17 00:00:00 2001 From: Wolfgang Kulhanek Date: Wed, 22 Oct 2025 18:15:17 +0200 Subject: [PATCH] Another attempt to fix playlists --- src/smapi.ts | 2 +- tests/smapi.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/smapi.ts b/src/smapi.ts index 1d382f3..5f053ac 100644 --- a/src/smapi.ts +++ b/src/smapi.ts @@ -881,7 +881,7 @@ function bindSmapiSoapServiceToExpress( id: "playlists", title: lang("playlists"), albumArtURI: iconArtURI(bonobUrl, "playlists").href(), - itemType: "playlist", + itemType: "container", canEnumerate: true, attributes: { readOnly: false, diff --git a/tests/smapi.test.ts b/tests/smapi.test.ts index c3d36aa..ef4fc33 100644 --- a/tests/smapi.test.ts +++ b/tests/smapi.test.ts @@ -1160,7 +1160,7 @@ describe("wsdl api", () => { id: "playlists", title: "Playlists", albumArtURI: iconArtURI(bonobUrl, "playlists").href(), - itemType: "playlist", + itemType: "container", canEnumerate: true, attributes: { readOnly: "false", @@ -1261,7 +1261,7 @@ describe("wsdl api", () => { id: "playlists", title: "Afspeellijsten", albumArtURI: iconArtURI(bonobUrl, "playlists").href(), - itemType: "playlist", + itemType: "container", canEnumerate: true, attributes: { readOnly: "false",