mirror of
https://github.com/9001/copyparty.git
synced 2025-11-09 08:06:43 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aaaa80e4b8 | ||
|
|
e70e926a40 | ||
|
|
e80c1f6d59 |
@@ -1,8 +1,8 @@
|
|||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (1, 4, 0)
|
VERSION = (1, 4, 1)
|
||||||
CODENAME = "mostly reliable"
|
CODENAME = "mostly reliable"
|
||||||
BUILD_DT = (2022, 9, 23)
|
BUILD_DT = (2022, 9, 24)
|
||||||
|
|
||||||
S_VERSION = ".".join(map(str, VERSION))
|
S_VERSION = ".".join(map(str, VERSION))
|
||||||
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
||||||
|
|||||||
@@ -1958,13 +1958,16 @@ class Up2k(object):
|
|||||||
"sprs": sprs, # dontcare; finished anyways
|
"sprs": sprs, # dontcare; finished anyways
|
||||||
"size": dsize,
|
"size": dsize,
|
||||||
"lmod": dtime,
|
"lmod": dtime,
|
||||||
"life": cj.get("life"),
|
|
||||||
"addr": ip,
|
"addr": ip,
|
||||||
"at": at,
|
"at": at,
|
||||||
"hash": [],
|
"hash": [],
|
||||||
"need": [],
|
"need": [],
|
||||||
"busy": {},
|
"busy": {},
|
||||||
}
|
}
|
||||||
|
for k in ["life"]:
|
||||||
|
if k in cj:
|
||||||
|
j[k] = cj[k]
|
||||||
|
|
||||||
score = (
|
score = (
|
||||||
(3 if st.st_dev == dev else 0)
|
(3 if st.st_dev == dev else 0)
|
||||||
+ (2 if dp_dir == cj["prel"] else 0)
|
+ (2 if dp_dir == cj["prel"] else 0)
|
||||||
@@ -2071,11 +2074,14 @@ class Up2k(object):
|
|||||||
"name",
|
"name",
|
||||||
"size",
|
"size",
|
||||||
"lmod",
|
"lmod",
|
||||||
"life",
|
|
||||||
"poke",
|
"poke",
|
||||||
]:
|
]:
|
||||||
job[k] = cj[k]
|
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;
|
# one chunk may occur multiple times in a file;
|
||||||
# filter to unique values for the list of missing chunks
|
# filter to unique values for the list of missing chunks
|
||||||
# (preserve order to reduce disk thrashing)
|
# (preserve order to reduce disk thrashing)
|
||||||
|
|||||||
@@ -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
|
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
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user