Spaces:
Paused
Paused
Update run.py
Browse files
run.py
CHANGED
|
@@ -207,7 +207,6 @@ def addon_meta(type, id):
|
|
| 207 |
"background": "", # Add background image URL if available
|
| 208 |
"logo": "", # Add logo URL if available
|
| 209 |
"videos": [{
|
| 210 |
-
"id": id,
|
| 211 |
"title": channel["title"],
|
| 212 |
"streams": [{
|
| 213 |
"title": channel["title"],
|
|
@@ -234,11 +233,11 @@ def addon_stream(type, id):
|
|
| 234 |
'title': "okru"+channel['title'],
|
| 235 |
'url': channel_url
|
| 236 |
})
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
if not streams['streams']:
|
| 243 |
abort(404)
|
| 244 |
return respond_with(streams)
|
|
|
|
| 207 |
"background": "", # Add background image URL if available
|
| 208 |
"logo": "", # Add logo URL if available
|
| 209 |
"videos": [{
|
|
|
|
| 210 |
"title": channel["title"],
|
| 211 |
"streams": [{
|
| 212 |
"title": channel["title"],
|
|
|
|
| 233 |
'title': "okru"+channel['title'],
|
| 234 |
'url': channel_url
|
| 235 |
})
|
| 236 |
+
|
| 237 |
+
streams['streams'].append({
|
| 238 |
+
'title': channel['title'],
|
| 239 |
+
'url': channel['url']
|
| 240 |
+
})
|
| 241 |
if not streams['streams']:
|
| 242 |
abort(404)
|
| 243 |
return respond_with(streams)
|