diff --git a/SuperStream/build.gradle.kts b/SuperStream/build.gradle.kts index 429798e..d388487 100644 --- a/SuperStream/build.gradle.kts +++ b/SuperStream/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 3 +version = 4 cloudstream { @@ -7,7 +7,7 @@ cloudstream { // All of these properties are optional, you can safely remove them // description = "Lorem Ipsum" - // authors = listOf("Cloudburst") + authors = listOf("Blatzar") /** * Status int as the following: diff --git a/SuperStream/src/main/kotlin/com/lagradost/SuperStream.kt b/SuperStream/src/main/kotlin/com/lagradost/SuperStream.kt index 25295f5..3885358 100644 --- a/SuperStream/src/main/kotlin/com/lagradost/SuperStream.kt +++ b/SuperStream/src/main/kotlin/com/lagradost/SuperStream.kt @@ -257,6 +257,7 @@ class SuperStream : MainAPI() { private data class Data( @JsonProperty("id") val id: Int? = null, + @JsonProperty("mid") val mid: Int? = null, @JsonProperty("box_type") val boxType: Int? = null, @JsonProperty("title") val title: String? = null, @JsonProperty("poster_org") val posterOrg: String? = null, @@ -269,7 +270,7 @@ class SuperStream : MainAPI() { fun toSearchResponse(api: MainAPI): MovieSearchResponse? { return api.newMovieSearchResponse( this.title ?: "", - LoadData(this.id ?: return null, this.boxType).toJson(), + LoadData(this.id ?: this.mid ?: return null, this.boxType ?: ResponseTypes.Movies.value).toJson(), ResponseTypes.getResponseType(this.boxType).toTvType(), false ) {