forge
Explore
Log in

Don't you dare go Hollow

Leave the editor's own *.export*.mp4 artifacts out of the real-library manifest

Browse files at this commit

f9940e1ef5d0d78cfbf20bf897c8c9a7f72ca09fAhmet Kaan GümüşParent: fb8eddb
  • fix
    • leave the editor's own *.export*.mp4 artifacts out of the real-library manifest
Show full message
fix(scan): leave the editor's own *.export*.mp4 artifacts out of the real-library manifest
scripts/scan-real-library.shmodified+1 -1
@@ -81,7 +81,7 @@ nerr=0
81 "${vpix:--}" "${vbits:--}" "${acodecs:--}" "${duration:--}" \81 "${vpix:--}" "${vbits:--}" "${acodecs:--}" "${duration:--}" \
82 "$(stat -c %s -- "$f")"82 "$(stat -c %s -- "$f")"
83 n=$((n + 1))83 n=$((n + 1))
84- done < <(find "${DIRS[@]}" -type f \( "${find_args[@]}" \) -print0 2>/dev/null)84+ done < <(find "${DIRS[@]}" -type f \( "${find_args[@]}" \) ! -name "*.export*.mp4" -print0 2>/dev/null)
85 } >"$tmp"85 } >"$tmp"
86 86
87 mv -- "$tmp" "$OUT"87 mv -- "$tmp" "$OUT"