aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/QuickMedia.cpp1
-rw-r--r--src/plugins/Lbry.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index c4a55d0..25f17d0 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -3355,6 +3355,7 @@ namespace QuickMedia {
TaskResult load_result = run_task_with_loading_screen([&]() {
video_info.duration = 0.0;
video_info.chapters.clear();
+ video_info.referer.clear();
if(video_page->load(submit_args, video_info, err_str) != PluginResult::OK)
return false;
diff --git a/src/plugins/Lbry.cpp b/src/plugins/Lbry.cpp
index 34ce982..38b6238 100644
--- a/src/plugins/Lbry.cpp
+++ b/src/plugins/Lbry.cpp
@@ -477,6 +477,7 @@ namespace QuickMedia {
video_info.title = args.title;
//title = this->title;
video_info.duration = 0.0;
+ video_info.referer = "https://odysee.com/";
return video_get_stream_url(this, streaming_url, url, streams, direct_video_url, err_str);
}
} \ No newline at end of file