summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/lua.make
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-10-24 21:40:01 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2018-10-25 05:59:42 -0400
commite4c5f5d412d94b10545980eea0b47d98e79712da (patch)
tree407022885faeda259ab40192dd74cae1a477f3f3 /apps/plugins/lua/lua.make
parentb670fcd50d42085a2db978bbcf2ccfd889d740ef (diff)
downloadrockbox-e4c5f5d412d94b10545980eea0b47d98e79712da.zip
rockbox-e4c5f5d412d94b10545980eea0b47d98e79712da.tar.gz
rockbox-e4c5f5d412d94b10545980eea0b47d98e79712da.tar.bz2
rockbox-e4c5f5d412d94b10545980eea0b47d98e79712da.tar.xz
lua consolidate playlist_ functions
The way to call the playlist functions has changed rb.playlist("option", var) rb.playlist_add(filename) = becomes rb.playlist("add", filename) added playlist.lua to the includes for conversion to old functions if your script is broken by this change you simply add `require("playlist")` to the top for the old functionality added rb.playlist_tracks(dir, filename) to playlist.lua this will allow you to add all tracks in a playlist.m3u8 to a lua table Change-Id: I87fcc56be365d8495d214f069331b6ddbfbef1db
Diffstat (limited to 'apps/plugins/lua/lua.make')
-rw-r--r--apps/plugins/lua/lua.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/lua/lua.make b/apps/plugins/lua/lua.make
index 5931b65..ece71cc 100644
--- a/apps/plugins/lua/lua.make
+++ b/apps/plugins/lua/lua.make
@@ -16,7 +16,8 @@ LUA_OBJ := $(call c2obj, $(LUA_SRC))
OTHER_SRC += $(LUA_SRC)
LUA_INCLUDEDIR := $(LUA_SRCDIR)/include_lua
-LUA_INCLUDELIST := $(addprefix $(LUA_BUILDDIR)/,audio.lua blit.lua color.lua draw.lua image.lua lcd.lua math_ex.lua print.lua timer.lua)
+LUA_INCLUDELIST := $(addprefix $(LUA_BUILDDIR)/,audio.lua blit.lua color.lua draw.lua image.lua lcd.lua math_ex.lua print.lua timer.lua playlist.lua)
+
ifndef APP_TYPE
ifneq (,$(strip $(foreach tgt,RECORDER ONDIO,$(findstring $(tgt),$(TARGET)))))