mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
stremiox: fix type
This commit is contained in:
parent
7e356b61b8
commit
5adc74aa95
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue