October 31, 2023

TellyTV Docker & Plex for NZ TV

# References
# https://jonohill.nz/2019/3/11/plex-dvr-nz.html
# https://github.com/tellytv/telly
# https://www.matthuisman.nz/2017/07/new-updated-nz-iptv-files.html

mkdir /var/lib/telly

nano /var/lib/telly/telly.config.toml

[Discovery]                                    
  Device-Auth = "telly123"                     
  Device-ID = 12345678                         
  Device-UUID = ""
  Device-Firmware-Name = "hdhomeruntc_atsc"
  Device-Firmware-Version = "20150826"
  Device-Friendly-Name = "telly"
  Device-Manufacturer = "Silicondust"
  Device-Model-Number = "HDTC-2US"
  SSDP = true
[IPTV]
  Streams = 3
  Starting-Channel = 1
  XMLTV-Channels = true
  FFMpeg = true             
[Log]
  Level = "warn"
  Requests = false
[Web]
  Base-Address = "192.168.1.40:6077"
  Listen-Address = "0.0.0.0:6077"
[[Source]]
  Name = "FreeviewNZ"
  Provider = "Custom"
  M3U = "http://i.mjh.nz/nz/raw-tv.m3u8"
  Filter = ""
  FilterKey = ""
  FilterRaw = false
  Sort = ""

apt-get install docker.io

docker run -d \
  --name='telly' \
  --net='bridge' \
  -e TZ="Pacific/Auckland" \
  -p 192.168.1.40:6077:6077/tcp \
  -v /var/lib/telly:/etc/telly \
  --restart unless-stopped \
  tellytv/telly:dev-ffmpeg