Sound Output detection

Hello, user with no programming experience here.
I’m currently using activitywatch on linux mint and I’m wondering if there’s a way to disable afk-detection as long as the computer outputs sound or to include sound output in the criteria that the afk-watcher uses to determine if the user is afk.

The architecture of ActivityWatch allows this, but is not supported today so programming experience would be needed to fix it.

There’s an old change for the web-ui which never got merged which allowed to set not-afk when the active tab in firefox/chrome has sound playing, but that change is far from finished and is now getting outdated.