-
|
Hey hey, coding a custom worship slide display solution for my church org. All I need is to grab the current output slide's text information. Really simple, but I'm struggling to find a good way to do it. I tried the obvious queries like get_slide and get_output, but couldn't come get out the info I need. get_slide only seems to show the first slide at index 0 and passing in {"showId": "active"} didn't seem to change anything. get_output does show you the current outputed slide, but doesn't give me the text of that slide. Tried inputting the "id" value from get_output into the "slideId" argument of the get_slide to no avail. kinda stumped at this point Only solution I can imagine is using the get_plain_text, and parsing that text into an array of slide texts which I then can use the index from get_output to match, but that's too scuffed a solution to trust for live application, especially one that is audience-facing. Anyone more knowledgeable be able to point me in the right direction? P.S. Please add a template to the API page showing people how to input data correctly as well as what ? | and other arbitrary symbols mean in the docs. It was a pain to finally figure out the correct syntax by trial and error {"action": "get_slide", "slideId": "259db9a2877"} thanks!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Why not use the stage display? |
Beta Was this translation helpful? Give feedback.
All right, I added a
get_output_slide_textaction comming in the next version.If your audience is connected to the same network as the computer running FreeShow though, the "Stage" display should do everything you described:
It will send only the text and not a video output (if the "Slide text" is used), it will auto scale to fit the device, you can style it with CSS differently to the main output text, etc. It should also update automatically with any changes.