File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def parse_args() -> argparse.Namespace:
6363 parser .add_argument (
6464 "--source-video-bitrate" ,
6565 type = nums .human_to_bits ,
66- default = "1400kbps " ,
66+ default = "1500kbps " ,
6767 help = "Used to estimate duration when files are inside of archives or invalid" ,
6868 )
6969
@@ -239,7 +239,7 @@ def check_shrink(args, m) -> list:
239239 log .warning ("Deleting unplayable (ffprobe): %s" , m ["path" ])
240240 Path (m ["path" ]).unlink (missing_ok = True )
241241 return []
242- if m ["duration" ] is None or not m ["duration" ] > 0 :
242+ if m ["duration" ] is None or not m ["duration" ] > 0 or m [ "ext" ] in consts . SKIP_MEDIA_CHECK :
243243 log .debug ("[%s]: Invalid duration" , m ["path" ])
244244 m ["duration" ] = m ["size" ] / args .source_video_bitrate * 8
245245 is_invalid = True
You can’t perform that action at this time.
0 commit comments