threefive 3.0.85__tar.gz → 3.0.87__tar.gz

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.
Files changed (45) hide show
  1. {threefive-3.0.85 → threefive-3.0.87}/PKG-INFO +2 -2
  2. {threefive-3.0.85 → threefive-3.0.87}/README.md +1 -1
  3. {threefive-3.0.85 → threefive-3.0.87}/pyproject.toml +1 -1
  4. {threefive-3.0.85 → threefive-3.0.87}/threefive/segment.py +7 -1
  5. {threefive-3.0.85 → threefive-3.0.87}/threefive/stream.py +1 -0
  6. {threefive-3.0.85 → threefive-3.0.87}/threefive/version.py +1 -1
  7. {threefive-3.0.85 → threefive-3.0.87}/threefive.egg-info/PKG-INFO +2 -2
  8. {threefive-3.0.85 → threefive-3.0.87}/LICENSE +0 -0
  9. {threefive-3.0.85 → threefive-3.0.87}/setup.cfg +0 -0
  10. {threefive-3.0.85 → threefive-3.0.87}/threefive/__init__.py +0 -0
  11. {threefive-3.0.85 → threefive-3.0.87}/threefive/aac.py +0 -0
  12. {threefive-3.0.85 → threefive-3.0.87}/threefive/base.py +0 -0
  13. {threefive-3.0.85 → threefive-3.0.87}/threefive/bitn.py +0 -0
  14. {threefive-3.0.85 → threefive-3.0.87}/threefive/bump.py +0 -0
  15. {threefive-3.0.85 → threefive-3.0.87}/threefive/cli.py +0 -0
  16. {threefive-3.0.85 → threefive-3.0.87}/threefive/commands.py +0 -0
  17. {threefive-3.0.85 → threefive-3.0.87}/threefive/crc.py +0 -0
  18. {threefive-3.0.85 → threefive-3.0.87}/threefive/crctable.py +0 -0
  19. {threefive-3.0.85 → threefive-3.0.87}/threefive/cue.py +0 -0
  20. {threefive-3.0.85 → threefive-3.0.87}/threefive/descriptors.py +0 -0
  21. {threefive-3.0.85 → threefive-3.0.87}/threefive/encode.py +0 -0
  22. {threefive-3.0.85 → threefive-3.0.87}/threefive/gums.py +0 -0
  23. {threefive-3.0.85 → threefive-3.0.87}/threefive/hls.py +0 -0
  24. {threefive-3.0.85 → threefive-3.0.87}/threefive/hlsprofile.py +0 -0
  25. {threefive-3.0.85 → threefive-3.0.87}/threefive/hlstags.py +0 -0
  26. {threefive-3.0.85 → threefive-3.0.87}/threefive/iframes.py +0 -0
  27. {threefive-3.0.85 → threefive-3.0.87}/threefive/new_reader.py +0 -0
  28. {threefive-3.0.85 → threefive-3.0.87}/threefive/packetdata.py +0 -0
  29. {threefive-3.0.85 → threefive-3.0.87}/threefive/pmt.py +0 -0
  30. {threefive-3.0.85 → threefive-3.0.87}/threefive/section.py +0 -0
  31. {threefive-3.0.85 → threefive-3.0.87}/threefive/segmentation.py +0 -0
  32. {threefive-3.0.85 → threefive-3.0.87}/threefive/sixfix.py +0 -0
  33. {threefive-3.0.85 → threefive-3.0.87}/threefive/speedo.py +0 -0
  34. {threefive-3.0.85 → threefive-3.0.87}/threefive/streamtypes.py +0 -0
  35. {threefive-3.0.85 → threefive-3.0.87}/threefive/stuff.py +0 -0
  36. {threefive-3.0.85 → threefive-3.0.87}/threefive/superkabuki.py +0 -0
  37. {threefive-3.0.85 → threefive-3.0.87}/threefive/throttle.py +0 -0
  38. {threefive-3.0.85 → threefive-3.0.87}/threefive/udp.py +0 -0
  39. {threefive-3.0.85 → threefive-3.0.87}/threefive/upids.py +0 -0
  40. {threefive-3.0.85 → threefive-3.0.87}/threefive/uxp.py +0 -0
  41. {threefive-3.0.85 → threefive-3.0.87}/threefive/xml.py +0 -0
  42. {threefive-3.0.85 → threefive-3.0.87}/threefive.egg-info/SOURCES.txt +0 -0
  43. {threefive-3.0.85 → threefive-3.0.87}/threefive.egg-info/dependency_links.txt +0 -0
  44. {threefive-3.0.85 → threefive-3.0.87}/threefive.egg-info/entry_points.txt +0 -0
  45. {threefive-3.0.85 → threefive-3.0.87}/threefive.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: threefive
