diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-02-12 15:36:56 +1100 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-02-12 15:36:56 +1100 |
| commit | 9512bd97bbac48fa33339cc248c76070063bbc61 (patch) | |
| tree | 00ecbfecf5961954a7f7e349a73ab0ba52e90d88 /luals-stubs | |
| parent | 679521d8e37171e8698d618fca9a7908348c429f (diff) | |
| download | tangara-fw-9512bd97bbac48fa33339cc248c76070063bbc61.tar.gz | |
Add buttons for shuffle + repeat track
Diffstat (limited to 'luals-stubs')
| -rw-r--r-- | luals-stubs/queue.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/luals-stubs/queue.lua b/luals-stubs/queue.lua index ece99c69..08247799 100644 --- a/luals-stubs/queue.lua +++ b/luals-stubs/queue.lua @@ -5,6 +5,7 @@ --- @field position Property The index in the queue of the currently playing track. This may be zero if the queue is empty. Writeable. --- @field size Property The total number of tracks in the queue, including tracks which have already been played. --- @field replay Property Whether or not the queue will be restarted after the final track is played. Writeable. +--- @field repeat_track Property Whether or not the current track will repeat indefinitely. Writeable. --- @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 = {} |
