A decentralized music tracking and discovery platform built on AT Protocol 馃幍
at fix/spotify 34 lines 955 B view raw
1amends "../../schema/lexicon.pkl" 2 3lexicon = 1 4id = "app.rocksky.player.addItemsToQueue" 5defs = new Mapping<String, Procedure> { 6 ["main"] { 7 type = "procedure" 8 description = "Add items to the player's queue" 9 parameters { 10 type = "params" 11 required = List("items") 12 properties { 13 ["playerId"] = new StringType { 14 type = "string" 15 } 16 ["items"] = new Array { 17 type = "array" 18 items = new StringType { 19 type = "string" 20 description = "List of file identifiers to add to the queue" 21 } 22 } 23 ["position"] = new IntegerType { 24 type = "integer" 25 description = "Position in the queue to insert the items at, defaults to the end if not specified" 26 } 27 ["shuffle"] = new BooleanType { 28 type = "boolean" 29 description = "Whether to shuffle the added items in the queue" 30 } 31 } 32 } 33 } 34}