mirror of
https://github.com/9001/copyparty.git
synced 2026-10-05 22:04:38 +01:00
thumb audio pretending to be video
This commit is contained in:
@@ -789,6 +789,10 @@ class ThumbSrv(object):
|
|||||||
if not ret:
|
if not ret:
|
||||||
return
|
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()
|
ext = abspath.rsplit(".")[-1].lower()
|
||||||
if ext in ["h264", "h265"] or ext in self.fmt_ffi:
|
if ext in ["h264", "h265"] or ext in self.fmt_ffi:
|
||||||
seek: list[bytes] = []
|
seek: list[bytes] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user