SuperStream fix bookmarks (you need to redo them if they do not work) and some shows not loading

This commit is contained in:
reduplicated 2022-08-05 15:36:05 +02:00
parent 96226aa237
commit 5026bfc54b

View file

@ -376,7 +376,7 @@ class SuperStream : MainAPI() {
@JsonProperty("thumbs_min") val thumbsMin: String? = null, @JsonProperty("thumbs_min") val thumbsMin: String? = null,
@JsonProperty("thumbs_org") val thumbsOrg: String? = null, @JsonProperty("thumbs_org") val thumbsOrg: String? = null,
@JsonProperty("imdb_link") val imdbLink: String? = null, @JsonProperty("imdb_link") val imdbLink: String? = null,
@JsonProperty("quality_tags") val qualityTags: ArrayList<String> = arrayListOf(), // @JsonProperty("quality_tags") val qualityTags: ArrayList<String> = arrayListOf(),
// @JsonProperty("play_progress" ) val playProgress : PlayProgress? = PlayProgress() // @JsonProperty("play_progress" ) val playProgress : PlayProgress? = PlayProgress()
) )
@ -462,7 +462,7 @@ class SuperStream : MainAPI() {
return newMovieLoadResponse( return newMovieLoadResponse(
data.title ?: "", data.title ?: "",
data.imdbLink ?: "", url,
TvType.Movie, TvType.Movie,
LinkData( LinkData(
data.id ?: throw RuntimeException("No movie ID"), data.id ?: throw RuntimeException("No movie ID"),
@ -493,7 +493,7 @@ class SuperStream : MainAPI() {
return newTvSeriesLoadResponse( return newTvSeriesLoadResponse(
data.title ?: "", data.title ?: "",
data.imdbLink ?: data.tomatoUrl ?: "", url,
TvType.TvSeries, TvType.TvSeries,
episodes.mapNotNull { episodes.mapNotNull {
Episode( Episode(