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

Method updateTitle

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

Source from the content-addressed store, hash-verified

340 }
341
342 updateTitle(): this {
343 const channel = this.getChannel()
344
345 if (!channel) return this
346
347 const feed = this.getFeed()
348
349 this.title = channel.name
350 if (feed && !feed.is_main) {
351 this.title += ` ${feed.name}`
352 }
353
354 return this
355 }
356
357 normalizeURL() {
358 this.url = normalizeURL(this.url)

Callers 2

addStreamFunction · 0.95
updateWithIssueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected