From b8d7a9dd6e2cc6c25e526f8c331574d9103a844f Mon Sep 17 00:00:00 2001 From: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com> Date: Mon, 31 Oct 2022 18:43:11 -0300 Subject: [PATCH] Add INKR to default blocked groups on MangaDex (#14065) * Add Inkr to default blocked groups on MangaDex. * Update MangaDex Readme file. --- src/all/mangadex/README.md | 7 +++++-- src/all/mangadex/build.gradle | 2 +- .../extension/all/mangadex/MDConstants.kt | 16 ++++++++++++---- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/all/mangadex/README.md b/src/all/mangadex/README.md index ac4ac26f5..e1859cc12 100644 --- a/src/all/mangadex/README.md +++ b/src/all/mangadex/README.md @@ -50,6 +50,8 @@ A. Finding the **UUIDs**: + Azuki Manga | `5fed0576-8b94-4f9a-b6a7-08eecd69800d` + Bilibili Comics | `06a9fecb-b608-4f19-b93c-7caab06b7f44` + Comikey | `8d8ecf83-8d42-4f8c-add8-60963f9f28d9` + + INKR | `caa63201-4a17-4b7f-95ff-ed884a2b7e60` + + MangaHot | `319c1b10-cbd0-4f55-a46e-c4ee17e65139` + MangaPlus | `4f1de6a2-f0c5-4ac5-bce5-02c7dbb67deb` B. Blocking a group using their UUID in Tachiyomi MangaDex extension `v1.2.150+`: @@ -58,10 +60,11 @@ B. Blocking a group using their UUID in Tachiyomi MangaDex extension `v1.2.150+` 1. Tap on the option **Block Groups by UUID** and enter the UUIDs. - By Default, the following groups are blocked: ``` - Azuki Manga, Bilibili Comics, Comikey & MangaPlus + Azuki Manga, Bilibili Comics, Comikey, INKR, MangaHot & MangaPlus ``` - Which are entered as: ``` 5fed0576-8b94-4f9a-b6a7-08eecd69800d, 06a9fecb-b608-4f19-b93c-7caab06b7f44, - 8d8ecf83-8d42-4f8c-add8-60963f9f28d9, 4f1de6a2-f0c5-4ac5-bce5-02c7dbb67deb + 8d8ecf83-8d42-4f8c-add8-60963f9f28d9, caa63201-4a17-4b7f-95ff-ed884a2b7e60, + 319c1b10-cbd0-4f55-a46e-c4ee17e65139, 4f1de6a2-f0c5-4ac5-bce5-02c7dbb67deb ``` diff --git a/src/all/mangadex/build.gradle b/src/all/mangadex/build.gradle index 7201cdfcb..5c27d365b 100644 --- a/src/all/mangadex/build.gradle +++ b/src/all/mangadex/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'MangaDex' pkgNameSuffix = 'all.mangadex' extClass = '.MangaDexFactory' - extVersionCode = 173 + extVersionCode = 174 isNsfw = true } diff --git a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MDConstants.kt b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MDConstants.kt index a4fdc068d..25fd4861c 100644 --- a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MDConstants.kt +++ b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MDConstants.kt @@ -87,12 +87,20 @@ object MDConstants { return "${originalLanguagePref}_$dexLang" } - private const val groupMangaPlus = "4f1de6a2-f0c5-4ac5-bce5-02c7dbb67deb" - private const val groupComikey = "8d8ecf83-8d42-4f8c-add8-60963f9f28d9" - private const val groupBilibili = "06a9fecb-b608-4f19-b93c-7caab06b7f44" private const val groupAzuki = "5fed0576-8b94-4f9a-b6a7-08eecd69800d" + private const val groupBilibili = "06a9fecb-b608-4f19-b93c-7caab06b7f44" + private const val groupComikey = "8d8ecf83-8d42-4f8c-add8-60963f9f28d9" + private const val groupInkr = "caa63201-4a17-4b7f-95ff-ed884a2b7e60" private const val groupMangaHot = "319c1b10-cbd0-4f55-a46e-c4ee17e65139" - val defaultBlockedGroups = setOf(groupMangaPlus, groupComikey, groupBilibili, groupAzuki, groupMangaHot) + private const val groupMangaPlus = "4f1de6a2-f0c5-4ac5-bce5-02c7dbb67deb" + val defaultBlockedGroups = setOf( + groupAzuki, + groupBilibili, + groupComikey, + groupInkr, + groupMangaHot, + groupMangaPlus + ) private const val blockedGroupsPref = "blockedGroups" fun getBlockedGroupsPrefKey(dexLang: String): String { return "${blockedGroupsPref}_$dexLang"