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
#9
(08-14-2018, 11:04 AM)Tim Curtis Wrote: The Title tag should already be handled in the code

'ckradname': SESSION.json['ckradname'].replace("'", "''"), // just in case, use escaped single quotes for sql i.e., two single quotes,

You seem to be correct about that.
I no longer think the tag is an issue.
It looks like the filename is the issue. Though I had assumed that was the same as the file path!?

My directory structure is Artist Name -> Album Name -> tracks.

The albums causing the issue have an apostrophe in the album title. Some of the tracks also have an apostrophe in the track title.

Making the edit to the code allows tracks without apostrophes in their title but contained in album directories with apostrophes to be set as clock radio. However tracks with apostrophes in the title cannot be set as clock radio.

Seeming cause - apostrophes in the mp3 filename.
Reply


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

Forum Jump: