1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
William Wilgus 2020-09-27 10:19:30 -04:00 committed by William Wilgus
parent 201e9bcde8
commit 018e0051bc
2 changed files with 460 additions and 0 deletions

View file

@ -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 = {}