From b3665cc09ea0363beafc05a867c057e5c122985a Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sun, 18 Jan 2026 00:00:24 -0800 Subject: support timed status/error messages To support this, render() has been pulled out of redraw(), allowing updating the actual OSD without having to pass in the 'state' object, avoiding complexity and unnecessary computation. --- downloader.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'downloader.lua') diff --git a/downloader.lua b/downloader.lua index 7881129..c96ba7b 100644 --- a/downloader.lua +++ b/downloader.lua @@ -46,8 +46,8 @@ function mt:exec(url, file, cb) self.running = false self:exec_next() - if success and cb then - cb(url, file) + if cb then + cb(success, url, file) end end) end -- cgit v1.2.3-70-g09d2