mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Change playlist handling
This commit is contained in:
@@ -289,6 +289,7 @@ const playlist = (bonobUrl: URLBuilder, playlist: Playlist) => ({
|
|||||||
title: playlist.name,
|
title: playlist.name,
|
||||||
albumArtURI: coverArtURI(bonobUrl, playlist).href(),
|
albumArtURI: coverArtURI(bonobUrl, playlist).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
|
canEnumerate: true,
|
||||||
attributes: {
|
attributes: {
|
||||||
readOnly: false,
|
readOnly: false,
|
||||||
userContent: false,
|
userContent: false,
|
||||||
@@ -881,6 +882,7 @@ function bindSmapiSoapServiceToExpress(
|
|||||||
title: lang("playlists"),
|
title: lang("playlists"),
|
||||||
albumArtURI: iconArtURI(bonobUrl, "playlists").href(),
|
albumArtURI: iconArtURI(bonobUrl, "playlists").href(),
|
||||||
itemType: "playlist",
|
itemType: "playlist",
|
||||||
|
canEnumerate: true,
|
||||||
attributes: {
|
attributes: {
|
||||||
readOnly: false,
|
readOnly: false,
|
||||||
userContent: true,
|
userContent: true,
|
||||||
|
|||||||
@@ -1161,6 +1161,7 @@ describe("wsdl api", () => {
|
|||||||
title: "Playlists",
|
title: "Playlists",
|
||||||
albumArtURI: iconArtURI(bonobUrl, "playlists").href(),
|
albumArtURI: iconArtURI(bonobUrl, "playlists").href(),
|
||||||
itemType: "playlist",
|
itemType: "playlist",
|
||||||
|
canEnumerate: true,
|
||||||
attributes: {
|
attributes: {
|
||||||
readOnly: "false",
|
readOnly: "false",
|
||||||
renameable: "false",
|
renameable: "false",
|
||||||
@@ -1261,6 +1262,7 @@ describe("wsdl api", () => {
|
|||||||
title: "Afspeellijsten",
|
title: "Afspeellijsten",
|
||||||
albumArtURI: iconArtURI(bonobUrl, "playlists").href(),
|
albumArtURI: iconArtURI(bonobUrl, "playlists").href(),
|
||||||
itemType: "playlist",
|
itemType: "playlist",
|
||||||
|
canEnumerate: true,
|
||||||
attributes: {
|
attributes: {
|
||||||
readOnly: "false",
|
readOnly: "false",
|
||||||
renameable: "false",
|
renameable: "false",
|
||||||
@@ -1497,6 +1499,7 @@ describe("wsdl api", () => {
|
|||||||
playlist
|
playlist
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
|
canEnumerate: true,
|
||||||
attributes: {
|
attributes: {
|
||||||
readOnly: "false",
|
readOnly: "false",
|
||||||
userContent: "false",
|
userContent: "false",
|
||||||
@@ -1529,6 +1532,7 @@ describe("wsdl api", () => {
|
|||||||
playlist
|
playlist
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
|
canEnumerate: true,
|
||||||
attributes: {
|
attributes: {
|
||||||
readOnly: "false",
|
readOnly: "false",
|
||||||
userContent: "false",
|
userContent: "false",
|
||||||
|
|||||||
Reference in New Issue
Block a user