Skip downloads directories in transcode-hevc
Files in downloads/ are still being seeded and must not be altered. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7fe1ccb8a7
commit
603ac86f0a
1 changed files with 5 additions and 0 deletions
|
|
@ -128,6 +128,11 @@ saved_bytes=0
|
|||
while IFS= read -r -d '' file; do
|
||||
total=$((total + 1))
|
||||
|
||||
# Never touch files in downloads directories (still being seeded)
|
||||
if [[ "$file" == */downloads/* ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
# Skip if already processed
|
||||
if is_done "$file"; then
|
||||
skipped_done=$((skipped_done + 1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue