I once had this idea to Show a pop-up message from outside OP. I've started on this a year ago and now finally found some time to continue. I have to say it's working nicely, but I seem unable to disable the delay on the PNotify popup.
According to the PNotify docs, the delay should be set to Infinity to disable it. This is a snippet from my JS:
Any non-zero value will show the pop-up for that amount of milliseconds. However, when set to Infinity, it shows and directly disappears. The console.log will however show that the msg_delay variable is set to Infinity.
Anyone who has an idea on this?
If you were looking at Pnotify docs, they are most likely completely wrong - OctoPrint's version is 2.0.1, which is from 2014. There are a lot of breaking changes that make upgrading rather difficult. I think I tried at some point.