1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 17:06:17 +00:00

Won't handle content-length estimation

This is actually a bad idea. If the estimated value is too low, clients
might close the connection before receiving the whole file.
This commit is contained in:
spl0k 2013-10-20 17:47:13 +02:00
parent 4c68bac189
commit 64e8d616fc

View File

@ -82,8 +82,6 @@ def stream_media():
else:
response = send_file(res.path, mimetype = dst_mimetype)
# TODO handle estimateContentLength
res.play_count = res.play_count + 1
res.last_play = now()
request.user.last_play = res