Skip to content

Australian EPG

Mark Campbell-Smith edited this page Mar 28, 2023 · 2 revisions

Although yourtv.pl still works, it has some issues with the provider rate limiting the data for use on xmltv.net This has been created instead.

Standard usage is au_epg.pl --config=<configuration filename>

Issue au_epg.pl --help for extra help.

The configuration file has the following format and options:

[main]
This section defines a list of common input parameters for the program
Below are a list of parameters and values

region=<region number>. Mandatory. This can be a single region number or a comma-separated list of region numbers.
output=<xml output file location and/or name>. Mandatory.  This can either be a directory or a directory and filename.
       If the output filename is not specified, it will be automatically assigned based on region name.
log=<logfile name>. Optional
days=<the number of days to collect data for. range 1-7> Optional. Default: 7
message=<message>. Allows a message to be shown at the bottom of Plex EPG. Optional
pretty=<true/false>. Defines if the xml output should be formated. Optional. Default=true
debuglevel=<0-3>. Extra debugging logging. Optional. Default=0

use the option -help to get a list of region numbers

==============================================================================

[<region number>-duplicate]
This section allows the creation of guides where different channels have the same data.
There can be one duplicate section per region
The format is:
<new channel number>=<existing channel number>
21=2 will create a channel 21 with the same data as from channel 2

==============================================================================

==============================================================================

[<region number>-extrachannels]
This section allows the creation of guides for channels from a different region.
The new channel will not be created if a channel with the same number already
exist for the region defined in the main section.
The format is:
<new channel number>=<region number>-<existing channel number>
21=29-2 will create a channel 21 with the same data as from region 29, channel 2

==============================================================================

This is the standard configuration file that is used:

[main]
region=<region number>
output=<directory only or directory+filename to save xml>
days=<number of days in EPG. Max is 7>

[<region number>-duplicate]
<new LCN number>=<LCN to copy>

[<region number>-extrachannels]
<new LCN number>=<region to copy data from>-<LCN to copy data from>

au_epg-mappings contains some useful information that help with duplicate and extra channel information

Clone this wiki locally