Created
April 11, 2017 02:08
-
-
Save jacobmischka/79bcd6dc68b8bc7c0af5c68315918500 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@app.route('/manifest/:id', methods=['POST']) | |
def manifest(): | |
user = get_user_from_db_by_id(id) | |
return send_file('/tmp/dash/' + user.manifest_filename + '.mpd', filename=(str(id) + '.mpd')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment