uiprotect 7.5.0__py3-none-any.whl → 7.5.1__py3-none-any.whl

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.

Potentially problematic release.


This version of uiprotect might be problematic. Click here for more details.

uiprotect/data/devices.py CHANGED
@@ -248,7 +248,7 @@ class CameraChannel(ProtectBaseObject):
248
248
  rtsp_alias: str | None = None # read only
249
249
  width: int
250
250
  height: int
251
- fps: int
251
+ fps: int | None = None # read only
252
252
  bitrate: int
253
253
  min_bitrate: int | None = None # read only
254
254
  max_bitrate: int | None = None # read only
@@ -296,7 +296,7 @@ class CameraChannel(ProtectBaseObject):
296
296
 
297
297
  @property
298
298
  def is_package(self) -> bool:
299
- return self.fps <= 2
299
+ return self.fps is not None and self.fps <= 2
300
300
 
301
301
 
302
302
  class ISPSettings(ProtectBaseObject):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: uiprotect
3
- Version: 7.5.0
3
+ Version: 7.5.1
4
4
  Summary: Python API for Unifi Protect (Unofficial)
5
5
  Author: UI Protect Maintainers
6
6
  Author-email: ui@koston.org
@@ -19,7 +19,7 @@ uiprotect/data/__init__.py,sha256=audwJBjxRiYdNPeYlP6iofFIOq3gyQzh6VpDsOCM2dQ,29
19
19
  uiprotect/data/base.py,sha256=rXm08mA4W7VErgsjS_lqM9HBhFK5-he1L2N6zFMl5yY,35481
20
20
  uiprotect/data/bootstrap.py,sha256=ddNaKrTprN7Zq0ZE3O_F5whepUh6z9GqyrUWxLyZ0HE,23570
21
21
  uiprotect/data/convert.py,sha256=xEN878_hm0HZZCVYGwJSxcSp2as9zpkvsemVIibReOA,2628
22
- uiprotect/data/devices.py,sha256=7CimsFO-Jq-PUQpwA-UOW-XzTslIlLQwvnHb4bc22g8,114256
22
+ uiprotect/data/devices.py,sha256=J7tmInERMmC7vUsdBfB83OAr97XYFnwnuvVbOAE90tY,114308
23
23
  uiprotect/data/nvr.py,sha256=E18DgE0nXl9VZ_ULotTPcXSi3M1u3mWQsuZbY1gIajs,47490
24
24
  uiprotect/data/types.py,sha256=XVNVCqyWJGTAo557sWD8yZ-kr_Z_35IpkUr-IuBjpO4,19218
25
25
  uiprotect/data/user.py,sha256=Del5LUmt5uCfAQMI9-kl_GaKm085oTLjxmcCrlEKXxc,10526
@@ -32,8 +32,8 @@ uiprotect/test_util/__init__.py,sha256=HlQBgIgdtrvT-gQ5OWP92LbgVr_YzsD5NFImLRonU
32
32
  uiprotect/test_util/anonymize.py,sha256=f-8ijU-_y9r-uAbhIPn0f0I6hzJpAkvJzc8UpWihObI,8478
33
33
  uiprotect/utils.py,sha256=p2cnc6G_-MNAXpKxy95Mz0CwwZOMvB6Sat1X626n-gg,20564
34
34
  uiprotect/websocket.py,sha256=tEyenqblNXHcjWYuf4oRP1E7buNwx6zoECMwpBr-jig,8191
35
- uiprotect-7.5.0.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
36
- uiprotect-7.5.0.dist-info/METADATA,sha256=cD3gf13XfjwmiR-2PDX5PGQHPej66nc78pe1yUBW0zE,11095
37
- uiprotect-7.5.0.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
38
- uiprotect-7.5.0.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
39
- uiprotect-7.5.0.dist-info/RECORD,,
35
+ uiprotect-7.5.1.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
36
+ uiprotect-7.5.1.dist-info/METADATA,sha256=XYRHc8TDS9BbbDIyelO8CuGEAB-MI3JF34xp9L63VNk,11095
37
+ uiprotect-7.5.1.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
38
+ uiprotect-7.5.1.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
39
+ uiprotect-7.5.1.dist-info/RECORD,,