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,
|
||||
albumArtURI: coverArtURI(bonobUrl, playlist).href(),
|
||||
canPlay: true,
|
||||
canEnumerate: true,
|
||||
attributes: {
|
||||
readOnly: false,
|
||||
userContent: false,
|
||||
@@ -881,6 +882,7 @@ function bindSmapiSoapServiceToExpress(
|
||||
title: lang("playlists"),
|
||||
albumArtURI: iconArtURI(bonobUrl, "playlists").href(),
|
||||
itemType: "playlist",
|
||||
canEnumerate: true,
|
||||
attributes: {
|
||||
readOnly: false,
|
||||
userContent: true,
|
||||
|
||||
@@ -1161,6 +1161,7 @@ describe("wsdl api", () => {
|
||||
title: "Playlists",
|
||||
albumArtURI: iconArtURI(bonobUrl, "playlists").href(),
|
||||
itemType: "playlist",
|
||||
canEnumerate: true,
|
||||
attributes: {
|
||||
readOnly: "false",
|
||||
renameable: "false",
|
||||
@@ -1261,6 +1262,7 @@ describe("wsdl api", () => {
|
||||
title: "Afspeellijsten",
|
||||
albumArtURI: iconArtURI(bonobUrl, "playlists").href(),
|
||||
itemType: "playlist",
|
||||
canEnumerate: true,
|
||||
attributes: {
|
||||
readOnly: "false",
|
||||
renameable: "false",
|
||||
@@ -1497,6 +1499,7 @@ describe("wsdl api", () => {
|
||||
playlist
|
||||
).href(),
|
||||
canPlay: true,
|
||||
canEnumerate: true,
|
||||
attributes: {
|
||||
readOnly: "false",
|
||||
userContent: "false",
|
||||
@@ -1529,6 +1532,7 @@ describe("wsdl api", () => {
|
||||
playlist
|
||||
).href(),
|
||||
canPlay: true,
|
||||
canEnumerate: true,
|
||||
attributes: {
|
||||
readOnly: "false",
|
||||
userContent: "false",
|
||||
|
||||
Reference in New Issue
Block a user