Files
HomeAssistance/custom_components/spotifyplus/sentences/en/spotifyplus_SearchPlayControl_en.yaml
T
2026-06-05 22:34:31 -04:00

168 lines
9.5 KiB
YAML

# ============================================================================
# SpotifyPlus integration intent custom sentence and response definitions.
#
# Language: en, English
# Intent: SpotifyPlusSearchPlayControl
# Location: custom_sentences/en/spotifyplus_SearchPlayControl_en.yaml
# ============================================================================
language: en
intents:
SpotifyPlusSearchPlayControl:
data:
- sentences:
# this sentence template should be used when multiple terms are required.
- "spotify play {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) (podcast|pod cast|show) {freeform:criteria_arg_2}"
- "spotify play {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) artist {freeform:criteria_arg_2}"
- "play spotify {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) (podcast|pod cast|show) {freeform:criteria_arg_2}"
- "play spotify {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) artist {freeform:criteria_arg_2}"
# this sentence template should be used when single terms are required.
- "spotify play {spotifyplus_search_play_control_single}"
- "spotify play {spotifyplus_search_play_control_single} (by|for) artist {freeform:criteria_arg_1}"
- "spotify play {spotifyplus_search_play_control_single} {freeform:criteria_arg_1} [{latest_episode}]"
- "play spotify {spotifyplus_search_play_control_single}"
- "play spotify {spotifyplus_search_play_control_single} (by|for) artist {freeform:criteria_arg_1}"
- "play spotify {spotifyplus_search_play_control_single} {freeform:criteria_arg_1} [{latest_episode}]"
# Base sentence phrases for this intent.
# This sentence is recognized when a name / area is NOT provided in the spoken command.
# In this case, the first active SpotifyPlus media player is used.
# __Example Phrases - Default Player__
# - "spotify play artist album Take Everything by artist Seventh Day Slumber"
# - "play spotify artist album Take Everything by artist Seventh Day Slumber"
# - "spotify play artist track I Need You by artist Seventh Day Slumber"
# - "play spotify artist track I Need You by artist Seventh Day Slumber"
# - "spotify play episode Kurt Russell for podcast Armchair Expert with Dax Shepard"
# - "play spotify episode Kurt Russell for podcast Armchair Expert with Dax Shepard"
# - "spotify play favorite tracks for artist test artist list entry"
# - "play spotify favorite tracks for artist test artist list entry"
# - "spotify play favorite tracks for artist Jeremy Camp"
# - "play spotify favorite tracks for artist Jeremy Camp"
# - "spotify play favorite tracks"
# - "play spotify favorite tracks"
# - "spotify play audiobook Test Audiobook List Entry"
# - "play spotify audiobook Test Audiobook List Entry"
# - "spotify play audiobook The Elfstones of Shannara"
# - "play spotify audiobook The Elfstones of Shannara"
# - "spotify play playlist Test Playlist List Entry"
# - "play spotify playlist Test Playlist List Entry"
# - "spotify play playlist Old Christian Contemporary"
# - "play spotify playlist Old Christian Contemporary"
# - "spotify play podcast Test Podcast List Entry"
# - "play spotify podcast Test Podcast List Entry"
# - "spotify play podcast Armchair Expert with Dax Shepard"
# - "play spotify podcast Armchair Expert with Dax Shepard"
# - "spotify play podcast Armchair Expert with Dax Shepard latest episode"
# - "play spotify podcast Armchair Expert with Dax Shepard latest episode"
# - "spotify play track Test Track List Entry"
# - "play spotify track Test Track List Entry"
# - "spotify play track More Of You"
# - "play spotify track More Of You"
slots:
name: "Spotify Premium" # default media player alias.
delay: 0.50
device_name: "*"
latest_episode: "off"
limit_total: 200
player_shuffle_mode: "off"
response: default
- sentences:
# this sentence template should be used when multiple terms are required.
- "spotify play {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) (podcast|pod cast|show) {freeform:criteria_arg_2} <on_spotifyplus_player_name>"
- "spotify play {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) artist {freeform:criteria_arg_2} <on_spotifyplus_player_name>"
- "play spotify {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) (podcast|pod cast|show) {freeform:criteria_arg_2} <on_spotifyplus_player_name>"
- "play spotify {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) artist {freeform:criteria_arg_2} <on_spotifyplus_player_name>"
# this sentence template should be used when single terms are required.
- "spotify play {spotifyplus_search_play_control_single} <on_spotifyplus_player_name>"
- "spotify play {spotifyplus_search_play_control_single} (by|for) artist {freeform:criteria_arg_1} <on_spotifyplus_player_name>"
- "spotify play {spotifyplus_search_play_control_single} {freeform:criteria_arg_1} [{latest_episode}] <on_spotifyplus_player_name>"
- "play spotify {spotifyplus_search_play_control_single} <on_spotifyplus_player_name>"
- "play spotify {spotifyplus_search_play_control_single} (by|for) artist {freeform:criteria_arg_1} <on_spotifyplus_player_name>"
- "play spotify {spotifyplus_search_play_control_single} {freeform:criteria_arg_1} [{latest_episode}] <on_spotifyplus_player_name>"
# This sentence is recognized when a player name is provided in the spoken
# command (e.g. "on player Spotify Premium", "on Todds player", etc).
# Supports the same base sentence phrases for this intent.
# __Example Phrases - By Player Name__
# - "spotify play artist track I Need You by artist Seventh Day Slumber on player spotify premium"
# - "spotify play track Test Track List Entry on player spotify premium"
# - "spotify play track More Of You on player spotify premium"
slots:
name: ""
delay: 0.50
device_name: "*"
latest_episode: "off"
limit_total: 200
player_shuffle_mode: "off"
response: default
- sentences:
# this sentence template should be used when multiple terms are required.
- "spotify play {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) (podcast|pod cast|show) {freeform:criteria_arg_2} <in_spotifyplus_player_area>"
- "spotify play {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) artist {freeform:criteria_arg_2} <in_spotifyplus_player_area>"
- "play spotify {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) (podcast|pod cast|show) {freeform:criteria_arg_2} <in_spotifyplus_player_area>"
- "play spotify {spotifyplus_search_play_control_multi} {freeform:criteria_arg_1} (by|for) artist {freeform:criteria_arg_2} <in_spotifyplus_player_area>"
# this sentence template should be used when single terms are required.
- "spotify play {spotifyplus_search_play_control_single} <in_spotifyplus_player_area>"
- "spotify play {spotifyplus_search_play_control_single} (by|for) artist {freeform:criteria_arg_1} <in_spotifyplus_player_area>"
- "spotify play {spotifyplus_search_play_control_single} {freeform:criteria_arg_1} [{latest_episode}] <in_spotifyplus_player_area>"
- "play spotify {spotifyplus_search_play_control_single} <in_spotifyplus_player_area>"
- "play spotify {spotifyplus_search_play_control_single} (by|for) artist {freeform:criteria_arg_1} <in_spotifyplus_player_area>"
- "play spotify {spotifyplus_search_play_control_single} {freeform:criteria_arg_1} [{latest_episode}] <in_spotifyplus_player_area>"
# This sentence is recognized when a player area is provided in the spoken
# command (e.g. "in the Living Room area", "in the Living Room", etc).
# Supports the same base sentence phrases for this intent.
# __Example Phrases - By Player Area__
# - "spotify play artist track I Need You by artist Seventh Day Slumber in the Office area"
# - "spotify play track Test Track List Entry in the Office area"
# - "spotify play track More Of You in the Office area"
slots:
area: ""
name: ""
delay: 0.50
device_name: "*"
latest_episode: "off"
limit_total: 200
player_shuffle_mode: "off"
response: default
# ============================================================================
# Custom response definitions for THIS intent.
# Note - Shared responses for all intents are stored in the Common file.
# ============================================================================
responses:
intents:
SpotifyPlusSearchPlayControl:
default: "" # not used - see common `play_xxxxx` message.