Spaces:
Paused
Paused
Update run.py
Browse files
run.py
CHANGED
|
@@ -83,9 +83,9 @@ def addon_stream(type, id):
|
|
| 83 |
abort(404)
|
| 84 |
streams = {'streams': []}
|
| 85 |
|
| 86 |
-
if type in
|
| 87 |
logging.debug(f"Found TV channel: {id}")
|
| 88 |
-
streams['streams'] =
|
| 89 |
else:
|
| 90 |
logging.debug(f"Handling movie or series: {id}")
|
| 91 |
if MYSTERIUS == "1":
|
|
|
|
| 83 |
abort(404)
|
| 84 |
streams = {'streams': []}
|
| 85 |
|
| 86 |
+
if type in TV_CHANNELS and id in TV_CHANNELS[type]:
|
| 87 |
logging.debug(f"Found TV channel: {id}")
|
| 88 |
+
streams['streams'] = TV_CHANNELS[type][id]
|
| 89 |
else:
|
| 90 |
logging.debug(f"Handling movie or series: {id}")
|
| 91 |
if MYSTERIUS == "1":
|