mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
small tvtype fix
This commit is contained in:
parent
73b80485a1
commit
02d09d3099
6 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 5
|
||||
version = 6
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 1
|
||||
version = 2
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 3
|
||||
version = 4
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue