diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-11-03 22:52:53 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-11-03 22:52:53 +0100 |
commit | f925387b18e8f06b51f57ad21c42380b75cd0458 (patch) | |
tree | 4adab3acc2a8f47f4b706b5eb8ef3cc374a247db /src | |
parent | 23edd92d4a4ba8abe700a0b0edd6cfea19fbef14 (diff) |
Youtube: dont show description for videos (not reliable anyways because youtube now removed them in some cases)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/Youtube.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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(); |