e2002 / yoradio

Web-radio based on ESP32-audioI2S library
GNU General Public License v3.0
423 stars 108 forks source link

Autoplay startup? #70

Open tomaszcz123 opened 9 months ago

tomaszcz123 commented 9 months ago

Is it possible to set it to auto start play after restarting?

dabu667 commented 9 months ago

You can add a (last) line in setup() function: player.sendCommand({PR_PLAY, config.store.lastStation}); This way the radio will always start on power up.

Claudiu1975 commented 9 months ago

There is an option for that in settings. I don't remember exactly the name of that, but if I recall correctly is the first toggle button