Ankündigung

Einklappen

Serverwartung 21.2.



Am 21.2. im Laufe des späten Abends wird eine Serverwartung durchgeführt. Das Forum ist dadurch für gut zwei Stunden nicht erreichbar.
Es wird eine Wartungsseite geschaltet.

Mehr anzeigen
Weniger anzeigen

GIRA X1 logic: Checking if a string is empty

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    GIRA X1 logic: Checking if a string is empty

    Hi,

    I'm doing a SONOS integration with a GIRA X1. I would like to display either the name of the radio station OR the Author of a certain track.
    If I'm selecting a Tune-In station, the name of the station will appear in the Playlist name address and the Author address will become empty.
    So I would like to display the Author (when playing a certain song or playlist) but I would like to display the playlist name (which equals the radio station name) when I have selected a Tune-In station.
    To implement this is, I would like to do the following:
    - check if the STRING under the Author is empty => if yes switch the input towards the playlist name.
    - If the STRING for the Author address is not empty => display the the Author name

    Is there a way to implement this? Any alternate solution is welcome as well.

    Thank you!

    Thijs
Lädt...
X