LoremPizza commited on
Commit
babc838
·
verified ·
1 Parent(s): 005b196

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -0
run.py CHANGED
@@ -83,11 +83,13 @@ def addon_catalog(type, id):
83
 
84
  @app.get('/meta/{type}/{id}.json')
85
  def addon_meta(type, id):
 
86
  if type != "tv":
87
  raise HTTPException(status_code=404)
88
 
89
  for channel in STREAM["channels"]:
90
  if channel["id"] == id:
 
91
  meta = {
92
  "id": id,
93
  "type": "tv",
 
83
 
84
  @app.get('/meta/{type}/{id}.json')
85
  def addon_meta(type, id):
86
+ print(f"Request for meta: type={type}, id={id}")
87
  if type != "tv":
88
  raise HTTPException(status_code=404)
89
 
90
  for channel in STREAM["channels"]:
91
  if channel["id"] == id:
92
+ print(f"Found channel metadata: {channel}")
93
  meta = {
94
  "id": id,
95
  "type": "tv",