08-14-2018, 10:33 AM
(08-13-2018, 08:57 PM)Tim Curtis Wrote: Ya, that will cause the sql update to fail.
You can try adding the code below in playerlib.js
First find the code block that does the clock radio update
// update clock radio settings
$('.btn-clockradio-update').click(function(){
Then add .replace to the line below
Code:'ckraditem': SESSION.json['ckraditem'].replace("'", "''"),
Don't forget to refresh Browser to reload the JS.
-Tim
From my experimenting it appears that setting the clock radio does not write to the sql db if there is an apostrophe in either the file path or the track title tag.
Making the above change seems to account for apostrophes in the file path but not in the track title tag.