Group / Channel

FieldTypeRequiredNotes
Group.namestringyesGroup display name.
Group.passstringnoGroup password; hidden until it matches.
Group.channelChannel[]yesChannels in the group.
Channel.namestringyesChannel display name.
Channel.urlsstring[]yesPlayback locations; without drm you may add $line name labels. With drm set, URLs are used verbatim 鈥?do not add labels.
Channel.numberstringnoDisplay channel number.
Channel.logostringnoOverrides the configuration logo.
Channel.epgstringnoOverrides the configuration EPG.
Channel.uastringnoOverrides the configuration User-Agent.
Channel.clickstringnoOverrides the configuration JavaScript click handler.
Channel.formatstringnoExplicit media MIME type.
Channel.originstringnoOverrides Origin.
Channel.refererstringnoOverrides Referer.
Channel.tvgIdstringnoEPG channel ID.
Channel.tvgNamestringnoEPG channel name.
Channel.headerobjectnoChannel HTTP headers; external lists inherit Live.header only when the whole header is empty, with no per-key merge.
Channel.drmDrmnoMedia DRM parameters, sub-fields in shared objects.
Channel.parseintegerno0=do not parse, 1=parse.
Channel.timeshiftobjectnoDraggable live timeline, same format as Result.timeshift.
Channel.catchupCatchupnoOverrides the configuration catch-up settings.

When the JSON is loaded from Live.url, the file's top level is a Group array as in the next section; when written inline in the configuration, put it inside lives[].groups.

Override order

Live defaults
logo, ua, epg, catchup
→Explicit channel value
Channel
Overrides per field
→When loading
Saved in App
boot, pass, keep

Channel.header is not merged key by key: as soon as a channel provides a non-empty header, the remaining keys of Live.header are no longer inherited.

Multiple lines and DRM

{
  "name": "Sample Channel 1",
  "urls": [
    "https://example.com/live/main.m3u8$main",
    "https://example.com/live/backup.m3u8$backup"
  ]
}
{
  "name": "DRM sample",
  "urls": ["https://example.com/live/drm.mpd"],
  "drm": {
    "type": "widevine",
    "key": "https://example.com/drm/license",
    "header": { "Referer": "https://example.com/" }
  }
}

With drm set, URLs in urls are used verbatim and $line name labels are not parsed.