@torrent-tv/proxy 2.96.13 → 2.96.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@torrent-tv/proxy",
3
- "version": "2.96.13",
3
+ "version": "2.96.14",
4
4
  "description": "Torrent proxy client that exposes webseed-like HTTP stream endpoint.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {
@@ -1066,6 +1066,13 @@ export class EncodeRuns {
1066
1066
  // cannot reach it.
1067
1067
  run.inputThrough = inputEnd;
1068
1068
  run.process.stdin.end();
1069
+ // THE NEXT STRETCH IS PREPARED WHILE THIS ONE IS BEING MADE. Asked for
1070
+ // only when this run had ended, its copy fell between the two runs and
1071
+ // nothing made the picture meanwhile: field 2026-10-11, 909 MB copied in
1072
+ // 48.9 s after run #1..#32 ended, then the start of #33..#892, and the
1073
+ // viewer stood 69 s (torrent-tv/meta#166). Asked now, it is copied while
1074
+ // this run works and is ready when the plan places the next run there.
1075
+ if (inputEnd < mayReach) this.#host.encodeInputs?.take(session, inputEnd + 1, mayReach);
1069
1076
  } else if (admittedInput) {
1070
1077
  run.inputFingerprint = admittedInput.fingerprint;
1071
1078
  run.admittedInputKeys = new Map([[safeIndex, inputKey]]);