More KWGT Widget Update options

I'd love to see more KWGT update options, for example an option that only updates every second when music is playing and every 5 seconds otherwise. Screenshot below.

$if(mi(state)=PLAYING, up(1), up(5))$

$if(music (is) = PLAYING, then UPdate (every 1 seconds), otherwise UPdate (every 5 seconds)$