LG WebOS Source - Separate YouTube & YouTube Music

Hello,

Is it possible to determine weather I’m running YouTube or YouTube Music in an automation? I’m currently running an automation that acts differently depending on weather the source is YouTube or Spotify but am now thinking about switching to YouTube Music instead but want to make sure I can keep this automation. The TV in question is a LG C2 if that matters

Thanks in advance

No one that has any ideas?

I’ve looked around in HA and the TV itself doesn’t seem to have any attribute that determines that as it just says YouTube. Are there any other ways for me to determine this using a plugin, script or similar? My end goal is an input boolean that says true if I watch TV and false if it’s turned of, idling or listening to music through YouTube music.