LoremPizza commited on
Commit
2d3a4d3
·
verified ·
1 Parent(s): eaf621a

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +5 -6
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
- else:
238
- streams['streams'].append({
239
- 'title': channel['title'],
240
- 'url': channel['url']
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)