thumbnails: per-decoder filetype config

This commit is contained in:
ed
2022-04-10 22:59:45 +02:00
parent b64cabc3c9
commit cc4a063695
4 changed files with 52 additions and 46 deletions

View File

@@ -70,6 +70,9 @@ class HttpSrv(object):
self.cb_ts = 0
self.cb_v = 0
x = self.broker.put(True, "thumbsrv.getcfg")
self.th_cfg = x.get()
env = jinja2.Environment()
env.loader = jinja2.FileSystemLoader(os.path.join(E.mod, "web"))
self.j2 = {