Simple Alexa skill to return first result of YouTube search query and play on a smart TV.
- flask framework
- flask-ask
- Google API Key
- HTTPS enabled server (I do a reverse proxy from my VPS to my Rapsberry Py)
- Device on the same network as the smart TV
youtube
{
"intents": [
{
"intent": "PlayYoutube",
"slots": [
{
"name": "Query",
"type": "QUERY"
}
]
}
]
}
Name: Query
Values:
bread
none left
small big red
red black blue ticket
PlayYoutube {Query}
PlayYoutube to play {Query}
PlayYoutube to find {Query}