Before downloading, you need a source for your TV data. Sources fall into three main categories: Using XMLTV for guide data - Plex Support

Downloading an xmltv.xml file is the standard way to populate an Electronic Program Guide (EPG) for IPTV players, media servers like Plex, and home theater software. This file contains structured television listings, including program names, start times, and descriptions. 1. Identify Your Source