Open
Description
There is currently no way to push artwork directly and temporarily to the frame without adding artwork to the database. The following is a workaround (creating, pushing, deleting) which requires a short delay before deleting the artwork again:
OF.artwork.create(artwork).then((result) => {
let artworkId = result.id
OF.frames.updateCurrentArtwork(frameId, artworkId).then(() => {
setTimeout(() => {
OF.artwork.delete(artworkId)
}, 500) // wait to make sure the artwork gets passed to the frame before deleting the artwork
})
Would be great if this was implemented more cleanly into the API.
Metadata
Metadata
Assignees
Labels
No labels