mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-14 02:50:07 -04:00
Update src/
This commit is contained in:
parent
e411cec545
commit
2a893a827b
33 changed files with 416 additions and 186 deletions
|
@ -272,6 +272,10 @@ export class Channel {
|
|||
return broadcastArea.uniqBy((broadcastArea: BroadcastArea) => broadcastArea.code)
|
||||
}
|
||||
|
||||
getFeedNames(): Collection {
|
||||
return this.getFeeds().map((feed: Feed) => feed.name)
|
||||
}
|
||||
|
||||
getSearchable(): ChannelSearchable {
|
||||
return {
|
||||
id: this.id,
|
||||
|
@ -308,7 +312,8 @@ export class Channel {
|
|||
_broadcastLocationNames: this.getBroadcastLocationNames().all(),
|
||||
_countryName: this.getCountryName(),
|
||||
_guideSiteNames: this.getGuideSiteNames().all(),
|
||||
_streamUrls: this.getStreamUrls().all()
|
||||
_streamUrls: this.getStreamUrls().all(),
|
||||
_feedNames: this.getFeedNames().all()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue