Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Some songs will not remain set as clock radio
#3
(08-13-2018, 06:25 PM)Tim Curtis Wrote: Hi,

I would start by first examining the sql values which are written when you update clock radio.

Code:
sqlite3 /var/local/www/db/moode-sqlite3.db "select param, value from cfg_system where param='ckradname' or param='ckraditem'"

Then have a look at the code.

In file below search for "setforclockradio" and "clockradio-update"
/var/www/js/playerlib/js

In file below search for "getplitemfile"
/var/www/command/moode.php

-Tim

It appears that the new clock radio setting is never written to the sql db. However the UI shows the change in the panel. When the UI is reloaded the old setting is shown in the panel which makes sense if it is the value in the db.
Reply


Messages In This Thread
RE: Some songs will not remain set as clock radio - by FizzyTea - 08-13-2018, 08:08 PM

Forum Jump: