diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-08-29 15:20:22 +1000 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-08-29 15:20:22 +1000 |
| commit | 96a224c0df4f647b3e5dbbcbbedad3a1d38470ba (patch) | |
| tree | 8960865293dde6f9844b7b1a42d5775d5dceceb2 /luals-stubs/queue.lua | |
| parent | 3421bd652c39b253872e43d3b6e43664bd0b66e2 (diff) | |
| download | tangara-fw-96a224c0df4f647b3e5dbbcbbedad3a1d38470ba.tar.gz | |
Lua API improvements and fixes
Co-authored-by: jacqueline <me@jacqueline.id.au>
Diffstat (limited to 'luals-stubs/queue.lua')
| -rw-r--r-- | luals-stubs/queue.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
