Toggling between activities

Hello!
I am still digging into how to handle the different sound and image setups on my system. I have several “modes” :

  • TV : sound through av receiver set as zone 2 (rear speakers only) and image on TV set
  • Music : sound through audiophile DAC and image on TV set
  • Theater : sound on av receiver set as multichannel 7.1 and image on projector
    In all modes, the UI is the same as Kodi is my only source.

This can be addressed creating one activity per mode. My concern is that these activities should be “exclusive” from each other: when one activity is set to ON, other activities should turn to OFF. I could achieve this by triggering the “Off sequence” of other activities but only the "On sequence’ (or Start sequence) is available.

Any trick to achieve this?

1 Like

This will probably be possible with activity groups: Activity groups · Issue #64 · unfoldedcircle/feature-and-bug-tracker · GitHub

1 Like

I guess not but just in case: as workaround, can’t you add the ‘turn off’ steps to the turn on sequence?
Something like:
Tv on
Receiver zone 1 on
Receiver zone 1 source bladiebla
Receiver zone 2 off
Receiver zone 3 off
Projector off

Or is that not possible, or creates some new issues?

Of course this is what I did. But the point is that the “other” activity remains ON in the UI. There should be a way to have a “UI command” to change the activity state

Ok, clear.