Skip to content

6b. Station List

edit4ever edited this page Jan 25, 2018 · 1 revision

Editing the station list setting

<setting id="slist">21212,73496,100093,20377,24028,69874,50770,106580</setting>

If you would like to limit the download data by only downloading the information for specific stations, you will need to get the list of station ids. In order to do this outside of the kodi addon, follow the steps below.

  1. Configure the settings.xml file for your lineup and tvheadend options
  2. Set the number of days to 1 <setting id="days">1</setting>
  3. Disable the download extra details option <setting id="xdetails">false</setting>
  4. Run the zap2peg.py script
  5. After the xmltv.xml is generated - open it

The top of the xmltv.xml file will contain station lists that look like the following:

<channel id="21212.zap2epg">
	<display-name>KFMB-DT</display-name>
	<display-name>8.1 KFMBDT</display-name>
	<display-name>KFMBDT</display-name>
	<display-name>8.1</display-name>
	<icon src="http://zap2it.tmsimg.com/h3/NowShowing/21212/s28711_h3_aa.png" />
</channel>

For each station you would like to include in the guide data download, copy the number from the channel id <channel id="21212.zap2epg"> in this example 21212 and add it to the list of numbers in the slist setting. Separate each number with a comma.

To include all stations, leave this setting blank like this:

<setting id="slist"></setting>

Clone this wiki locally