Implement adding to the playback queue from lua

This commit is contained in:
jacqueline
2023-11-23 14:08:46 +11:00
parent b07bfbc6c7
commit 09c0e1608f
12 changed files with 197 additions and 42 deletions
+6 -7
View File
@@ -36,13 +36,12 @@ return function()
for id, idx in ipairs(indexes) do
local btn = menu.list:add_btn(nil, tostring(idx))
btn:onClicked(function()
legacy_ui.open_browse(id);
-- backstack.push(function()
-- return browser {
-- title = tostring(idx),
-- iterator = idx:iter()
-- }
-- end)
backstack.push(function()
return browser {
title = tostring(idx),
iterator = idx:iter()
}
end)
end)
end