MCPcopy
hub / github.com/iptv-org/iptv / isInternational

Method isInternational

scripts/models/stream.ts:291–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289 }
290
291 isInternational(): boolean {
292 const feed = this.getFeed()
293 if (!feed) return false
294
295 const broadcastAreaCodes = feed.getBroadcastArea().codes
296 if (broadcastAreaCodes.join(';').includes('r/')) return true
297 if (broadcastAreaCodes.filter(code => code.includes('c/')).length > 1) return true
298
299 return false
300 }
301
302 hasCategory(category: sdk.Models.Category): boolean {
303 const channel = this.getChannel()

Callers 2

generateMethod · 0.80
generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected