/tvdaemon

Primary LanguageC++GNU General Public License v2.0GPL-2.0

Prerequisites
==============

Supported distros:
- Ubuntu >= trusty
- Debian >= jessie

Build dependencies:

sudo apt-get install autoconf libtool automake autopoint pkg-config g++ \
                    gettext libudev-dev libconfig++8-dev \
                    libjson-c-dev \
                    libccrtp-dev libdvbcsa-dev dvb-apps libavahi-client-dev \
                    libssl-dev


Checkout TVDaemon
==================

git clone https://github.com/neolynx/tvdaemon.git
cd tvdaemon

Build tvdaemon
===============

./build.sh

Start tvdaemon locally
=======================

src/tvdaemon -d -r html

Configure tvdaemon
===================

Point your browser to http://loalhost:7777/ (or where your tvdaemon is reachable).

You should see your DVB adapter(s) in the Setup page.

To configure a DVB source:
- click on the 'Undefined' right of the antenna icon
- select 'Create Source'
- specify the Name, i.e. hometown
- select a configuration to initially create the transponders
  (if the list is empty, install dvb-apps)
- tvdaemon should not scan the transponders and add services to the Services tab
- click on the services to add them to the Channels tab
- the Channels are then scanned for DVB EPG data
- in the EPG tab, click on an entry to schedule recording


Install tvdaemon
=================

cd v4l-utils/lib/libdvbv5
sudo make install
cd -
sudo make install

GDB
====

In order to launch the application with gdb without a make install,
use libtool from the root folder: libtool --mode=execute gdb src/tvdaemon

Valgrind
=========
libtool --mode=execute valgrind --leak-check=full --log-file=vg.out src/tvdaemon -d -r html