125 lines
4.5 KiB
JSON
125 lines
4.5 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"url": "URL of the Music Assistant server"
|
|
}
|
|
},
|
|
"manual": {
|
|
"title": "Manually add Music Assistant Server",
|
|
"description": "Enter the URL to your already running Music Assistant Server. If you do not have the Music Assistant Server running, you should install it first.",
|
|
"data": {
|
|
"url": "URL of the Music Assistant server"
|
|
}
|
|
},
|
|
"discovery_confirm": {
|
|
"description": "Do you want to add the Music Assistant Server `{url}` to Home Assistant?",
|
|
"title": "Discovered Music Assistant Server"
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_server_version": "The Music Assistant server is not the correct version",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"already_in_progress": "Configuration flow is already in progress",
|
|
"reconfiguration_successful": "Successfully reconfigured the Music Assistant integration.",
|
|
"cannot_connect": "Failed to connect",
|
|
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]"
|
|
}
|
|
},
|
|
"issues": {
|
|
"invalid_server_version": {
|
|
"title": "The Music Assistant server is not the correct version",
|
|
"description": "Check if there are updates available for the Music Assistant Server and/or integration."
|
|
}
|
|
},
|
|
"services": {
|
|
"play_media": {
|
|
"name": "Play media",
|
|
"description": "Play media on a Music Assistant player with more fine-grained control options.",
|
|
"fields": {
|
|
"media_id": {
|
|
"name": "Media ID(s)",
|
|
"description": "URI or name of the item you want to play. Specify a list if you want to play/enqueue multiple items."
|
|
},
|
|
"media_type": {
|
|
"name": "Media type",
|
|
"description": "The type of the content to play. Such as artist, album, track or playlist. Will be auto-determined if omitted."
|
|
},
|
|
"enqueue": {
|
|
"name": "Enqueue",
|
|
"description": "If the content should be played now or added to the queue."
|
|
},
|
|
"artist": {
|
|
"name": "Artist name",
|
|
"description": "When specifying a track or album by name in the Media ID field, you can optionally restrict results by this artist name."
|
|
},
|
|
"album": {
|
|
"name": "Album name",
|
|
"description": "When specifying a track by name in the Media ID field, you can optionally restrict results by this album name."
|
|
},
|
|
"radio_mode": {
|
|
"name": "Enable radio mode",
|
|
"description": "Enable radio mode to auto-generate a playlist based on the selection."
|
|
}
|
|
}
|
|
},
|
|
"play_announcement": {
|
|
"name": "Play announcement",
|
|
"description": "Play announcement on a Music Assistant player with more fine-grained control options.",
|
|
"fields": {
|
|
"url": {
|
|
"name": "URL",
|
|
"description": "URL to the notification sound."
|
|
},
|
|
"use_pre_announce": {
|
|
"name": "Use pre-announce",
|
|
"description": "Use pre-announcement sound for the announcement. Omit to use the player default."
|
|
},
|
|
"announce_volume": {
|
|
"name": "Announce volume",
|
|
"description": "Use a forced volume level for the announcement. Omit to use player default."
|
|
}
|
|
}
|
|
},
|
|
"transfer_queue": {
|
|
"name": "Transfer queue",
|
|
"description": "Transfer the player's queue to another player.",
|
|
"fields": {
|
|
"source_player": {
|
|
"name": "Source media player",
|
|
"description": "The source media player which has the queue you want to transfer. When omitted, the first playing player will be used."
|
|
},
|
|
"auto_play": {
|
|
"name": "Auto play",
|
|
"description": "Start playing the queue on the target player. Omit to use the default behavior."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"selector": {
|
|
"enqueue": {
|
|
"options": {
|
|
"play": "Play",
|
|
"next": "Play next",
|
|
"add": "Add to queue",
|
|
"replace": "Play now and clear queue",
|
|
"replace_next": "Play next and clear queue"
|
|
}
|
|
},
|
|
"media_type": {
|
|
"options": {
|
|
"artist": "Artist",
|
|
"album": "Album",
|
|
"track": "Track",
|
|
"playlist": "Playlist",
|
|
"radio": "Radio"
|
|
}
|
|
}
|
|
}
|
|
}
|