Code reference · Source
:source:iptvorg
The optional channel-logo reference list.
dev.quiblo.source.iptvorg
The opposite shape to the metadata service, because the data is. The reference list is one large static file, so it is downloaded once, stored and queried locally — a request per channel is not an option the API offers, and downloading it per session would be several megabytes to answer a question about a logo.
classIptvOrgClient
Downloads and indexes the public channel list.
data classChannelLogo
A normalised match key and the logo URL it resolves to.
data classIptvOrgChannelDto / IptvOrgLogoDto
The upstream payloads.
objectiptvOrgMatchKey
Normalises a channel name so two spellings of the same channel agree.
Name matching across providers is inherently lossy — "BBC One HD", "BBC 1 HD" and "UK: BBC One FHD" are the same channel to a viewer and different strings to a computer. The key is deliberately conservative: a missed match shows the provider's own artwork or none, where a wrong match shows another channel's logo, which is worse.