Thanks!
I copied yours. The only difference is I only need to store one boolean in there.
if (!fe.nv.rawin("jukebox")) fe.nv.rawset("jukebox", false);
In jukebox mode you get music from whatever era of games are displayed (80s, 90s, etc) and the audio for all videos is turned off (Vid.NoAudio).
In non-jukebox mode you get the opposite (no music, but audio for videos is re-enabled).
The Custom1 input toggles between the two modes.
With the NV variable I can have these settings persist even when the screensaver is active.