Spaces:
Paused
Paused
Update run.py
Browse files
run.py
CHANGED
|
@@ -33,13 +33,12 @@ MANIFEST = {
|
|
| 33 |
{"type": "tv", "id": "tv_channels", "name": "TV Channels"}
|
| 34 |
],
|
| 35 |
"resources": ["stream", "catalog","meta"],
|
| 36 |
-
"types": ["movie", "series", "tv"
|
| 37 |
"name": "Mamma Mia",
|
| 38 |
"description": "Addon providing HTTPS Stream for Italian Movies/Series",
|
| 39 |
"logo": "https://creazilla-store.fra1.digitaloceanspaces.com/emojis/49647/pizza-emoji-clipart-md.png"
|
| 40 |
}
|
| 41 |
|
| 42 |
-
|
| 43 |
STREAMS = {
|
| 44 |
"channel": {
|
| 45 |
"channel1": {"name": "Channel 1", "url": "https://d3749synfikwkv.cloudfront.net/v1/master/3722c60a815c199d9c0ef36c5b73da68a62b09d1/cc-74ylxpgd78bpb/Live.m3u8"},
|
|
@@ -48,8 +47,6 @@ STREAMS = {
|
|
| 48 |
}
|
| 49 |
}
|
| 50 |
|
| 51 |
-
|
| 52 |
-
|
| 53 |
def respond_with(data):
|
| 54 |
resp = jsonify(data)
|
| 55 |
resp.headers['Access-Control-Allow-Origin'] = '*'
|
|
@@ -64,8 +61,6 @@ def addon_manifest():
|
|
| 64 |
def root():
|
| 65 |
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"
|
| 66 |
|
| 67 |
-
|
| 68 |
-
|
| 69 |
@app.route('/catalog/tv/tv_channels.json')
|
| 70 |
def catalog():
|
| 71 |
items = []
|
|
@@ -136,8 +131,6 @@ def meta(type, id):
|
|
| 136 |
|
| 137 |
abort(404)
|
| 138 |
|
| 139 |
-
|
| 140 |
-
|
| 141 |
return respond_with({"meta": meta})
|
| 142 |
if __name__ == '__main__':
|
| 143 |
app.run(host=HOST, port=PORT)
|
|
|
|
| 33 |
{"type": "tv", "id": "tv_channels", "name": "TV Channels"}
|
| 34 |
],
|
| 35 |
"resources": ["stream", "catalog","meta"],
|
| 36 |
+
"types": ["movie", "series", "tv"],
|
| 37 |
"name": "Mamma Mia",
|
| 38 |
"description": "Addon providing HTTPS Stream for Italian Movies/Series",
|
| 39 |
"logo": "https://creazilla-store.fra1.digitaloceanspaces.com/emojis/49647/pizza-emoji-clipart-md.png"
|
| 40 |
}
|
| 41 |
|
|
|
|
| 42 |
STREAMS = {
|
| 43 |
"channel": {
|
| 44 |
"channel1": {"name": "Channel 1", "url": "https://d3749synfikwkv.cloudfront.net/v1/master/3722c60a815c199d9c0ef36c5b73da68a62b09d1/cc-74ylxpgd78bpb/Live.m3u8"},
|
|
|
|
| 47 |
}
|
| 48 |
}
|
| 49 |
|
|
|
|
|
|
|
| 50 |
def respond_with(data):
|
| 51 |
resp = jsonify(data)
|
| 52 |
resp.headers['Access-Control-Allow-Origin'] = '*'
|
|
|
|
| 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 |
@app.route('/catalog/tv/tv_channels.json')
|
| 65 |
def catalog():
|
| 66 |
items = []
|
|
|
|
| 131 |
|
| 132 |
abort(404)
|
| 133 |
|
|
|
|
|
|
|
| 134 |
return respond_with({"meta": meta})
|
| 135 |
if __name__ == '__main__':
|
| 136 |
app.run(host=HOST, port=PORT)
|