Tvheadend

From ArchWiki
Jump to: navigation, search

Tvheadend is a TV streaming server and recorder. Tvheadend supports DVB-S/S2, DVB-C/C2, DVB-T, ATSC, ISDB-T, IPTV, SAT>IP and HDHomeRun as input sources.

Installation

Tvheadend is available from the AUR as tvheadendAUR or tvheadend-gitAUR (development branch).

Since v4.2.1, tvheadendAUR has been updated with the features and capabilities of the development branch, so feature wise they're roughly on par.

HDHomeRun

HDHomeRun support should be working out-of-the-box in the tvheadendAUR package.

By default the tvheadend-gitAUR package does not have HDHomeRun support enabled. To enable you will need to edit the PKGBUILD and add libhdhomerun to the depends list. Finally remove --disable-hdhomerun_static and replace with --enable-hdhomerun_client in build.

Playback Clients

Usage

Once Tvheadend is installed start/enable the tvheadend.service.

Configuration

Once the service is running, configuration of Tvheadend is done through a web interface on localhost:9981.

The service should automatically generate Tvheadend username and passwords that are the same as your system. You can log in as root with your system's root password.

XMLTV

If you want to obtain schedule data from an outside source like Schedules Direct, then you should also install xmltvAUR.

Tips and tricks

Use CAPMT (Linux Network DVBAPI) with OSCam

install oscam-gitAUR to provide a softcam for Tvheadend.

The following settings may be used when using DVB-API as Conditional Access Client:

Parameter Value
Client name OSCam
Mode OSCam net protocol (rev >= 10389)
IP Address (TCP mode) localhost
Connect port: 9000

Add the user vdr with vdr as password in OSCam.

Set DVB Api Config to use at least the following parameters:

Parameter Value
Boxtype pc
User vdr
PMT Mode 4
Listen port 9000

Restart oscam.service and tvheadend.service to apply the changes.