Fix videoplayback when encountering redirector URLs

pull/733/head
Omar Roth 6 years ago
parent 69ab236f3f
commit a95958f9f6
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -4951,7 +4951,8 @@ get "/videoplayback" do |env|
query_params = env.params.query query_params = env.params.query
fvip = query_params["fvip"]? || "3" fvip = query_params["fvip"]? || "3"
mns = query_params["mn"].split(",") mns = query_params["mn"]?.try &.split(",")
mns ||= [] of String
if query_params["region"]? if query_params["region"]?
region = query_params["region"] region = query_params["region"]

Loading…
Cancel
Save