Works perfect! Also, just discovered yesterday that XY's virtual folders allow a better way for me to view all these incoming <jpeg> files with some filter options too and layouts that can remain the same when compared to when you have multiple search templates for different things.
Also, although the NVR has tagging and storage management options, their tagging is proprietary to their system and you then have to view the files within their console which for me is not ideal. Their tagging allow for predetermined tags and tagging things such as motion, vehicle, person, package and so on, but thankfully they at least allow to setup folders on my system where they will then place motion files in a motion folder, vehicle files in a vehicle folder and so on. So I can definitely see XY complimenting a software NVR setup very well.
Question on
$delAfter = 31; // Day value
if I change the day value to 0.5 will that set it to 12 hours?