3
- Version: 3.0.85
3
+ Version: 3.0.87
4
4
  Summary: threefive is The #1 SCTE-35 Decoder and Encoder on the Planet.
5
5
  Author-email: AdrianofDoom <spam@iodisco.com>
6
6
  License-Expression: Sleepycat
@@ -43,7 +43,7 @@ ___
43
43
  * __threefive now supports__ [__Secure Reliable Transport__](https://github.com/superkabuki/threefive_is_scte35/blob/main/README.md#threefive-now-supports-srt) (watch the cool video)
44
44
  ___
45
45
 
46
- ## [ Latest version is v3.0.85 ]
46
+ ## [ Latest version is v3.0.87 ]
47
47
 
48
48
  * threefive cyclomatic complexity score is 1.9337094499294782 _( that's better than the Python standard library)_ .
49
49
  * __threefive now has NO External Dependencies__
@@ -24,7 +24,7 @@ ___
24
24
  * __threefive now supports__ [__Secure Reliable Transport__](https://github.com/superkabuki/threefive_is_scte35/blob/main/README.md#threefive-now-supports-srt) (watch the cool video)
25
25
  ___
26
26
 
27
- ## [ Latest version is v3.0.85 ]
27
+ ## [ Latest version is v3.0.87 ]
28
28
 
29
29
  * threefive cyclomatic complexity score is 1.9337094499294782 _( that's better than the Python standard library)_ .
30
30
  * __threefive now has NO External Dependencies__
@@ -1,7 +1,7 @@
1
1
 
2
2
  [project]
3
3
  name = "threefive"
4
- version = "3.0.85"
4
+ version = "3.0.87"
5
5
  authors = [
6
6
  { name="AdrianofDoom", email="spam@iodisco.com" },
7
7
  ]
@@ -118,7 +118,13 @@ class Segment(Stream):
118
118
  """
119
119
  decode a mpegts segment.
120
120
  """
121
- super().decode(func=self.show_cue)
121
+ num_pkts = 1400
122
+ for pkt in self.iter_pkts(num_pkts=num_pkts):
123
+ if not pkt:
124
+ break
125
+ cue = self._parse(pkt)
126
+ if cue:
127
+ func(cue)
122
128
  if self.start:
123
129
  self.pts_start = self.as_90k(self.start.popitem()[1])
124
130
  self.pts_last = self.as_90k(list(self.maps.prgm_pts.items())[0][1])
@@ -390,6 +390,7 @@ class Stream(Based):
390
390
  duration=self.as_hms(tail - head)
391
391
  return duration
392
392
 
393
+
393
394
  def decode(self, func=show_cue):
394
395
  """
395
396
  Stream.decode reads self.tsdata to find SCTE35 packets.
@@ -5,6 +5,6 @@ from the cli tool run: threefive version
5
5
 
6
6
  MAJOR = 3
7
7
  MINOR = 0
8
- MINI = 85
8
+ MINI = 87
9
9
 
10
10
  version = f"{MAJOR}.{MINOR}.{MINI}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: threefive
3
- Version: 3.0.85
3
+ Version: 3.0.87
4
4
  Summary: threefive is The #1 SCTE-35 Decoder and Encoder on the Planet.
5
5
  Author-email: AdrianofDoom <spam@iodisco.com>
6
6
  License-Expression: Sleepycat
@@ -43,7 +43,7 @@ ___
43
43
  * __threefive now supports__ [__Secure Reliable Transport__](https://github.com/superkabuki/threefive_is_scte35/blob/main/README.md#threefive-now-supports-srt) (watch the cool video)
44
44
  ___
45
45
 
46
- ## [ Latest version is v3.0.85 ]
46
+ ## [ Latest version is v3.0.87 ]
47
47
 
48
48
  * threefive cyclomatic complexity score is 1.9337094499294782 _( that's better than the Python standard library)_ .
49
49
  * __threefive now has NO External Dependencies__
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes