Open EastEriq opened 8 years ago
Update: this is how far I've got for a tentative page handling presets. It interacts with the radio (one way) giving lirc commands. Nothing great, but being some 5 years late in the game... A more clever implementation could avoid refreshing the whole page (recalling the same cgi), which takes some seconds and kB of traffic, when buttons are pressed.
Uses the script preset, included in the zip, which I dropped in /usr/sbin/.
Also included is an aborted attempt to command the spinner automatically entering a given string. Absolutely vane, only for future memory.
The attached script works on my radio; if saved as /mnt/debug/webserver/cgi-bin/radio_List_presets.cgi it naturally appears in the left frame of the welcome screen. Cosmetics may be improved, if you like it as a contribution, take.
Ref: http://iradioforum.net/forum/index.php?topic=2127.msg18979#msg18979