prpr
Well-Known Member
I was speculating whether adding a "Queue for deletion" option to the Queue processing would be a good idea.This seems to work but as the decrypt and auto-audio are processed in the background queue and Sweeper seems to be an aynchronous background task, I'm worried that Sweeper will try to delete the original recording before the mp3 file creation is completed.
You can already do "Queue for Decrypt" and "Queue for MP3", so you could serialise an asynchronous process with 3 rules (you don't seem to be able to add more than 1 action per rule) - Decrypt, MP3, Delete - in a guaranteed order.
Yes.I've added the Age condition which I assume relates to the original .ts recording age.
It appears to, yes. The Linux OS doesn't care if one process tries to delete a file that is already in use - it remains accessible to processes that already have the file open, but not to subsequent ones, and the file is then actually deleted when the usage count drops to 0.Does anyone know if Sweeper checks whether the original file is in use before deleting or is this a lower level operating system check?
What you really need to worry about is it being deleted before the conversion has started. 2 hours seem a bit on the mean side. I would make it a day.