====== Installing and configuring tvheadend on Odroid C2 ====== * download install the firmware \\ ''git clone https://github.com/OpenELEC/dvb-firmware'' \\ ''./install'' * checkout the repo \\ ''%%git clone --depth 1 https://github.com/tvheadend/tvheadend.git%%'' * install dependencies \\ ''apt install build-essential pkg-config libssl-dev bzip2 wget zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libavresample-dev gettext cmake libdvbcsa-dev ffmpeg avahi-utils libva-dev'' * ''%%./configure --disable-ffmpeg_static%%'' * ''make -j4'' * ''sudo make install'' * Create user \\ ''adduser tvheadend'' * Change permissions on DVB device (needs to be done every boot) \\ ''chown -R tvheadend:tvheadend /dev/dvb'' * Create config ''sudo -u tvheadend tvheadend -C'' * Visit on $HOST:9981 and begin configuration * Later, start with ''sudo -u tvheadend tvheadend'' * On the web interface, enable the DVB-T adapter * Create a network (type DVB-T), check "Create bouquet" * Force Scan