From 018e0051bcea0ae1d6e1bda6b84940ce8508db61 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 27 Sep 2020 10:19:30 -0400 Subject: lua playback example cool little lua based audio player creates dynamic playlist of 10 mp3s found on device if no music loaded I had to limit the depth of search to 3 levels due to the recursive nature of the current dirbrowser functions this could be rectified with a bit more code fixed a bug in print.lua that kept scrolling text even after screen clear Change-Id: Ifd285332df41a409ecaeb1ea447ad15537b5d04c --- apps/plugins/lua/include_lua/print.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/plugins/lua/include_lua') diff --git a/apps/plugins/lua/include_lua/print.lua b/apps/plugins/lua/include_lua/print.lua index 5ea0423f01..3e92a155ba 100644 --- a/apps/plugins/lua/include_lua/print.lua +++ b/apps/plugins/lua/include_lua/print.lua @@ -227,6 +227,7 @@ local _print = {} do local o = get_settings(true) _LCD:clear(o.bg_pattern, o.x, o.y, o.x + o.width, o.y + o.height) if o.autoupdate == true then rb.lcd_update() end + rb.lcd_scroll_stop() set_line(1) for i=1, #col_buf do col_buf[i] = _NIL end s_lines = {} -- cgit