mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
IptvorgProvider from https://github.com/iptv-org/iptv
This commit is contained in:
parent
f6d6d38374
commit
7a05200d8c
1 changed files with 4 additions and 4 deletions
|
@ -34,8 +34,8 @@ class IptvorgProvider : MainAPI() {
|
||||||
LoadData(channelUrl, nationName, nationPoster, 0).toJson(),
|
LoadData(channelUrl, nationName, nationPoster, 0).toJson(),
|
||||||
this.name,
|
this.name,
|
||||||
TvType.TvSeries,
|
TvType.TvSeries,
|
||||||
nationPoster
|
nationPoster,
|
||||||
|
lang = channelUrl.substringAfterLast("/").substringBeforeLast(".")
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
return HomePageResponse(
|
return HomePageResponse(
|
||||||
|
@ -58,7 +58,7 @@ class IptvorgProvider : MainAPI() {
|
||||||
LiveSearchResponse(
|
LiveSearchResponse(
|
||||||
channelname,
|
channelname,
|
||||||
LoadData(streamurl, channelname, posterurl, 1).toJson(),
|
LoadData(streamurl, channelname, posterurl, 1).toJson(),
|
||||||
this@iptvorgProvider.name,
|
this@IptvorgProvider.name,
|
||||||
TvType.Live,
|
TvType.Live,
|
||||||
posterurl,
|
posterurl,
|
||||||
)
|
)
|
||||||
|
@ -117,7 +117,7 @@ class IptvorgProvider : MainAPI() {
|
||||||
val loadData = parseJson<LoadData>(data)
|
val loadData = parseJson<LoadData>(data)
|
||||||
callback.invoke(
|
callback.invoke(
|
||||||
ExtractorLink(
|
ExtractorLink(
|
||||||
this.name,
|
this@IptvorgProvider.name,
|
||||||
loadData.channelName,
|
loadData.channelName,
|
||||||
loadData.url,
|
loadData.url,
|
||||||
"",
|
"",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue