That's not what I was after as SWMBO only deletes the folder after watching all the recordings. I just need to prevent folder and flags being deleted so I'll implement Black Hole's suggestion. Thanks.The OP is trying to stop HWMBO deleting all the files in the folder, including the unwatched ones by deleting the series folder instead of the recording, thus deleting the folder and everything in the folder.
Wow that was scary!You need to make the file immutable to stop them being deleted.
Is there scope to add this functionality to the WebIF media browser (I suggest as an addition to the OPT+ button for folders): "Mark for no deletion"? I suggest it creates another flag file, and if present all flag files are made immutable.