TVDB: better handling of first run
[nonametv.git] / examples / nonametv.conf.public
blob77e318340ae9c7cd0c3084b544717af419aebfce
2   DataStore => 
3   { 
4     type => 'MySQL',
5     dbhost => 'sto.holmlund.se',
6     dbname => 'listings',
7     username => 'root',
8     password => '',
9   },
11   Cache =>
12   {
13     BasePath => '/var/local/nonametv/cache',  # Should be persistent between reboots.
14     MaxAge => 8*24, # Files are deleted from the cache after MaxAge hours.
15 #    Verbose => 1,
16   },
18   LogFile => "/var/log/nonametv/nonametv.log",
20   Importers =>
21   {
22         
23     Discovery =>
24     {
25       Type => 'Discovery',
26     },
28     Infomedia => 
29     {
30       Type => 'Infomedia',
31 #      UrlRoot => 'http://www.infomedia.lu/listings/schedule.asp',
32       UrlRoot => 'http://www.infomedia.lu/infomedia_demand/' . 
33                  'schedules_channels.asp',
34       MaxDays => 16,
35     },
37     Combiner => 
38     {
39       Type => 'Combiner',
40       UrlRoot => 'http://www.holmlund.se/xmltv/',
41       MaxDays => 15,
42     },
44     Timeshifter => 
45     {
46       Type => 'Timeshifter',
47       UrlRoot => 'http://www.holmlund.se/xmltv/',
48       MaxDays => 14,
49     },
51     Expressen =>
52     {
53        Type => 'Expressen',
54     },
56     VH1 =>
57     {
58        Type => 'VH1',
59     },
60   },
62   Exporters =>
63   {
64     Xmltv => 
65     {
66       Type => 'Xmltv',
67       Root => '/var/local/nonametv/xmltv_staging/',
68       RootUrl => 'http://xmltv.tvsajten.com/xmltv/',
69       IconRootUrl => 'http://xmltv.tvsajten.com/chanlogos/',
70       MinDays => 10,  # Warn if there is data for less than 
71                       # MinDays for a channel.
72       MaxDays => 15,
73       Encoding => "ISO-8859-1",
74       Language => 'sv',
75       DtdFile => '/usr/share/sgml/xmltv/dtd/0.5/xmltv.dtd',
76     },
77   },