aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-03 14:26:08 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-03 14:26:08 +0200
commit25424b31e47daa934b6cde56439923225b57515b (patch)
tree6911ade263b874eb38abaa52b3684a020e2d96d3 /plugins
parent994e64882edc2366e9d176c1e01a5094994cb3a8 (diff)
Fix some lbry videos not working (non m3u8 streams)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Lbry.hpp5
1 files changed, 4 insertions, 1 deletions
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<M3U8Stream> streams;
+ std::string direct_video_url;
+ std::string streaming_url;
};
} \ No newline at end of file