anitubeinua: add distinctBy for episodes
This commit is contained in:
parent
acb44e46a1
commit
dc77c66938
1 changed files with 2 additions and 2 deletions
|
@ -157,8 +157,8 @@ class AnitubeinuaProvider : MainAPI() {
|
||||||
this.tags = tags
|
this.tags = tags
|
||||||
this.rating = rating
|
this.rating = rating
|
||||||
this.recommendations = recommendations
|
this.recommendations = recommendations
|
||||||
addEpisodes(DubStatus.Dubbed, dubEpisodes)
|
addEpisodes(DubStatus.Dubbed, dubEpisodes.distinctBy{ it.name })
|
||||||
addEpisodes(DubStatus.Subbed, subEpisodes)
|
addEpisodes(DubStatus.Subbed, subEpisodes.distinctBy{ it.name })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue