small tvtype fix

This commit is contained in:
hexated 2022-10-18 19:52:23 +07:00
parent 73b80485a1
commit 02d09d3099
6 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 5
version = 6
cloudstream {

View file

@ -93,7 +93,7 @@ class GoodPorn : MainAPI() {
it.toSearchResult()
}
return newMovieLoadResponse(title, url, TvType.Movie, LoadData(res.url, res.trailer).toJson()) {
return newMovieLoadResponse(title, url, TvType.NSFW, LoadData(res.url, res.trailer).toJson()) {
this.posterUrl = poster
this.plot = description
this.tags = tags

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 1
version = 2
cloudstream {

View file

@ -81,7 +81,7 @@ class Hentaiheaven : MainAPI() {
it.toSearchResult()
}
return newAnimeLoadResponse(title, url, TvType.Anime) {
return newAnimeLoadResponse(title, url, TvType.NSFW) {
engName = title
posterUrl = poster
addEpisodes(DubStatus.Subbed, episodes)

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 3
version = 4
cloudstream {

View file

@ -90,7 +90,7 @@ class Paradisehill : MainAPI() {
it.toSearchResult()
}
return newTvSeriesLoadResponse(title, url, TvType.TvSeries, episodes) {
return newTvSeriesLoadResponse(title, url, TvType.NSFW, episodes) {
this.posterUrl = poster
this.plot = description
this.tags = tags