From 3f1fadbeef571a6653f5648c2b78073ddd37d169 Mon Sep 17 00:00:00 2001 From: Robin Howard Date: Sun, 21 Jan 2024 18:13:49 +1100 Subject: Plumb queue next+previous through to Lua, incl. with stubs and docs. --- luals-stubs/queue.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'luals-stubs/queue.lua') diff --git a/luals-stubs/queue.lua b/luals-stubs/queue.lua index 0c63b8c1..ece99c69 100644 --- a/luals-stubs/queue.lua +++ b/luals-stubs/queue.lua @@ -8,4 +8,7 @@ --- @field random Property Determines whether, when progressing to the next track in the queue, the next track will be chosen randomly. The random selection algorithm used is a Miller Shuffle, which guarantees that no repeat selections will be made until every item in the queue has been played. Writeable. local queue = {} +function queue.next() end +function queue.previous() end + return queue -- cgit v1.2.3