Mythus commited on
Commit
9f4cead
·
verified ·
1 Parent(s): cbb363e

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +3 -1
run.py CHANGED
@@ -129,13 +129,15 @@ def meta(type, id):
129
  "meta": {
130
  "id": channel_id,
131
  "name": channel_info["name"],
132
- "type": "channel"
 
133
  }
134
  })
135
 
136
  abort(404)
137
 
138
 
 
139
  return respond_with({"meta": meta})
140
  if __name__ == '__main__':
141
  app.run(host=HOST, port=PORT)
 
129
  "meta": {
130
  "id": channel_id,
131
  "name": channel_info["name"],
132
+ "type": "channel",
133
+ "streamUrl": channel_info["url"], # Add the stream URL here
134
  }
135
  })
136
 
137
  abort(404)
138
 
139
 
140
+
141
  return respond_with({"meta": meta})
142
  if __name__ == '__main__':
143
  app.run(host=HOST, port=PORT)