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