mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
s/cover/folder/g
This commit is contained in:
parent
d53c212516
commit
f156e00064
|
@ -181,6 +181,8 @@ click `[-]` and `[+]` to adjust the size, and the `[a]` toggles if the tree shou
|
|||
|
||||
it does static images with Pillow and uses FFmpeg for video files, so you may want to `--no-thumb` or maybe just `--no-vthumb` depending on how destructive your users are
|
||||
|
||||
images named `folder.jpg` and `folder.png` become the thumbnail of the folder they're in
|
||||
|
||||
|
||||
## zip downloads
|
||||
|
||||
|
|
|
@ -1539,7 +1539,7 @@ class HttpCli(object):
|
|||
th_fmt = self.uparam.get("th")
|
||||
if th_fmt is not None:
|
||||
if is_dir:
|
||||
for fn in ["cover.png", "cover.jpg"]:
|
||||
for fn in ["folder.png", "folder.jpg"]:
|
||||
fp = os.path.join(abspath, fn)
|
||||
if os.path.exists(fp):
|
||||
vrem = "{}/{}".format(vrem.rstrip("/"), fn)
|
||||
|
@ -1547,7 +1547,7 @@ class HttpCli(object):
|
|||
break
|
||||
|
||||
if is_dir:
|
||||
return self.tx_ico("/")
|
||||
return self.tx_ico("a.folder")
|
||||
|
||||
thp = None
|
||||
if self.thumbcli:
|
||||
|
|
|
@ -48,7 +48,6 @@ function MPlayer() {
|
|||
this.au = null;
|
||||
this.au_native = null;
|
||||
this.au_ogvjs = null;
|
||||
this.cover_url = '';
|
||||
this.tracks = {};
|
||||
this.order = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue