Remove unnecessary comment

pull/307/head
Omar Roth 2019-01-19 10:41:20 -06:00
rodzic 2425368c3a
commit cf9134416c
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -392,9 +392,7 @@ get "/watch" do |env|
rvs << HTTP::Params.parse(rv).to_h
end
# rating = (video.likes.to_f/(video.likes.to_f + video.dislikes.to_f) * 4 + 1)
rating = video.info["avg_rating"].to_f64
engagement = ((video.dislikes.to_f + video.likes.to_f)/video.views * 100)
playability_status = video.player_response["playabilityStatus"]?