Mythus commited on
Commit
3754d20
·
verified ·
1 Parent(s): c6d4821

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +5 -2
run.py CHANGED
@@ -61,8 +61,9 @@ def addon_manifest():
61
  def root():
62
  return "Hello, this is a Stremio Addon providing HTTPS Stream for Italian Movies/Series, to install it add /manifest.json to the url and then add it into the Stremio search bar"
63
 
64
- # Catalog route
65
- @app.route('/catalog/tv_channels.json')
 
66
  def catalog():
67
  items = []
68
  for channel in TV_CHANNELS:
@@ -74,6 +75,8 @@ def catalog():
74
 
75
  return respond_with({"metas": items})
76
 
 
 
77
  @app.route('/stream/<type>/<id>.json')
78
  def addon_stream(type, id):
79
  if type not in MANIFEST['types']:
 
61
  def root():
62
  return "Hello, this is a Stremio Addon providing HTTPS Stream for Italian Movies/Series, to install it add /manifest.json to the url and then add it into the Stremio search bar"
63
 
64
+
65
+
66
+ @app.route('/catalog/tv/tv_channels.json')
67
  def catalog():
68
  items = []
69
  for channel in TV_CHANNELS:
 
75
 
76
  return respond_with({"metas": items})
77
 
78
+ return respond_with({"metas": channels})
79
+
80
  @app.route('/stream/<type>/<id>.json')
81
  def addon_stream(type, id):
82
  if type not in MANIFEST['types']: