mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
embedded-cover crop-control; closes #1474
This commit is contained in:
parent
4e9ad781b6
commit
926c6e814d
|
|
@ -230,11 +230,6 @@ def thumb_path(histpath: str, rem: str, mtime: float, fmt: str, ffa: set[str]) -
|
||||||
if not rd:
|
if not rd:
|
||||||
rd = "\ntop"
|
rd = "\ntop"
|
||||||
|
|
||||||
# spectrograms are never cropped; strip fullsize flag
|
|
||||||
ext = rem.split(".")[-1].lower()
|
|
||||||
if ext in ffa and fmt[:2] in ("wf", "jf", "xf"):
|
|
||||||
fmt = fmt.replace("f", "")
|
|
||||||
|
|
||||||
dcache = th_dir_cache
|
dcache = th_dir_cache
|
||||||
rd_key = rd + "\n" + fmt
|
rd_key = rd + "\n" + fmt
|
||||||
rd = dcache.get(rd_key)
|
rd = dcache.get(rd_key)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue