Compare commits

...

3 Commits

Author SHA1 Message Date
ed
aaaa80e4b8 v1.4.1 2022-09-24 14:45:50 +02:00
ed
e70e926a40 support up2k uploads from old browsertabs 2022-09-24 14:35:51 +02:00
ed
e80c1f6d59 mention how ffmpeg was built 2022-09-24 00:05:47 +02:00
3 changed files with 15 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
# coding: utf-8
VERSION = (1, 4, 0)
VERSION = (1, 4, 1)
CODENAME = "mostly reliable"
BUILD_DT = (2022, 9, 23)
BUILD_DT = (2022, 9, 24)
S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

View File

@@ -1958,13 +1958,16 @@ class Up2k(object):
"sprs": sprs, # dontcare; finished anyways
"size": dsize,
"lmod": dtime,
"life": cj.get("life"),
"addr": ip,
"at": at,
"hash": [],
"need": [],
"busy": {},
}
for k in ["life"]:
if k in cj:
j[k] = cj[k]
score = (
(3 if st.st_dev == dev else 0)
+ (2 if dp_dir == cj["prel"] else 0)
@@ -2071,11 +2074,14 @@ class Up2k(object):
"name",
"size",
"lmod",
"life",
"poke",
]:
job[k] = cj[k]
for k in ["life"]:
if k in cj:
job[k] = cj[k]
# one chunk may occur multiple times in a file;
# filter to unique values for the list of missing chunks
# (preserve order to reduce disk thrashing)

View File

@@ -5,3 +5,8 @@ requires a win7 vm which has never been connected to the internet and a host-onl
first-time setup steps in notes.txt
run build.sh in the vm to fetch src + compile + push a new exe to the linux host for manual publishing
## ffmpeg
built with [ffmpeg-windows-build-helpers](https://github.com/rdp/ffmpeg-windows-build-helpers) and [this patch](./ffmpeg.patch) using [these steps](./ffmpeg.txt)