1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-22 19:07:08 +00:00
Files
core/homeassistant/components/media_extractor/strings.json
Norbert Rittel dfe1921737 Improve description of media_content_type in media_extractor.play_media action (#139559)
* Improve `media_content_type` in  `media_extractor.play_media` action

In the UI the `media_content_type` field of the `media_extractor.play_media` action already presents a selector with the choices MUSIC, TVSHOW, VIDEO, EPISODE, CHANNEL or PLAYLIST MUSIC.

Therefore these can be removed from the field description to avoid any over-translation that will create an unnecessary  mismatch in the UI.

* Fix casing of  `media_extractor.play_media` action name
2025-03-01 12:12:58 +01:00

40 lines
1022 B
JSON

{
"config": {
"step": {
"user": {
"description": "[%key:common::config_flow::description::confirm_setup%]"
}
}
},
"services": {
"play_media": {
"name": "Play media",
"description": "Downloads file from given URL.",
"fields": {
"media_content_id": {
"name": "Media content ID",
"description": "The ID of the content to play. Platform dependent."
},
"media_content_type": {
"name": "Media content type",
"description": "The type of the content to play."
}
}
},
"extract_media_url": {
"name": "Get media URL",
"description": "Extract media URL from a service.",
"fields": {
"url": {
"name": "Media URL",
"description": "URL where the media can be found."
},
"format_query": {
"name": "Format query",
"description": "Youtube-dl query to select the quality of the result."
}
}
}
}
}