Midi-Out Script

hi,
short and really usefull script.

But now i have another question which is comming up to this function.
Until i use a single player to on fader the script works great, but how can i deal with cartwall players?
E.g.
start the first cartwall player-> Midi command set fader to fixed value -> Cartwall Player stop -> Midi close the fader channel.

But now i run two or more cartwall layer at same time.
The first stop command would close the fader channel.

So what i’m looking for is a function which get the actual status of a player so i can check for following condition:
If all cartwall players are stopped, then close the fader channel.

So is there a possibility to get the status from a player at each time (if i wanted) independing if this player has a status change or not?

Best regards

Peter