How to use an if statement in custom labels #269
Unanswered
AlexanderLeporiday
asked this question in
Help and Support
Replies: 1 comment 1 reply
-
|
Did you figure this out? I tried doing something like
but it didn't work either |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom label that returns {{ app_id }} which is something like "com.google.android.tvlauncher" but I want to display this as "Home" and "com.plexapp.android" as "Plex".
I can't figure out how to do an if statement in the custom label field that would do the trick. So far everything I have tried just breaks the button until I remove it. Basically I have button that switch my TV inputs but I want the label to display what app is open of if "TV" is showing. TV will be any source/app that isn't a known app.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions