I made a cue system where every cue is mapped to a list of osc messages being sent to resolume. These messages start clips in certain slots. Sometimes, from one cue to the other, besides triggering new clips the currently playing clips need to stop.
This is an example of a cue stopping all currently playing and starting two:
/composition/disconnectall 1
/layer1/clip4/connect 1
/layer4/clip4/connect 1
The problem with this is it doesn't work as you would expect. There seems to be something weird going on with disconnectall. It only works if you send it last:
/layer1/clip4/connect 1
/layer4/clip4/connect 1
/composition/disconnectall 1
Or put a delay in between:
/composition/disconnectall 1
...wait
/layer1/clip4/connect 1
/layer4/clip4/connect 1

A second problem I'm experiencing, and it appears to be related, is that "connect 1" is not the same as triggering a slot with the mouse. When the targeted layer has no transition effect (T=0), the message seems to behave pretty much in the same way as clicking: the clip starts playing at position 0.
This also works in combination with disconnectall (although still you have to send disconnectall after connect):
with T=0 :
/layer1/clip4/connect 1
/composition/disconnectall 1
-> all clips stop playing
-> clip 4 triggers from position 0
My problem is that this doesn't work if you have a transition time set:
with T=0.5 :
/layer1/clip4/connect 1
/composition/disconnectall 1
-> all clips start fading out
-> clip 4 is not affected, it keeps playing at its current position
But without disconnect all it behaves the same as clicking:
with T=0.5:
/layer1/clip4/connect 1
-> clip 4 triggers from position 0
During rehearsals or setting up I often want to jump back to a cue even if it was the most recent, but this behavior means I can't trigger the same cue twice and get all the clips to start at position 0.
My workaround now is to first trigger a disconnectall separately, then wait for all the transition times to pass, and then trigger the cue again. This is of course doable, but if the above behaviour doesn't have a reasoning behind it it would be very nice to have it fixed. I would think "connect 1" should always triggers a clip consistently on the start of its playback setting, and in the same way as clicking on the slot.