From d92f6d7725720e3facf90b0fdefc1ef4eb1c2227 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 11 Mar 2022 10:45:01 +0100 Subject: youtube video: fix video with redirect not getting content length correctly, re-enable youtube timestamp --- src/plugins/Youtube.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/plugins/Youtube.cpp') 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) { -- cgit v1.2.3