This script is highly specific to how I run my home audio system, but it could be a lot more flexible. The configuration file should express three concepts:
Streams to watch
Clients to care about
Rules
That would allow us to build a more flexible system, and specify what to do for undefined situations (eg: if a group exists with a configured client but doesn't match a rule, what should be done? Leave it alone? Forcibly move it? To where? etc).
This script is highly specific to how I run my home audio system, but it could be a lot more flexible. The configuration file should express three concepts:
That would allow us to build a more flexible system, and specify what to do for undefined situations (eg: if a group exists with a configured client but doesn't match a rule, what should be done? Leave it alone? Forcibly move it? To where? etc).