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.addDirectoryToQueue",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Add directory to the player's queue",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "directory"
12 ],
13 "properties": {
14 "playerId": {
15 "type": "string"
16 },
17 "directory": {
18 "type": "string",
19 "description": "The directory to add to the queue"
20 },
21 "position": {
22 "type": "integer",
23 "description": "Position in the queue to insert the directory at, defaults to the end if not specified"
24 },
25 "shuffle": {
26 "type": "boolean",
27 "description": "Whether to shuffle the added directory in the queue"
28 }
29 }
30 }
31 }
32 }
33}