rcrdit/rcrdit.cfg.example.xml

67 lines
3.0 KiB
XML

<!--
~ rcrdit records TV programs from TV tuners
~ Copyright (C) 2017 Travis Burtrum
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU Affero General Public License as
~ published by the Free Software Foundation, either version 3 of the
~ License, or (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU Affero General Public License for more details.
~
~ You should have received a copy of the GNU Affero General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!-- rename this to rcrdit.cfg.xml and pass it's path in as an argument -->
<rcrdit>
<!-- jdbc database path, sqlite/postgresql/oracle/anything jdbc should work too if proper libraries are available
postgres connecting to unix socket looks like:
<databaseUrl>jdbc:postgresql://localhost/rcrdit?user=rcrdit&amp;password=rcrdit&amp;serverTimezone=America/New_York&amp;socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&amp;socketFactoryArg=/run/postgresql/.s.PGSQL.5432</databaseUrl>
-->
<databaseUrl>jdbc:mysql://localhost:3306/rcrdit?user=rcrdit&amp;password=rcrdit&amp;serverTimezone=America/New_York</databaseUrl>
<!-- server uri (context path and port) for web application -->
<serverUri>http://localhost:8080/rcrdit/</serverUri>
<!-- paths to xmltv.xml files normally generated by xmltv scripts from schedulesdirect or http://zap2xml.awardspace.info/ -->
<xmltvPaths>
<xmltvPath>/etc/xmltv.xml</xmltvPath>
<xmltvPath>/etc/xmltv-other.xml</xmltvPath>
</xmltvPaths>
<!-- all channels you recieve, one of the names from each channel from xmltv.xml above -->
<channels>
<channel>2.1</channel>
<channel>2.2</channel>
<channel>2.3</channel>
<channel>7.1</channel>
<channel>7.2</channel>
<channel>7.3</channel>
<channel>16.1</channel>
<channel>16.2</channel>
<channel>16.3</channel>
<channel>16.4</channel>
<channel>16.5</channel>
<channel>22.1</channel>
<channel>22.2</channel>
<channel>22.3</channel>
<channel>22.4</channel>
<channel>26.1</channel>
<channel>26.2</channel>
<channel>26.3</channel>
<channel>43.1</channel>
<channel>43.2</channel>
<channel>43.3</channel>
<channel>43.4</channel>
<channel>43.5</channel>
<channel>45.1</channel>
<channel>45.2</channel>
<channel>45.3</channel>
</channels>
<!-- all tuners available and their configuration, HDHomeRun is currently the only option -->
<tuners>
<tuner type="HDHomeRun" url="http://10.16.18.105:5004/auto/v%s"/>
<tuner type="HDHomeRun" url="http://10.16.18.105:5004/auto/v%s"/>
</tuners>
</rcrdit>