'Dynamic' Next Section name in Canvas view?

I was wondering if it was possible in the Canvas view to rather than just see the ‘Next section in the setlist’ - to be able to see the ‘Next cued section’

So it defaults to the next section, but then for the sake of the performer, you can see if a different section is cued up to come next?

1 Like

Hey @Simon,

You can use the following template:

${osc("/setlist/queuedName", 1) ?? osc("/setlist/nextSectionName") ?? "Song End"}

This will display the cued section name and fall back to the next section name. If there’s no next section, it will display “Song End”.

You can also change the label color to highlight that the cued section is not the next section in the song:

${osc("/setlist/queuedName") ? "orange" : "green"}

If a section is cued, the label will be orange, otherwise it will be green.

Let me know if this works for you :slight_smile:

1 Like

A post was split to a new topic: Canvas Button to Prepare a Section with Looping

Always some silly user error from myself!

I was typing in ‘cued’ not ‘queued’ when searching for the OSC

3 things:

  1. Will it display the colour attached to the cued section automatically?

  2. I like the idea of a different colour to indicate it’s a different section to normal chronological - however the colours I use for my section are to indicate dynamic levels - is it possible to get some kind of box highlight behind the section that turns on a certain colour when the section is a cued one out of the normal chronological structure?

  3. What I mentioned above seems fairly custom, how can I learn how to write the correct things in osc commands to get the buttons and text etc to do this dynamically without having to always come and ask yourself the exact thing to type in? :sweat_smile:

I love the solutions you come up with, so thank you, I really appreciate it. I just don’t want to feel like a burden asking for all these tailor made functions if there’s a way I can learn to do it myself :grin:

Also!
Wondering if it’s possible for Section Notes - instead of it saying ‘null’ if there are no notes. Can it just be blank?

Again, a place to find the reasoning behind what you need to type in for that to happen and I’m happy to learn it myself! :sweat_smile:

Hey @Simon,

Ha, I wasn’t sure which of the two would be better since both kind of make sense. However, “cued” might have been the better choice in retrospect.

You can also set a dynamic background color for the label using the same template:

${osc("/setlist/queuedName") ? "orange" : "green"}

If you don’t want any background when no section is queued, you can set the color to “none” or null:

${osc("/setlist/queuedName") ? "orange" : "none"}

You can specify a default fallback which can be an empty string, like this:

${osc("/setlist/nextSectionDescription") ?? ""}

As this feature is still in active development, there’s no documentation for it yet, unfortunately, but the templates use JavaScript syntax. You can get a list of all OSC values in the docs. I’d suggest doing some trial and error to see how everything works.

If you have any questions, please don’t hesitate to reach out! :slight_smile: