scan for additional folder thumbnails

This commit is contained in:
ed
2021-06-30 00:19:39 +02:00
parent b4d6f4e24d
commit 0f09b98a39
3 changed files with 2 additions and 2 deletions

View File

@@ -1562,7 +1562,7 @@ class HttpCli(object):
th_fmt = self.uparam.get("th")
if th_fmt is not None:
if is_dir:
for fn in ["folder.png", "folder.jpg"]:
for fn in self.args.th_covers.split(','):
fp = os.path.join(abspath, fn)
if os.path.exists(fp):
vrem = "{}/{}".format(vrem.rstrip("/"), fn)