diff --git a/README.md b/README.md index 568b17d6..83c95464 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,7 @@ To set the state send these OSC commands from you Automation to Sisyfos Port: 52 /ch/1/mix/pgm - integer: { 0, 1 or 2 } - float { fadetime in ms } #### Set channel to PST: - +If showPFL in setting is enabled, this also sets the state of PFL /ch/1/mix/pst - integer: { 0, 1 or 2 } (the integer defines: 0 - Off, 1 - Pgm On, 2 - Voice Over) #### Mute channel: diff --git a/server/src/utils/AutomationConnection.ts b/server/src/utils/AutomationConnection.ts index ee5af4e3..fffeef7c 100644 --- a/server/src/utils/AutomationConnection.ts +++ b/server/src/utils/AutomationConnection.ts @@ -153,6 +153,13 @@ export class AutomationConnection { pstOn: false, }) } + if ( state.settings[0].showPfl) { + store.dispatch({ + type: FaderActionTypes.SET_PFL, + faderIndex: ch - 1, + pflOn: message.args[0] > 0, + }) + } mixerGenericConnection.updateNextAux(ch - 1) }) } else if (check('CHANNEL_MUTE')) {