mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
thumb audio pretending to be video
This commit is contained in:
parent
8d4363d147
commit
1066dc3908
|
|
@ -789,6 +789,10 @@ class ThumbSrv(object):
|
|||
if not ret:
|
||||
return
|
||||
|
||||
if "vc" not in ret and "ac" in ret:
|
||||
# audio in a video trenchcoat
|
||||
return self.conv_spec(abspath, tpath, fmt, vn)
|
||||
|
||||
ext = abspath.rsplit(".")[-1].lower()
|
||||
if ext in ["h264", "h265"] or ext in self.fmt_ffi:
|
||||
seek: list[bytes] = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue