From cd9cafe3a18d34a8bf3fec56f63e479ddbd86b09 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 3 Dec 2022 20:45:49 +0000 Subject: [PATCH] v1.5.0 --- copyparty/__version__.py | 6 +++--- copyparty/httpcli.py | 7 +++++-- docs/changelog.md | 12 ++++++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/copyparty/__version__.py b/copyparty/__version__.py index f8ea0c5f..9469a003 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 4, 6) -CODENAME = "mostly reliable" -BUILD_DT = (2022, 10, 13) +VERSION = (1, 5, 0) +CODENAME = "babel" +BUILD_DT = (2022, 12, 3) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index dc314b48..e616bd77 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -241,8 +241,11 @@ class HttpCli(object): # self.log("pebkac at httpcli.run #1: " + repr(ex)) self.keepalive = False h = {"WWW-Authenticate": "Basic"} if ex.code == 401 else {} - self.loud_reply(unicode(ex), status=ex.code, headers=h, volsan=True) - return self.keepalive + try: + self.loud_reply(unicode(ex), status=ex.code, headers=h, volsan=True) + return self.keepalive + except: + return False self.ua = self.headers.get("user-agent", "") self.is_rclone = self.ua.startswith("rclone/") diff --git a/docs/changelog.md b/docs/changelog.md index b9f691fe..d89891ae 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,15 @@ +▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ +# 2022-1013-1937 `v1.4.6` wav2opus + +* read-only demo server at https://a.ocv.me/pub/demo/ +* latest gzip edition of the sfx: *This version* + +## bugfixes +* the option to transcode flac to opus while playing audio in the browser was supposed to transcode wav-files as well, instead of being extremely hazardous to mobile data plans (sorry) +* `--license` didn't work if copyparty was installed from `pip` + + + ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ # 2022-1009-0919 `v1.4.5` qr-code