Get the whole Live project in one command #53
-
Hi Leo! Just a question: is there a way to get the whole "song state" in one command? I plan to populate my React front end in one request, and then open a Websocket connection for further changes/updates. Granted, it wouldn't be that much work to just query Live for the tracks, scenes, clips and so on, but I thought I'd ask first so I don't write code when there's already a function for this! After looking through the TS classes a bit, I haven't found anything to indicate this though, but it's certainly possible that I'm missing something. /John |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey John, I'm happy to hear that you like the library! Regarding your question, there's currently no way to get the entire project's state in one command, but you should be fine just querying all properties you need in parallel. Let me know if you have any further questions :) |
Beta Was this translation helpful? Give feedback.
Hey John,
I'm happy to hear that you like the library!
Regarding your question, there's currently no way to get the entire project's state in one command, but you should be fine just querying all properties you need in parallel.
Let me know if you have any further questions :)