From 25424b31e47daa934b6cde56439923225b57515b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 3 Jul 2023 14:26:08 +0200 Subject: Fix some lbry videos not working (non m3u8 streams) --- plugins/Lbry.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/Lbry.hpp b/plugins/Lbry.hpp index 4228544..0d0ec73 100644 --- a/plugins/Lbry.hpp +++ b/plugins/Lbry.hpp @@ -36,7 +36,8 @@ namespace QuickMedia { class LbryVideoPage : public VideoPage { public: - LbryVideoPage(Program *program, std::string title, std::string url) : VideoPage(program, std::move(url)), title(std::move(title)) {} + LbryVideoPage(Program *program, std::string title, std::string url, std::string streaming_url) + : VideoPage(program, std::move(url)), title(std::move(title)), streaming_url(std::move(streaming_url)) {} const char* get_title() const override { return ""; } //BodyItems get_related_media(const std::string &url) override; std::string get_download_url(int max_height) override; @@ -46,5 +47,7 @@ namespace QuickMedia { private: std::string title; std::vector streams; + std::string direct_video_url; + std::string streaming_url; }; } \ No newline at end of file -- cgit v1.2.3