my Feature request -
Currently there is no way to generate HTML from PAL. I'm not talking about the THttpClient, since it has no way of listening (like sockets.io, or the like).
Can you add the FTP functionality to the object list in your PAL engine? I want Tools > Generate > HTML to be a thing that PAL can do. -------------------------------------------------------------------
my reason for asking -
I would like to automatically fire off (generate) a new html (or JSON) template any/every time a successful request is added to the bottom of the queue. I can get PAL to poll the database requestlist length at intervals. Or, even if I just fired the generate command at 10 second intervals, the JSON file is so quick to transport, the performance cost is negligible.
Currently, when a user makes a successful request on the frontend, I force the song to the bottom of the queue programmatically, then the JSON file is over written/updated on SAM at song change.
Undesirable things can happen. - A user will see their request immediately on the bottom of the queue, which is necessary user feedback. If 1, 2, 10, 20 people make requests during the same song, they only see their 1 song added to the queue. When FTP is generated on song change, they now may see that their song is not #11 in the queue, but rather #22.... not good user feedback/experience.
|