(request: WSGIRequest)
Enables or disables whether mopidy should output to the cava fake device.
Enables or disables whether mopidy should output to the cava fake device.
Enables or disables whether mopidy should output to the cava fake device .
def set_feed_cava(request: WSGIRequest) -> None:
    """Enables or disables whether mopidy should output to the cava fake device."""
    enabled = request.POST.get("value") == "true"
    storage.set("feed_cava", enabled)
    # update mopidy config to apply the change
    system.update_mopidy_config("pulse")
def set_feed_cava ( request : WSGIRequest ) -> None : enabled = request . POST . get ( "value" ) == "true" storage . set ( "feed_cava" , enabled ) # update mopidy config to apply the change system . update_mopidy_config ( "pulse" )