From 9132d5a3610bf5bb6aa3fd4e0e6ed5adabb1f21e Mon Sep 17 00:00:00 2001 From: FlaminSarge Date: Sat, 18 Mar 2023 13:38:30 -0700 Subject: [PATCH] Move IsekaiScan.eu to IsekaiScan.to (#15743) * Move IsekaiScan.eu to IsekaiScan.to * Override source ID for IsekaiScan.to to match IsekaiScan.eu --- .../overrides/madara/isekaiscaneu/src/IsekaiScanEu.kt | 7 ------- .../overrides/madara/isekaiscaneu/src/IsekaiScanTo.kt | 9 +++++++++ .../kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 multisrc/overrides/madara/isekaiscaneu/src/IsekaiScanEu.kt create mode 100644 multisrc/overrides/madara/isekaiscaneu/src/IsekaiScanTo.kt diff --git a/multisrc/overrides/madara/isekaiscaneu/src/IsekaiScanEu.kt b/multisrc/overrides/madara/isekaiscaneu/src/IsekaiScanEu.kt deleted file mode 100644 index 1bee6ccf4..000000000 --- a/multisrc/overrides/madara/isekaiscaneu/src/IsekaiScanEu.kt +++ /dev/null @@ -1,7 +0,0 @@ -package eu.kanade.tachiyomi.extension.en.isekaiscaneu - -import eu.kanade.tachiyomi.multisrc.madara.Madara -import java.text.SimpleDateFormat -import java.util.Locale - -class IsekaiScanEu : Madara("IsekaiScan.eu (unoriginal)", "https://isekaiscan.eu", "en", SimpleDateFormat("MM/dd/yyyy", Locale.US)) diff --git a/multisrc/overrides/madara/isekaiscaneu/src/IsekaiScanTo.kt b/multisrc/overrides/madara/isekaiscaneu/src/IsekaiScanTo.kt new file mode 100644 index 000000000..7cd4ebadf --- /dev/null +++ b/multisrc/overrides/madara/isekaiscaneu/src/IsekaiScanTo.kt @@ -0,0 +1,9 @@ +package eu.kanade.tachiyomi.extension.en.isekaiscaneu + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import java.text.SimpleDateFormat +import java.util.Locale + +class IsekaiScanTo : Madara("IsekaiScan.to (unoriginal)", "https://isekaiscan.to", "en", SimpleDateFormat("MM/dd/yyyy", Locale.US)) { + override val id = 8608305834807261892L; // from former IsekaiScan.eu source +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index 441430d55..6c8305b86 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -152,7 +152,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Inmortal Scan", "https://manga.mundodrama.site", "es"), SingleLang("InstaManhwa", "https://www.instamanhwa.com", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("IsekaiScan.com", "https://isekaiscan.com", "en", className = "IsekaiScanCom", overrideVersionCode = 4), - SingleLang("IsekaiScan.eu (unoriginal)", "https://isekaiscan.eu", "en", className = "IsekaiScanEu", overrideVersionCode = 1), + SingleLang("IsekaiScan.to (unoriginal)", "https://isekaiscan.to", "en", pkgName = "isekaiscaneu", className = "IsekaiScanTo", overrideVersionCode = 2), SingleLang("IsekaiScanManga (unoriginal)", "https://isekaiscanmanga.com", "en", className = "IsekaiScanManga", overrideVersionCode = 1), SingleLang("Its Your Right Manhua", "https://itsyourightmanhua.com", "en", className = "ItsYourRightManhua", overrideVersionCode = 2), SingleLang("Izakaya", "https://leitorizakaya.net", "pt-BR", isNsfw = true, overrideVersionCode = 1),