2024-06-22 04:19:39 -04:00
{
2024-06-30 10:10:17 -04:00
"$defs" : {
"MpdConfig" : {
2024-06-22 04:19:39 -04:00
"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" ,
2024-06-30 10:10:17 -04:00
"title" : "Host" ,
2024-06-22 04:19:39 -04:00
"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-30 10:10:17 -04:00
"format" : "password" ,
"title" : "Password" ,
"type" : "string" ,
"writeOnly" : true
2024-06-22 04:19:39 -04:00
} ,
"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 ,
2024-06-30 10:10:17 -04:00
"title" : "Port" ,
2024-06-22 04:19:39 -04:00
"type" : "integer"
}
} ,
2024-06-30 10:10:17 -04:00
"title" : "MpdConfig" ,
2024-06-22 04:19:39 -04:00
"type" : "object"
}
} ,
2024-06-30 10:10:17 -04:00
"$id" : "https://cdn.00dani.me/m/schemata/mpd-now-playable/config-v1.json" ,
"$schema" : "https://json-schema.org/draft/2020-12/schema" ,
"properties" : {
"cache" : {
"description" : "A URL describing a cache service for mpd-now-playable to use. Supported protocols are memory://, redis://, and memcached://." ,
"format" : "uri" ,
"title" : "Cache" ,
"type" : "string"
} ,
"mpd" : {
"$ref" : "#/$defs/MpdConfig"
}
} ,
"title" : "Config" ,
2024-06-22 04:19:39 -04:00
"type" : "object"
}