mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
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:
parent
201e9bcde8
commit
018e0051bc
2 changed files with 460 additions and 0 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue