diff --git a/copyparty/__version__.py b/copyparty/__version__.py index f0df2b46..b1ca09cd 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (0, 11, 13) +VERSION = (0, 11, 14) CODENAME = "the grid" -BUILD_DT = (2021, 6, 12) +BUILD_DT = (2021, 6, 14) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/th_srv.py b/copyparty/th_srv.py index 902eac6a..539d6ad2 100644 --- a/copyparty/th_srv.py +++ b/copyparty/th_srv.py @@ -185,7 +185,7 @@ class ThumbSrv(object): break with cond: - cond.wait() + cond.wait(3) try: st = os.stat(tpath) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index ea46f113..3ffae588 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -804,7 +804,6 @@ html.light #ghead { content: '📂'; line-height: 0; font-size: 2em; - display: inline-block; margin: -.7em .1em -.5em -.3em; } #ggrid a:hover { diff --git a/docs/notes.sh b/docs/notes.sh index 66b191ee..19ae9221 100644 --- a/docs/notes.sh +++ b/docs/notes.sh @@ -86,6 +86,9 @@ var t=[]; var b=document.location.href.split('#')[0].slice(0, -1); document.quer # get the size and video-id of all youtube vids in folder, assuming filename ends with -id.ext, and create a copyparty search query find -maxdepth 1 -printf '%s %p\n' | sort -n | awk '!/-([0-9a-zA-Z_-]{11})\.(mkv|mp4|webm)$/{next} {sub(/\.[^\.]+$/,"");n=length($0);v=substr($0,n-10);print $1, v}' | tee /dev/stderr | awk 'BEGIN {p="("} {printf("%s name like *-%s.* ",p,$2);p="or"} END {print ")\n"}' | cat >&2 +# unique stacks in a stackdump +f=a; rm -rf stacks; mkdir stacks; grep -E '^#' $f | while IFS= read -r n; do awk -v n="$n" '!$0{o=0} o; $0==n{o=1}' <$f >stacks/f; h=$(sha1sum