Open Neipas09 opened 1 year ago
Check your General log, it breaks down why certain source files weren't deleted. For example:
VC [10:32:31] Prepared candidates for deletion Total: 1 Eligible deletion candidates: 0 Skipped due to file being currently scanned: 1
Well i dunno what to tell ya, but hopefully this helps.
Here's all the log files from that 1 single encode, which still did NOT delete the file after encoding completed.
2023-04-01 14.20.51 General.txt 2023-04-01 14.20.57 Scan 【推しの子】 最强阴阳师的异世界转生记 - 13 (B-Global 1920x1080 HEVC AAC MKV) [CFA4328A].txt 2023-04-01 14.21.03 Encode 【推しの子】 最强阴阳师的异世界转生记 - 13 (B-Global 1920x1080 HEVC AAC MKV) [CFA4328A].mp4-succeeded.txt 2023-04-01 14.20.51 Combined.txt
And here's the exact same process as above, only I changed logging to Extended(?) or whatever the highest level is called.
2023-04-01 14.27.16 Combined.txt 2023-04-01 14.27.16 General.txt 2023-04-01 14.27.18 Scan 【推しの子】 最强阴阳师的异世界转生记 - 13 (B-Global 1920x1080 HEVC AAC MKV) [CFA4328A].txt 2023-04-01 14.27.29 Encode 【推しの子】 最强阴阳师的异世界转生记 - 13 (B-Global 1920x1080 HEVC AAC MKV) [CFA4328A]-1.mp4-succeeded.txt 2023-04-01 14.27.29 PipeServer Encode VidCoderWorker.f3bed48f-9648-4c18-b162-2ee8136ce1f0.txt
This is what I found in the logs:
VC [14:22:20] Prepared candidates for deletion Total: 1 Eligible deletion candidates: 0 Skipped due to file being currently scanned: 1
It can't delete the currently loaded video. If you close the video source before you start the queue, it should be sent to the recycle bin after it completes.
If I close the video source? What does that even mean?
Pressing this button:
The issue is that you can't delete the source file when it's open in the program.
I just tried it with encoding 2 separate video files, and neither of them were deleted. And i dragged them into vidcoder 1 at a time.
So you would think that the first video, that i dragged into vidcoder to be scanned and added to the queue, would no longer be "opened" and just the last one would be. Am i wrong to think that? Or is every file you drag into vidcoder is considered "opened" until i click that X ???
The file that's not loaded should be deleted. What does the General log say about it?
I just tried it again, and it did delete the first file scanned, but not the second. So now you just need to fix it so it deletes the 2nd file after encode completes, regardless if it's "loaded" in vidcoder or not. I have no issues deleting the 2nd file manually while it's "loaded" in vidcoder after the encode.
When the source file is deleted, it invalidates the whole source UI. None of the actions are possible anymore and probably would result in errors. That's the original reason I excluded scanned sources. I think I would need to auto-close the source in order to delete the file. That might be the better option; hopefully people would realize why the video was closed.
The way i see it, if you have "delete after encode completes" selected. Then you don't care why the last video that was scanned was closed out of vidcoder before/after the encode completes as long as the source video is deleted.
Problem Description
The source file does NOT get sent to the recycle bin after it's encoded. Doesn't matter if I encode 1 file or multiple.
These are my settings for Post-encoding.
What version of VidCoder are you running?
9.3 Beta
Encode Log