forked from
rocksky.app/rocksky
A decentralized music tracking and discovery platform built on AT Protocol 馃幍
1{
2 "lexicon": 1,
3 "id": "app.rocksky.player.addItemsToQueue",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Add items to the player's queue",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "items"
12 ],
13 "properties": {
14 "playerId": {
15 "type": "string"
16 },
17 "items": {
18 "type": "array",
19 "items": {
20 "type": "string",
21 "description": "List of file identifiers to add to the queue"
22 }
23 },
24 "position": {
25 "type": "integer",
26 "description": "Position in the queue to insert the items at, defaults to the end if not specified"
27 },
28 "shuffle": {
29 "type": "boolean",
30 "description": "Whether to shuffle the added items in the queue"
31 }
32 }
33 }
34 }
35 }
36}