2024-06-22 04:19:39 -04:00
{
"$id" : "https://cdn.00dani.me/m/schemata/mpd-now-playable/config-v1.json" ,
"$schema" : "http://json-schema.org/draft-07/schema#" ,
"additionalProperties" : false ,
"definitions" : {
"URL" : {
"format" : "uri" ,
"type" : "string"
}
} ,
"properties" : {
"$schema" : {
"$ref" : "#/definitions/URL"
} ,
"cache" : {
2024-06-22 06:12:23 -04:00
"allOf" : [
{
"$ref" : "#/definitions/URL"
}
] ,
"description" : "A URL describing a cache service for mpd-now-playable to use. Supported protocols are memory://, redis://, and memcached://."
2024-06-22 04:19:39 -04:00
} ,
"mpd" : {
"additionalProperties" : false ,
"default" : {
"host" : "127.0.0.1" ,
"port" : 6600
} ,
"properties" : {
"host" : {
"default" : "127.0.0.1" ,
2024-06-22 06:12:23 -04:00
"description" : "The hostname or IP address of your MPD server. If you're running MPD on your local machine, you don't need to configure this." ,
2024-06-22 04:19:39 -04:00
"format" : "hostname" ,
"type" : "string"
} ,
"password" : {
2024-06-22 06:12:23 -04:00
"description" : "The password required to connect to your MPD instance, if you need one." ,
2024-06-22 04:19:39 -04:00
"type" : "string"
} ,
"port" : {
"default" : 6600 ,
2024-06-22 06:12:23 -04:00
"description" : "The port on which to connect to MPD. Unless you're managing multiple MPD servers on one machine for some reason, you probably haven't changed this from the default port, 6600." ,
2024-06-22 04:19:39 -04:00
"maximum" : 65535 ,
"minimum" : 1 ,
"type" : "integer"
}
} ,
"type" : "object"
}
} ,
"type" : "object"
}