lghorizon 0.8.2__py3-none-any.whl → 0.8.3__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.
lghorizon/const.py CHANGED
@@ -76,6 +76,15 @@ COUNTRY_SETTINGS = {
76
76
  "channels": [],
77
77
  "language": "de",
78
78
  },
79
+ "be-basetv": {
80
+ "api_url": "https://spark-prod-be.gnp.cloud.base.tv",
81
+ "channels": [],
82
+ "language": "nl",
83
+ "platform_types": {
84
+ "EOS": {"manufacturer": "Arris", "model": "DCX960"},
85
+ "HORIZON": {"manufacturer": "Arris", "model": "VIP5002W"},
86
+ },
87
+ },
79
88
  "be-nl": {
80
89
  "api_url": "https://spark-prod-be.gnp.cloud.telenet.tv",
81
90
  "oauth_username_fieldname": "j_username",
@@ -93,9 +93,7 @@ class LGHorizonApi:
93
93
 
94
94
  def _authorize(self) -> None:
95
95
  ctry_code = self._country_code[0:2]
96
- if ctry_code == "be":
97
- self._authorize_telenet()
98
- elif ctry_code in ("gb", "ch"):
96
+ if ctry_code in ("gb", "ch", "be"):
99
97
  self._authorize_with_refresh_token()
100
98
  else:
101
99
  self._authorize_default()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lghorizon
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: Python client for Liberty Global Horizon settop boxes
5
5
  Home-page: https://github.com/sholofly/LGHorizon-python
6
6
  Author: Rudolf Offereins
@@ -0,0 +1,12 @@
1
+ lghorizon/__init__.py,sha256=GrctR8IIj0G7Sps_N_YjvKsrvMcbhp3O0KxE7yi-_R8,991
2
+ lghorizon/const.py,sha256=j_rugTybx8n2kKEKaRWhgAFzBSEKztWTBFP7ABuMEgg,5013
3
+ lghorizon/exceptions.py,sha256=-6v55KDTogBldGAg1wV9Mrxm5L5BsaVguhBgVMOeJHk,404
4
+ lghorizon/helpers.py,sha256=W7ppV9MJ1MyXH_49GliNtiu_kA7h1KRzMdmRdrC5kaw,266
5
+ lghorizon/lghorizon_api.py,sha256=PgQdW38yK30Lg45K4gvZEpYTK6NGGArhtu-gzuU_L-M,22279
6
+ lghorizon/models.py,sha256=52ZvEFhrCNKZQ3sGI7S8LoEFtTCnR9W_-UfaEXz0uSc,26032
7
+ lghorizon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ lghorizon-0.8.3.dist-info/LICENSE,sha256=6Dh2tur1gMX3r3rITjVwUONBEJxyyPZDY8p6DZXtimE,1059
9
+ lghorizon-0.8.3.dist-info/METADATA,sha256=fKs7Th_i1pSM6nLKo7o6Ef1K1hU6921OPqEVBdUo03o,1037
10
+ lghorizon-0.8.3.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
11
+ lghorizon-0.8.3.dist-info/top_level.txt,sha256=usii76_AxGfPI6gjrrh-NyZxcQQuF1B8_Q9kd7sID8Q,10
12
+ lghorizon-0.8.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.2.0)
2
+ Generator: setuptools (75.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,12 +0,0 @@
1
- lghorizon/__init__.py,sha256=GrctR8IIj0G7Sps_N_YjvKsrvMcbhp3O0KxE7yi-_R8,991
2
- lghorizon/const.py,sha256=8P-4cwRRg0wKtrzr5DTOuGb618HKjGRPMnIfmc6-VSM,4700
3
- lghorizon/exceptions.py,sha256=-6v55KDTogBldGAg1wV9Mrxm5L5BsaVguhBgVMOeJHk,404
4
- lghorizon/helpers.py,sha256=W7ppV9MJ1MyXH_49GliNtiu_kA7h1KRzMdmRdrC5kaw,266
5
- lghorizon/lghorizon_api.py,sha256=xl2ISDPgkuLrdZtxXIBfBYjg2JfKIwBMY-BbMMqmmU0,22343
6
- lghorizon/models.py,sha256=52ZvEFhrCNKZQ3sGI7S8LoEFtTCnR9W_-UfaEXz0uSc,26032
7
- lghorizon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- lghorizon-0.8.2.dist-info/LICENSE,sha256=6Dh2tur1gMX3r3rITjVwUONBEJxyyPZDY8p6DZXtimE,1059
9
- lghorizon-0.8.2.dist-info/METADATA,sha256=HgPTwKIqyeVL1Ogo_TClL8lr5UhewLYO0NwU3FVUHAU,1037
10
- lghorizon-0.8.2.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
11
- lghorizon-0.8.2.dist-info/top_level.txt,sha256=usii76_AxGfPI6gjrrh-NyZxcQQuF1B8_Q9kd7sID8Q,10
12
- lghorizon-0.8.2.dist-info/RECORD,,