]> git.plutz.net Git - serve0/blobdiff - indexmeta.sh
avoid thumb and meta generation of incomplete files
[serve0] / indexmeta.sh
index 2da085f9a0bf86fcdb630f8fd98443df7d99c423..e478324647de9c44239016b37e884095012caeca 100644 (file)
@@ -15,6 +15,7 @@ meta_name() {
 meta_line() {
   local video l w h
   video="$1"
+  [ "${video%.part}" = "$video" -a -s "$video" ] || return 0
 
   read l h w <<__EOF
   $(printf '' \