Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
979 stars 229 forks source link

Artificial delay in connecttohost() #460

Closed EFWob closed 3 years ago

EFWob commented 3 years ago

I know it was introduced by purpose, but it also delays connections to host when it is not needed. I have a project where I would like to have a fast reaction to changes on a tuning knob. There I implemented a compromise that might be considered for general release? Solution:

EFWob commented 3 years ago

To be precise, that "##" should go to the end of the _presetxx entry. Here an example (just for demonstration, that host does not need to be delayed):

preset_16 = live.helsinki.at:8088/live160.ogg # Radio Helsinki (Graz)##