I have a working config to send random text statements to the TTS engine. I’d like to add the ability to upload a folder full of mp3s and send a random one to a media player based on a trigger. The best method would just grab a random file from the chosen folder so I could swap files without changing the config, however, if that’s hard, I’d be OK putting specific file names into a list. Anyone done this? What would the config for something like that look like?
I want to do something similiar. Maybe some one can help?
I have a folder with some mp3 files in it. I just want to play a random song over one of my Google Home devices. Can do it trough YAML automation or Node Red.