* Fix incorrect types of test data structures * Loosen MIME-type filtering for async_browse_media * Add option to not filter results when browsing media Some devices do not report all that they support, and in this case filtering will hide media that's actually playable. Most devices are OK, though, and it's better to hide what they can't play. Add an option, off by default, to show all media. * Fix linting issues
56 lines
1.9 KiB
JSON
56 lines
1.9 KiB
JSON
{
|
|
"config": {
|
|
"flow_title": "{name}",
|
|
"step": {
|
|
"user": {
|
|
"title": "Discovered DLNA DMR devices",
|
|
"description": "Choose a device to configure or leave blank to enter a URL",
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]"
|
|
}
|
|
},
|
|
"manual": {
|
|
"title": "Manual DLNA DMR device connection",
|
|
"description": "URL to a device description XML file",
|
|
"data": {
|
|
"url": "[%key:common::config_flow::data::url%]"
|
|
}
|
|
},
|
|
"import_turn_on": {
|
|
"description": "Please turn on the device and click submit to continue migration"
|
|
},
|
|
"confirm": {
|
|
"description": "[%key:common::config_flow::description::confirm_setup%]"
|
|
}
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"alternative_integration": "Device is better supported by another integration",
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"discovery_error": "Failed to discover a matching DLNA device",
|
|
"incomplete_config": "Configuration is missing a required variable",
|
|
"non_unique_id": "Multiple devices found with the same unique ID",
|
|
"not_dmr": "Device is not a supported Digital Media Renderer"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"not_dmr": "Device is not a supported Digital Media Renderer"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "DLNA Digital Media Renderer configuration",
|
|
"data": {
|
|
"listen_port": "Event listener port (random if not set)",
|
|
"callback_url_override": "Event listener callback URL",
|
|
"poll_availability": "Poll for device availability",
|
|
"browse_unfiltered": "Show incompatible media when browsing"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_url": "Invalid URL"
|
|
}
|
|
}
|
|
}
|