Skip to content

Environment Variables

Jonathan Caicedo edited this page May 15, 2026 · 2 revisions

Environment Variables

Variable Description Default
LINEUP_ID Lineup ID; Read more in the Wiki USA-lineupId-DEFAULT (Attenna)
TIMESPAN Timespan in hours (up to 360 = 15 days, default: 72) 72
PREF User Preferences, comma separated list. m for showing music, p for showing pay-per-view, h for showing HD (empty)
COUNTRY Country code (default: USA) USA
POSTAL_CODE Postal code of where shows are available. Only required for Over the Air as long as COUNTRY and LINEUP_ID valid. Note for Zip Codes that begin with 0 put them in quotes "014501" -
USER_AGENT Custom user agent string for HTTP requests. Uses random if not specified
TZ Timezone System default
SLEEP_TIME Sleep time before next run in seconds (default: 21600, Only used with Docker.) 21600
OUTPUT_FILE Output file name (default: xmltv.xml) xmltv.xml
APPEND_ASTERISK Set TRUE to add * to Programs that are New or Live FALSE
MEDIA_PORTAL Set TRUE to list <episode-num system="xmltv_ns"> tag before others to display FALSE
NEXTPVR Set TRUE to list <display name>2 WCBSDT</display name> tag before others to display FALSE
SORTNAME Set TRUE to sort output alphabetically by CallSign. Default is Channel Number from lineup. FALSE
STATIONID Set TRUE to sort output by StationId. Default is Channel Number from lineup. FALSE
CONFIG_FILE Path to a YAML file defining multiple listings. See Multi-Listing Config.

Clone this wiki locally