It’s been a while since my last post, but as it’s that time of year again, I’d like to share a small automation with you.
The automation itself is still the quick-and-dirty version that has been running for a few years now. I have always wanted to refine it and share it with the community, but, as we all know, that refinement won’t happen any time soon.
What does the automation do?
As soon as a new song is played and has ‘last christmas’ in it’s title and the player is master, the song will be skipped.
For me, at least, this has helped to preserve some of my sanity during this time of year.
The condition if the player is master is SONOS specific, removing this should enable the automation also for other media players.
YAML
Just exchange ‘media_player.sonos_wohnzimmer’ with your player ID
@tom_l
Thanks - Just out of curiosity, performance wise it won’t make a real difference as the Automation is still triggered with every title change, just way more cleaner - or do I overlook something?
@IOT7712
Theoretically, every song can be skipped as long as the string to match is in the title. One thing I had in the back in my head since I’d created the automation was also to try to match against an array of multiple strings.