You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of sending the whole queue everytime something changes in it, tamarillo should send "Queue Events":
Events
Anatomy
Each event would be an object with two properties:
type : the type of what happened to the queue: a video has been added, moved to next, is playing, has been removed. It could have the following values: added, next, now, played, deleted
subject : the QueueItem | PlayingItem of the event
{
"type": "add",
"subject": {}
}
Front-end works
Instead of recieving the whole queue and re-rendering all items, only apply modifications recieved.
The text was updated successfully, but these errors were encountered:
Instead of sending the whole queue everytime something changes in it, tamarillo should send "Queue Events":
Events
Anatomy
Each
event
would be an object with two properties:type
: the type of what happened to the queue: a video has been added, moved to next, is playing, has been removed. It could have the following values:added
,next
,now
,played
,deleted
subject
: theQueueItem | PlayingItem
of the eventFront-end works
Instead of recieving the whole
queue
and re-rendering all items, only apply modifications recieved.The text was updated successfully, but these errors were encountered: