stremiox: fix type

This commit is contained in:
hexated 2023-04-02 04:19:42 +07:00
parent 7e356b61b8
commit 5adc74aa95

View file

@ -140,7 +140,7 @@ class Stremio : MainAPI() {
return provider.newMovieLoadResponse( return provider.newMovieLoadResponse(
name, name,
"${provider.fixedUrl}/meta/${type}/${id}.json", "${provider.fixedUrl}/meta/${type}/${id}.json",
TvType.Others, TvType.Movie,
"${provider.fixedUrl}/stream/${type}/${id}.json" "${provider.fixedUrl}/stream/${type}/${id}.json"
) { ) {
posterUrl = poster posterUrl = poster
@ -150,7 +150,7 @@ class Stremio : MainAPI() {
return provider.newTvSeriesLoadResponse( return provider.newTvSeriesLoadResponse(
name, name,
"${provider.fixedUrl}/meta/${type}/${id}.json", "${provider.fixedUrl}/meta/${type}/${id}.json",
TvType.Others, TvType.TvSeries,
videos.map { videos.map {
it.toEpisode(provider, type) it.toEpisode(provider, type)
} }