From af9000d3c8fb58c49141835d3dbc2fff6116c76c Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 12 May 2022 23:10:54 +0200 Subject: [PATCH] v1.2.9 --- README.md | 6 +++++- copyparty/__version__.py | 4 ++-- copyparty/svchub.py | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 00b09144..7447598f 100644 --- a/README.md +++ b/README.md @@ -1175,12 +1175,16 @@ for the `re`pack to work, first run one of the sfx'es once to unpack it install [Termux](https://termux.com/) (see [ocv.me/termux](https://ocv.me/termux/)) and then copy-paste this into Termux (long-tap) all at once: ```sh -apt update && apt -y full-upgrade && termux-setup-storage && apt -y install python && python -m ensurepip && python -m pip install -U copyparty +apt update && apt -y full-upgrade && apt update && termux-setup-storage && apt -y install python && python -m ensurepip && python -m pip install --user -U copyparty echo $? ``` after the initial setup, you can launch copyparty at any time by running `copyparty` anywhere in Termux +if you want thumbnails, `apt -y install ffmpeg` + +* or if you want to use vips instead, `apt -y install libvips && python -m pip install --user -U wheel && python -m pip install --user -U pyvips && (cd /data/data/com.termux/files/usr/lib/; ln -s libgobject-2.0.so{,.0}; ln -s libvips.so{,.42})` + # reporting bugs diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 8dd0ef82..f8c52bab 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 2, 8) +VERSION = (1, 2, 9) CODENAME = "ftp btw" -BUILD_DT = (2022, 4, 30) +BUILD_DT = (2022, 5, 12) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/svchub.py b/copyparty/svchub.py index 16cb6f15..44680513 100644 --- a/copyparty/svchub.py +++ b/copyparty/svchub.py @@ -136,7 +136,7 @@ class SvcHub(object): self.broker = Broker(self) def thr_httpsrv_up(self): - time.sleep(5) + time.sleep(1 if self.args.ign_ebind_all else 5) expected = self.broker.num_workers * self.tcpsrv.nsrv failed = expected - self.httpsrv_up if not failed: