From f925387b18e8f06b51f57ad21c42380b75cd0458 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 3 Nov 2022 22:52:53 +0100 Subject: Youtube: dont show description for videos (not reliable anyways because youtube now removed them in some cases) --- src/plugins/Youtube.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp index f2fb36e..23e95c6 100644 --- a/src/plugins/Youtube.cpp +++ b/src/plugins/Youtube.cpp @@ -553,14 +553,14 @@ namespace QuickMedia { desc += '\n'; desc += owner_text.value(); } - if(description_snippet) { + /*if(description_snippet) { if(!desc.empty()) desc += '\n'; desc += '\n'; std::string description_snippet_stripped = strip(description_snippet.value()); string_replace_all(description_snippet_stripped, "\n\n", "\n"); desc += std::move(description_snippet_stripped); - } + }*/ body_item->set_description(std::move(desc)); body_item->set_description_color(get_theme().faded_text_color); if(scheduled_text.empty()) @@ -612,14 +612,14 @@ namespace QuickMedia { desc += " • "; desc += video_count.value(); } - if(description) { + /*if(description) { if(!desc.empty()) desc += '\n'; desc += '\n'; std::string description_snippet_stripped = strip(description.value()); string_replace_all(description_snippet_stripped, "\n\n", "\n"); desc += std::move(description_snippet_stripped); - } + }*/ body_item->set_description(std::move(desc)); body_item->set_description_color(get_theme().faded_text_color); body_item->url = "https://www.youtube.com/channel/" + channel_id_json.asString(); -- cgit v1.2.3