aboutsummaryrefslogtreecommitdiff
path: root/plugins/Lbry.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Lbry.hpp')
-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