This commit is contained in:
UrloMythus
2024-07-16 17:42:16 +02:00 Unverified
parent 8964a07b0f
commit 5d6059df6e
+1 -2
View File
@@ -185,7 +185,7 @@ def addon_stream(type, id):
return respond_with(streams) return respond_with(streams)
@app.route('/meta/<type>/<id>.json') @app.route('/meta/<type>/<id>.json')
def addon_meta(type, id): def meta(type, id):
if type not in MANIFEST['types']: if type not in MANIFEST['types']:
abort(404) abort(404)
@@ -206,6 +206,5 @@ def addon_meta(type, id):
abort(404) abort(404)
return respond_with({"meta": meta}) return respond_with({"meta": meta})
if __name__ == '__main__': if __name__ == '__main__':
app.run(host=HOST, port=PORT) app.run(host=HOST, port=PORT)