1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-23 01:16:18 +00:00
This commit is contained in:
spl0k 2013-10-15 10:32:35 +02:00
parent 22e2d351d8
commit 92add62a7c

View File

@ -16,6 +16,7 @@ def stream_media():
return res return res
maxBitRate, format, timeOffset, size, estimateContentLength = map(request.args.get, [ 'maxBitRate', 'format', 'timeOffset', 'size', 'estimateContentLength' ]) maxBitRate, format, timeOffset, size, estimateContentLength = map(request.args.get, [ 'maxBitRate', 'format', 'timeOffset', 'size', 'estimateContentLength' ])
if format:
format = format.lower() format = format.lower()
if format != 'raw': if format != 'raw':