Skip to content

Reciva Presets work unreliably after editing with Sharpfin #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
m-z-b opened this issue Mar 6, 2022 · 0 comments
Open

Reciva Presets work unreliably after editing with Sharpfin #53

m-z-b opened this issue Mar 6, 2022 · 0 comments

Comments

@m-z-b
Copy link

m-z-b commented Mar 6, 2022

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 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant