mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Stream: force content-type, in case Flask couldn't guess it
This commit is contained in:
parent
b3aa61731a
commit
07e56e1d07
@ -77,7 +77,7 @@ def stream_media():
|
||||
|
||||
response = Response(transcode(), mimetype = dst_mimetype)
|
||||
else:
|
||||
response = send_file(res.path)
|
||||
response = send_file(res.path, mimetype = dst_mimetype)
|
||||
|
||||
# TODO handle estimateContentLength
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user