aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Youtube.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-11 10:45:01 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-11 10:45:01 +0100
commitd92f6d7725720e3facf90b0fdefc1ef4eb1c2227 (patch)
tree6a4091eef23f56545431cdc0ef227efbc576b2b3 /src/plugins/Youtube.cpp
parent5fb94ed3fbd0e3942632ad617f803727ecf54169 (diff)
youtube video: fix video with redirect not getting content length correctly, re-enable youtube timestamp
Diffstat (limited to 'src/plugins/Youtube.cpp')
-rw-r--r--src/plugins/Youtube.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp
index df79701..2d92cd8 100644
--- a/src/plugins/Youtube.cpp
+++ b/src/plugins/Youtube.cpp
@@ -1860,7 +1860,6 @@ namespace QuickMedia {
}
std::string YoutubeVideoPage::get_url_timestamp() {
- #if 0
if(!timestamp.empty())
return timestamp;
@@ -1882,9 +1881,6 @@ namespace QuickMedia {
return "";
else
return std::to_string(it->second.time_pos_sec);
- #else
- return timestamp;
- #endif
}
BodyItems YoutubeVideoPage::get_related_media(const std::string &url) {