If you observe the problem that sometimes the preset buttons / remote go to the wrong place, the problem may be how sharpfin updates the presets stored in /root/config/presetXX.xml.
In/mnt/debug/webserver/cgi-bin, the files control_Presets.cgi and Presets_edit.cgi both have a line in them similar to:
LINE1="<preset type='PresetType:Internet' id='$PLACE'><station id='3801'>
This makes all presets edited through Shapfin have the same station id; the radio then gets confused when changing presets.
If you change this line of code to:
LINE1="<preset type='PresetType:Internet' id='$PLACE'><station id='99$PLACE'>
Each edited preset will get a unique station id, and after you've edited each preset the preset buttons should work correctly again.
(I'm assuming anyone who reads this knows how to login to their radio and view/edit the relevant files.)
I couldn't find the source files for the webserver: if anybody knows of a more suitable place to post this fix so that it can be found by someone else with the same problem, please PM me.
While you are editing this, you may might want to add an /etc/hosts file which points ntp.reciva.com at your favourite NTP server too.
Not sure if this is the right place, but...
If you observe the problem that sometimes the preset buttons / remote go to the wrong place, the problem may be how sharpfin updates the presets stored in
/root/config/presetXX.xml
.In
/mnt/debug/webserver/cgi-bin
, the filescontrol_Presets.cgi
andPresets_edit.cgi
both have a line in them similar to:LINE1="<preset type='PresetType:Internet' id='$PLACE'><station id='3801'>
This makes all presets edited through Shapfin have the same station id; the radio then gets confused when changing presets.If you change this line of code to:
LINE1="<preset type='PresetType:Internet' id='$PLACE'><station id='99$PLACE'>
Each edited preset will get a unique station id, and after you've edited each preset the preset buttons should work correctly again.(I'm assuming anyone who reads this knows how to login to their radio and view/edit the relevant files.)
I couldn't find the source files for the webserver: if anybody knows of a more suitable place to post this fix so that it can be found by someone else with the same problem, please PM me.
While you are editing this, you may might want to add an
/etc/hosts
file which pointsntp.reciva.com
at your favourite NTP server too.