Add INKR to default blocked groups on MangaDex (#14065)

* Add Inkr to default blocked groups on MangaDex.

* Update MangaDex Readme file.
This commit is contained in:
Alessandro Jean 2022-10-31 18:43:11 -03:00 committed by GitHub
parent 9e29bf4f6f
commit b8d7a9dd6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 7 deletions

View File

@ -50,6 +50,8 @@ A. Finding the **UUIDs**:
+ Azuki Manga | `5fed0576-8b94-4f9a-b6a7-08eecd69800d` + Azuki Manga | `5fed0576-8b94-4f9a-b6a7-08eecd69800d`
+ Bilibili Comics | `06a9fecb-b608-4f19-b93c-7caab06b7f44` + Bilibili Comics | `06a9fecb-b608-4f19-b93c-7caab06b7f44`
+ Comikey | `8d8ecf83-8d42-4f8c-add8-60963f9f28d9` + Comikey | `8d8ecf83-8d42-4f8c-add8-60963f9f28d9`
+ INKR | `caa63201-4a17-4b7f-95ff-ed884a2b7e60`
+ MangaHot | `319c1b10-cbd0-4f55-a46e-c4ee17e65139`
+ MangaPlus | `4f1de6a2-f0c5-4ac5-bce5-02c7dbb67deb` + MangaPlus | `4f1de6a2-f0c5-4ac5-bce5-02c7dbb67deb`
B. Blocking a group using their UUID in Tachiyomi MangaDex extension `v1.2.150+`: 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. 1. Tap on the option **Block Groups by UUID** and enter the UUIDs.
- By Default, the following groups are blocked: - 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: - Which are entered as:
``` ```
5fed0576-8b94-4f9a-b6a7-08eecd69800d, 06a9fecb-b608-4f19-b93c-7caab06b7f44, 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
``` ```

View File

@ -6,7 +6,7 @@ ext {
extName = 'MangaDex' extName = 'MangaDex'
pkgNameSuffix = 'all.mangadex' pkgNameSuffix = 'all.mangadex'
extClass = '.MangaDexFactory' extClass = '.MangaDexFactory'
extVersionCode = 173 extVersionCode = 174
isNsfw = true isNsfw = true
} }

View File

@ -87,12 +87,20 @@ object MDConstants {
return "${originalLanguagePref}_$dexLang" 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 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" 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" private const val blockedGroupsPref = "blockedGroups"
fun getBlockedGroupsPrefKey(dexLang: String): String { fun getBlockedGroupsPrefKey(dexLang: String): String {
return "${blockedGroupsPref}_$dexLang" return "${blockedGroupsPref}_$dexLang"