local helper = jarvis.context.command_path .. "\\_media_helper.ps1" local cmd = string.format( 'powershell -NoProfile -ExecutionPolicy Bypass -File "%s" -Action prev', helper ) local res = jarvis.system.exec(cmd) if res.success then jarvis.audio.play_ok() else jarvis.log("error", "media prev failed: " .. tostring(res.stderr)) jarvis.audio.play_error() end return { chain = false }