From 899669eda8441fb6bbfde8da3cc78ee1fff5212e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 2 Dec 2021 02:38:57 +0100 Subject: Fix youtube dislike count if a video has more dislikes than likes --- plugins/Youtube.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp index a0c2e16..2a3b36e 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -174,7 +174,7 @@ namespace QuickMedia { private: std::string timestamp; std::string comments_continuation_token; - int64_t likes = -1; + int64_t num_likes = -1; std::string livestream_url; std::vector video_formats; std::vector audio_formats; -- cgit v1.2.3