summaryrefslogtreecommitdiff
path: root/mediabrowser/__init__.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-01-18 19:44:34 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-01-18 19:49:58 +0100
commit69b83475a898b511d4e26544f2d0b4a09940c3ea (patch)
treefb95c909879c5d6d8cb4b84581a387b07c00812e /mediabrowser/__init__.py
parent0b91c6c444a83c8d8f93ae29882a485858c95c5f (diff)
downloadflask-mediabrowser-69b83475a898b511d4e26544f2d0b4a09940c3ea.tar.gz
flask-mediabrowser-69b83475a898b511d4e26544f2d0b4a09940c3ea.zip
remove superflous asset controller function.
if http-authentication is directed do an redirect to same page without authentication.
Diffstat (limited to 'mediabrowser/__init__.py')
-rw-r--r--mediabrowser/__init__.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/mediabrowser/__init__.py b/mediabrowser/__init__.py
index 824d7d8..28241b4 100644
--- a/mediabrowser/__init__.py
+++ b/mediabrowser/__init__.py
@@ -148,10 +148,6 @@ def build(root_directory, cache):
process = ffmpeg.thumbnail(ospath, 852, 480)
return process.stdout
- @blueprint.route('/assets/<path:filename>')
- def assets(filename):
- return blueprint.send_static_file(filename)
-
@blueprint.route('/<path:path>/stream/<float:ss>_<float:t>')
def stream(ss, t, path):
path = os.path.normpath(path)