Automatically mute programmes according to a list of patterns
Back in the day when I was using wmii and listened to my favourite radio using mplayer, I had a script which muted certain programmes when they aired, e.g. /AD \d+/
, /ADBREAK/
or /George Ezra/
. Now that I’m using Unity and Shortwave, I have to mute the sound manually (luckily, my Sun Type 6 keyboard has a dedicated mute button!).
It’d be great to have something like this built-in, be it regex, glob or keyword patterns (or maybe all of them?)