pyxtream 0.7.0__tar.gz → 0.7.1__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.
- {pyxtream-0.7.0 → pyxtream-0.7.1}/PKG-INFO +2 -1
- {pyxtream-0.7.0 → pyxtream-0.7.1}/README.md +1 -0
- pyxtream-0.7.1/pyproject.toml +22 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream/pyxtream.py +3 -2
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream/version.py +1 -1
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream.egg-info/PKG-INFO +2 -1
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream.egg-info/SOURCES.txt +1 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/setup.py +3 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/LICENSE +0 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream/__init__.py +0 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream/progress.py +0 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream/rest_api.py +0 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream/schemaValidator.py +0 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream.egg-info/dependency_links.txt +0 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream.egg-info/requires.txt +0 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/pyxtream.egg-info/top_level.txt +0 -0
- {pyxtream-0.7.0 → pyxtream-0.7.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyxtream
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: xtream IPTV loader
|
|
5
5
|
Home-page: https://github.com/superolmo/pyxtream
|
|
6
6
|
Author: Claudio Olmi
|
|
@@ -132,6 +132,7 @@ xTream.movies[{},{},...]
|
|
|
132
132
|
|
|
133
133
|
| Date | Version | Description |
|
|
134
134
|
| ----------- | -----| ----------- |
|
|
135
|
+
| 2024-05-21 | 0.7.1 | - Fixed missing jsonschema package<br>- Fixed provider name in functional_test<br>- Improved print out of connection attempts<br>- Added method to read latest changes in functional_test
|
|
135
136
|
| 2023-11-08 | 0.7.0 | - Added Schema Validator<br>- Added Channel Age<br>- Added list of movies added in the last 30 and 7 days<br>- Updated code based on PyLint<br>- Fixed Flask package to be optional [richard-de-vos](https://github.com/richard-de-vos)|
|
|
136
137
|
| 2023-02-06 | 0.6.0 | - Added methods to change connection header, to turn off reload timer, and to enable/disable Flask debug mode<br>- Added a loop when attempting to connect to the provider <br>- Cleaned up some print lines|
|
|
137
138
|
| 2021-08-19 | 0.5.0 | - Added method to gracefully handle connection errors<br>- Added setting to not load adult content<br>- Added sorting by stream name<br>- Changed the handling of special characters in streams<br>- Changed print formatting<br>- Changed index.html webpage to HTML5 and Bootstrap 5|
|
|
@@ -112,6 +112,7 @@ xTream.movies[{},{},...]
|
|
|
112
112
|
|
|
113
113
|
| Date | Version | Description |
|
|
114
114
|
| ----------- | -----| ----------- |
|
|
115
|
+
| 2024-05-21 | 0.7.1 | - Fixed missing jsonschema package<br>- Fixed provider name in functional_test<br>- Improved print out of connection attempts<br>- Added method to read latest changes in functional_test
|
|
115
116
|
| 2023-11-08 | 0.7.0 | - Added Schema Validator<br>- Added Channel Age<br>- Added list of movies added in the last 30 and 7 days<br>- Updated code based on PyLint<br>- Fixed Flask package to be optional [richard-de-vos](https://github.com/richard-de-vos)|
|
|
116
117
|
| 2023-02-06 | 0.6.0 | - Added methods to change connection header, to turn off reload timer, and to enable/disable Flask debug mode<br>- Added a loop when attempting to connect to the provider <br>- Cleaned up some print lines|
|
|
117
118
|
| 2021-08-19 | 0.5.0 | - Added method to gracefully handle connection errors<br>- Added setting to not load adult content<br>- Added sorting by stream name<br>- Changed the handling of special characters in streams<br>- Changed print formatting<br>- Changed index.html webpage to HTML5 and Bootstrap 5|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools", "distutils.util"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name='pyxtream',
|
|
7
|
+
description="xtream IPTV loader",
|
|
8
|
+
urls="https://github.com/superolmo/pyxtream",
|
|
9
|
+
license="LICENSE",
|
|
10
|
+
classifiers=[
|
|
11
|
+
"Development Status :: 4 - Beta",
|
|
12
|
+
"Environment :: Console",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
15
|
+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
16
|
+
"Operating System :: OS Independent",
|
|
17
|
+
"Natural Language :: English"
|
|
18
|
+
],
|
|
19
|
+
optional-dependencies={ "REST_API": ["Flask>=1.1.2",] }
|
|
20
|
+
dynamic=["version", "authors", "author_email","readme"]
|
|
21
|
+
|
|
22
|
+
packages=find_packages(),
|
|
@@ -583,6 +583,7 @@ class XTream:
|
|
|
583
583
|
r = None
|
|
584
584
|
# Prepare the authentication url
|
|
585
585
|
url = f"{self.server}/player_api.php?username={self.username}&password={self.password}"
|
|
586
|
+
print(f"Attempting connection: ", end='')
|
|
586
587
|
while i < 30:
|
|
587
588
|
try:
|
|
588
589
|
# Request authentication, wait 4 seconds maximum
|
|
@@ -590,7 +591,7 @@ class XTream:
|
|
|
590
591
|
i = 31
|
|
591
592
|
except requests.exceptions.ConnectionError:
|
|
592
593
|
time.sleep(1)
|
|
593
|
-
print(i)
|
|
594
|
+
print(f"{i} ", end='',flush=True)
|
|
594
595
|
i += 1
|
|
595
596
|
|
|
596
597
|
if r is not None:
|
|
@@ -612,7 +613,7 @@ class XTream:
|
|
|
612
613
|
else:
|
|
613
614
|
print(f"Provider `{self.name}` could not be loaded. Reason: `{r.status_code} {r.reason}`")
|
|
614
615
|
else:
|
|
615
|
-
print(f"{self.name}: Provider refused the connection")
|
|
616
|
+
print(f"\n{self.name}: Provider refused the connection")
|
|
616
617
|
|
|
617
618
|
def _load_from_file(self, filename) -> dict:
|
|
618
619
|
"""Try to load the dictionary from file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyxtream
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: xtream IPTV loader
|
|
5
5
|
Home-page: https://github.com/superolmo/pyxtream
|
|
6
6
|
Author: Claudio Olmi
|
|
@@ -132,6 +132,7 @@ xTream.movies[{},{},...]
|
|
|
132
132
|
|
|
133
133
|
| Date | Version | Description |
|
|
134
134
|
| ----------- | -----| ----------- |
|
|
135
|
+
| 2024-05-21 | 0.7.1 | - Fixed missing jsonschema package<br>- Fixed provider name in functional_test<br>- Improved print out of connection attempts<br>- Added method to read latest changes in functional_test
|
|
135
136
|
| 2023-11-08 | 0.7.0 | - Added Schema Validator<br>- Added Channel Age<br>- Added list of movies added in the last 30 and 7 days<br>- Updated code based on PyLint<br>- Fixed Flask package to be optional [richard-de-vos](https://github.com/richard-de-vos)|
|
|
136
137
|
| 2023-02-06 | 0.6.0 | - Added methods to change connection header, to turn off reload timer, and to enable/disable Flask debug mode<br>- Added a loop when attempting to connect to the provider <br>- Cleaned up some print lines|
|
|
137
138
|
| 2021-08-19 | 0.5.0 | - Added method to gracefully handle connection errors<br>- Added setting to not load adult content<br>- Added sorting by stream name<br>- Changed the handling of special characters in streams<br>- Changed print formatting<br>- Changed index.html webpage to HTML5 and Bootstrap 5|
|
|
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
|