mirror of
https://github.com/9001/copyparty.git
synced 2025-09-28 12:42:26 -06:00
audio-thumb as folder-thumb; closes #691
This commit is contained in:
parent
0b3939002d
commit
0b50fde305
|
@ -91,6 +91,9 @@ ICV_EXTS = set(zsg.split(","))
|
||||||
zsg = "3gp,asf,av1,avc,avi,flv,m4v,mjpeg,mjpg,mkv,mov,mp4,mpeg,mpeg2,mpegts,mpg,mpg2,mts,nut,ogm,ogv,rm,vob,webm,wmv"
|
zsg = "3gp,asf,av1,avc,avi,flv,m4v,mjpeg,mjpg,mkv,mov,mp4,mpeg,mpeg2,mpegts,mpg,mpg2,mts,nut,ogm,ogv,rm,vob,webm,wmv"
|
||||||
VCV_EXTS = set(zsg.split(","))
|
VCV_EXTS = set(zsg.split(","))
|
||||||
|
|
||||||
|
zsg = "aif,aiff,alac,ape,flac,m4a,mp3,oga,ogg,opus,tak,tta,wav,wma,wv"
|
||||||
|
ACV_EXTS = set(zsg.split(","))
|
||||||
|
|
||||||
zsg = "nohash noidx xdev xvol"
|
zsg = "nohash noidx xdev xvol"
|
||||||
VF_AFFECTS_INDEXING = set(zsg.split(" "))
|
VF_AFFECTS_INDEXING = set(zsg.split(" "))
|
||||||
|
|
||||||
|
@ -1483,7 +1486,7 @@ class Up2k(object):
|
||||||
unreg: list[str] = []
|
unreg: list[str] = []
|
||||||
files: list[tuple[int, int, str]] = []
|
files: list[tuple[int, int, str]] = []
|
||||||
fat32 = True
|
fat32 = True
|
||||||
cv = vcv = ""
|
cv = vcv = acv = ""
|
||||||
|
|
||||||
th_cvd = self.args.th_coversd
|
th_cvd = self.args.th_coversd
|
||||||
th_cvds = self.args.th_coversd_set
|
th_cvds = self.args.th_coversd_set
|
||||||
|
@ -1593,9 +1596,11 @@ class Up2k(object):
|
||||||
cv = iname
|
cv = iname
|
||||||
elif not vcv and ext in VCV_EXTS and not iname.startswith("."):
|
elif not vcv and ext in VCV_EXTS and not iname.startswith("."):
|
||||||
vcv = iname
|
vcv = iname
|
||||||
|
elif not acv and ext in ACV_EXTS and not iname.startswith("."):
|
||||||
|
acv = iname
|
||||||
|
|
||||||
if not cv:
|
if not cv:
|
||||||
cv = vcv
|
cv = vcv or acv
|
||||||
|
|
||||||
if not self.args.no_dirsz:
|
if not self.args.no_dirsz:
|
||||||
tnf += len(files)
|
tnf += len(files)
|
||||||
|
|
Loading…
Reference in a new issue