mirror of
https://github.com/recloudstream/cloudstream-extensions.git
synced 2024-08-15 03:03:54 +00:00
Added mal and anilist
This commit is contained in:
parent
4e82852969
commit
588b53bd6c
1 changed files with 2 additions and 0 deletions
|
|
@ -292,6 +292,8 @@ class AllAnimeProvider : MainAPI() {
|
||||||
rating = showData.averageScore?.times(100)
|
rating = showData.averageScore?.times(100)
|
||||||
tags = showData.genres
|
tags = showData.genres
|
||||||
year = showData.airedStart?.year
|
year = showData.airedStart?.year
|
||||||
|
addMalId(malId)
|
||||||
|
addAniListId(anilistId?.toIntOrNull())
|
||||||
duration = showData.episodeDuration?.div(60_000)
|
duration = showData.episodeDuration?.div(60_000)
|
||||||
addTrailer(showData.prevideos.filter { it.isNotBlank() }.map { "https://www.youtube.com/watch?v=$it" })
|
addTrailer(showData.prevideos.filter { it.isNotBlank() }.map { "https://www.youtube.com/watch?v=$it" })
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue