Better importing of backups from Tachiyomi containing E-Hentai/ExHentai/nhentai/PervEden
This commit is contained in:
parent
49833fcc48
commit
23c1827838
@ -86,6 +86,39 @@ object EXHMigrations {
|
|||||||
manga.url = getUrlWithoutDomain(manga.url)
|
manga.url = getUrlWithoutDomain(manga.url)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow importing of nhentai extension backups
|
||||||
|
if(manga.source == 3122156392225024195) {
|
||||||
|
manga.source = NHENTAI_SOURCE_ID
|
||||||
|
}
|
||||||
|
|
||||||
|
// Allow importing of Italian PervEden extension backups
|
||||||
|
if(manga.source == 1433898225963724122) {
|
||||||
|
manga.source = PERV_EDEN_IT_SOURCE_ID
|
||||||
|
}
|
||||||
|
|
||||||
|
if(manga.source in listOf(
|
||||||
|
8100626124886895451,
|
||||||
|
57122881048805941,
|
||||||
|
4678440076103929247,
|
||||||
|
1876021963378735852,
|
||||||
|
3955189842350477641,
|
||||||
|
4348288691341764259,
|
||||||
|
773611868725221145,
|
||||||
|
5759417018342755550,
|
||||||
|
825187715438990384,
|
||||||
|
6116711405602166104,
|
||||||
|
7151438547982231541,
|
||||||
|
2171445159732592630,
|
||||||
|
3032959619549451093,
|
||||||
|
5980349886941016589,
|
||||||
|
6073266008352078708,
|
||||||
|
5499077866612745456,
|
||||||
|
6140480779421365791
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
manga.source = EH_SOURCE_ID
|
||||||
|
}
|
||||||
|
|
||||||
return Observable.just(backupEntry)
|
return Observable.just(backupEntry)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user