@torrent-tv/proxy 2.99.5 → 2.99.7

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.99.5",
3
+ "version": "2.99.7",
4
4
  "description": "Torrent proxy client that exposes webseed-like HTTP stream endpoint.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {
@@ -657,6 +657,11 @@ export class MatroskaContainer extends Container {
657
657
  const cues = await this.readCues();
658
658
  if (!cues?.points.length) return false;
659
659
  const video = ContainerTrack.firstUsable(await this.readTracks(), "video");
660
+ // A soundtrack alone is read from the original file too, picture clusters
661
+ // included (38 MB for one piece of 171 KB of sound, r46). Read from its own
662
+ // packets (proxy 2.99.6), the soundtrack's packet table was refused memory
663
+ // on Home Assistant, its first run was given one piece and never closed
664
+ // it, and no Matroska film started (r47, torrent-tv/meta#178).
660
665
  return cues.points.some(point => point.positions.some(position => !video || position.track === video.trackNumber));
661
666
  }
662
667