Fix typo in '/watch'

pull/577/head
Omar Roth 6 years ago
parent 8cecce7570
commit 4e111c84f3
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -474,8 +474,6 @@ get "/watch" do |env|
url = audio_streams[0]["url"] url = audio_streams[0]["url"]
audio_streams.each do |fmt| audio_streams.each do |fmt|
pp fmt["bitrate"]
pp params.quality.rchop("k")
if fmt["bitrate"] == params.quality.rchop("k") if fmt["bitrate"] == params.quality.rchop("k")
url = fmt["url"] url = fmt["url"]
end end

Loading…
Cancel
Save