order-significant --th-covers;

the first matching filename as listed in the
`--th-covers` global-option will always be selected
This commit is contained in:
ed 2024-07-13 00:54:38 +02:00
parent d5de3f2fe0
commit 1cdb170290
4 changed files with 44 additions and 12 deletions

View file

@ -135,7 +135,7 @@ class Cfg(Namespace):
ex = "grp on403 on404 xad xar xau xban xbd xbr xbu xiu xm"
ka.update(**{k: [] for k in ex.split()})
ex = "exp_lg exp_md th_coversd"
ex = "exp_lg exp_md"
ka.update(**{k: {} for k in ex.split()})
ka.update(ka0)
@ -163,6 +163,9 @@ class Cfg(Namespace):
sort="href",
srch_hits=99999,
th_covers=["folder.png"],
th_coversd=["folder.png"],
th_covers_set=set(["folder.png"]),
th_coversd_set=set(["folder.png"]),
th_crop="y",
th_size="320x256",
th_x3="n",