mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
fix search
This commit is contained in:
parent
cd8cee3c7d
commit
59c56d6b82
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ class MacIPTVProvider(override var lang: String) : MainAPI() {
|
||||||
searchResutls.add(
|
searchResutls.add(
|
||||||
LiveSearchResponse(
|
LiveSearchResponse(
|
||||||
media.title,
|
media.title,
|
||||||
media.url,
|
media.toStringCode(),
|
||||||
name,
|
name,
|
||||||
TvType.Live,
|
TvType.Live,
|
||||||
media.url_image,
|
media.url_image,
|
||||||
|
@ -468,7 +468,7 @@ class MacIPTVProvider(override var lang: String) : MainAPI() {
|
||||||
////////////////////////// GET ALL GENRES
|
////////////////////////// GET ALL GENRES
|
||||||
responseGetGenretoJSON = responseGetgenre!!.parsed<JsonGetGenre>().js
|
responseGetGenretoJSON = responseGetgenre!!.parsed<JsonGetGenre>().js
|
||||||
////////////////////////// GET ALL CHANNELS
|
////////////////////////// GET ALL CHANNELS
|
||||||
val responseAllchannelstoJSON = responseAllchannels!!.parsed<Root>()
|
val responseAllchannelstoJSON = responseAllchannels!!.parsed<Root>() //parsedSafe
|
||||||
val AllchannelstoJSON = responseAllchannelstoJSON.js!!.data.sortByTitleNumber()
|
val AllchannelstoJSON = responseAllchannelstoJSON.js!!.data.sortByTitleNumber()
|
||||||
|
|
||||||
return HomePageResponse(
|
return HomePageResponse(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue