From 09d8b9895c7001f991d2aab7a75e8b573edb086f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 2 Nov 2021 10:51:02 +0100 Subject: Remove 'latest chapter' for mangadex because its for any language --- TODO | 3 ++- src/plugins/Mangadex.cpp | 17 ----------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/TODO b/TODO index 35594ab..4410ccc 100644 --- a/TODO +++ b/TODO @@ -203,4 +203,5 @@ Use local lbry instead of odysee when I figure out the incorrect instructions of ffmpeg (and mpv) is very slow at playing streams (mostly affects lbry and certain peertube videos) for some reason. Allow specifying start/end range for video/music downloads. Limit text input length for 4chan posts to the server limit. -Allow creating a new thread on 4chan. \ No newline at end of file +Allow creating a new thread on 4chan. +Add flag to quickmedia to use svp, by making svp use the same input ipc socket as quickmedia (and load the svp script manually). diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp index 3632ed5..848471f 100644 --- a/src/plugins/Mangadex.cpp +++ b/src/plugins/Mangadex.cpp @@ -180,23 +180,6 @@ namespace QuickMedia { description += "Status: " + status_json.asString(); } - /* Commented out because its broken on mangadex. TODO: Uncomment when mangadex fixes this - const Json::Value &updated_at_json = attributes_json["updatedAt"]; - if(updated_at_json.isString()) { - if(!description.empty()) - description += '\n'; - const time_t unix_time = iso_utc_to_unix_time(updated_at_json.asCString()); - description += "Updated: " + unix_time_to_local_time_str(unix_time); - } - */ - - const Json::Value &last_chapter_json = attributes_json["lastChapter"]; - if(last_chapter_json.isString()) { - if(!description.empty()) - description += '\n'; - description += "Last chapter: " + last_chapter_json.asString(); - } - const Json::Value &description_json = attributes_json["description"]; if(description_json.isObject()) { const Json::Value &en_json = description_json["en"]; -- cgit v1.2.3