Thank you!
I will try this as I also was using that python program you mention.
I did manage to work around the problem of not being able to cast to the group by just spawning multiple cmd processes, each one casting to a separate chromecast.
But I would much rather just cast once to the group.