Created
September 20, 2026 09:06
-
-
Save nicomollet/6037e6746fac8331d2c3baa5ff3e0f2f to your computer and use it in GitHub Desktop.
Google home script to cast a YouTube music playlist on shuffle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| metadata: | |
| name: 🎵 Shuffle my playlist Heavy Metal | |
| description: Shuffle my playlist Heavy Metal | |
| automations: | |
| - starters: | |
| - type: assistant.event.OkGoogle | |
| eventData: query | |
| is: play heavy music | |
| actions: | |
| - type: device.command.SetVolume # Set the volume of a given device. | |
| volumeLevel: 10 | |
| devices: Google Nest Audio - Salle à manger | |
| - type: assistant.command.OkGoogle | |
| devices: Google Nest Audio - Salle à manger | |
| okGoogle: Play my playlist "Heavy Metal" on YouTube Music | |
| - type: time.delay | |
| for: 10sec | |
| - type: device.command.MediaShuffle # Shuffle the current playlist. | |
| devices: Google Nest Audio - Salle à manger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment