From 96a224c0df4f647b3e5dbbcbbedad3a1d38470ba Mon Sep 17 00:00:00 2001 From: ailurux Date: Thu, 29 Aug 2024 15:20:22 +1000 Subject: Lua API improvements and fixes Co-authored-by: jacqueline --- luals-stubs/queue.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'luals-stubs/queue.lua') diff --git a/luals-stubs/queue.lua b/luals-stubs/queue.lua index 895b4c78..97583587 100644 --- a/luals-stubs/queue.lua +++ b/luals-stubs/queue.lua @@ -13,10 +13,10 @@ --- @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 = {} ---- Adds the given track or database iterator to the end of the queue. Database +--- Adds the given track, database iterator, or file to the end of the queue. Database --- iterators passed to this method will be unnested and expanded into the track --- ids they contain. ---- @param val TrackId|Iterator +--- @param val TrackId|Iterator|string function queue.add(val) end --- Opens a playlist file from a filepath -- cgit v1.2.3