Tvheadend: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>NedBot
m (Robot: Cosmetic changes)
(Moved content to add-on page)
 
(39 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{:PVR/Contents}}
#REDIRECT [[Add-on:Tvheadend_HTSP_Client]]
Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources and can be used as a PVR backend of XBMC.
 
Tvheadend does not currently support Timeshifting or live rewind, however all other PVR functions should work without issue.
__TOC__
{{-}}
== Preinstalled options ==
The following XBMC/OS distributions come with Tvheadend already installed, or easily installed as an option. These are great one-stop solutions that can greatly simplify the installation of the backend, as well as various other benefits unique to those distros.
* [[OpenELEC]] - In addition to coming with Tvheadend software and a Tvheadend XBMC PVR add-on, OpenELEC has both current XBMC v12 builds (with native PVR support) as well as special XBMC v11 PVR builds.
 
== Installing Tvheadend ==
 
;Basic
:Most Debian and Ubuntu installations can take advantage of the standard [[w:Advanced Packaging Tool|APT]] installation methods for getting Tvheadend installed, either using a GUI package manager, or from the command line using "<code>apt-get install tvheadend</code>".
 
:For more info, see: https://www.lonelycoder.com/redmine/projects/tvheadend/wiki/Download
 
;Raspberry Pi
:The easiest way to get Tvheadend on the Raspberry Pi is to use [[OpenELEC]] or [[Raspbmc]]. You can also use the Arch Linux ARM instructions below if you are using Arch Linux ARM on the R-Pi.
 
;Crystalbuntu 1
{{see|PVR/Backend/Tvheadend/Crystalbuntu 1}}
 
;Arch Linux ARM (Pogoplug, Dockstar, etc)
{{see|PVR/Backend/Tvheadend/ALARM}}
 
;Synology NAS
:You can install Tvheadend from the Syno Community repo through the DiskStation Manager: http://www.synocommunity.com/repository
 
== Tvheadend quick start guide ==
;{{Note|This is just the most basic steps needed to get a signal from your PVR backend to XBMC. This guide probably doesn't include everything you will want to do, like name channels, get the electronic programming guide (EPG/TV guide) set up, remove channels, etc.
::For help with those features see '''[[#Additional guides and links]]'''.}}
 
{| cellpadding="8" cellspacing="0"
|- valign="top" bgcolor="whitesmoke" |
| '''1.''' || Make sure Tvheadend is up and running ''(see here for details: https://www.lonelycoder.com/redmine/projects/tvheadend/wiki/Install_and_initial_setup )''
|- valign="top" |
| '''2.''' || All configuration is done in a web browser. If you are on the same machine that Tvheadend is installed then point your browser to <nowiki>http://localhost:9981</nowiki> . If you are on a different machine than Tvheadend, then point your browser to <nowiki>http://IP.ADDRESS.GOES.HERE:9981</nowiki> , where IP.ADDRESS.GOES.HERE = the IP address of the machine that Tvheadend is installed on. ''For example: <nowiki>http://192.168.0.3:9981</nowiki>''
|- valign="top" bgcolor="whitesmoke" |
|  '''3.''' || [[File:tvheadend1.png|right|border]]
# Click on the '''Configuration''' tab
# Click on the '''TV Adapters''' tab
# Click on the arrow for the drop-down menu
# Select your TV tuner adapter
 
If your tuner hardware is not detected or is having issues, check http://linuxtv.org for driver support.
|- valign="top" |
| '''4.''' || [[File:tvheadend2.png|640px|right|border]] You will see a window like this. Now you will want to click on "'''Add DVB Network by location'''".
|- valign="top" bgcolor="whitesmoke" |
| '''5.''' || [[File:tvheadend3.png|right|border]]
# From the menus select your location and the type of signal you are trying to receive. In this example we're using a generic list for QAM, a US signal for cable TV.
# Then click "'''Add DVB Network'''" at the bottom.
|- valign="top" |
| '''6.''' || [[File:tvheadend4.png|right]] Wait for the number under "'''Muxes awaiting initial scan'''" to reach zero. If the number under "'''Services'''" is also zero, then that means Tvheadend has not picked up any channels. You may need to check your hardware or if you've selected the right signal type (step 5), or even your tuner driver (see http://linuxtv.org for driver support).
|- valign="top" bgcolor="whitesmoke" |
| '''7.''' || [[File:tvheadend5.png|right|border]] Click on "'''Map DVB services to channels'''". You should now be able to pick up TV channels in XBMC once you configure the Tvheadend add-on configuration in the next section, "'''[[#Connecting XBMC to Tvheadend]]'''".
|}
 
== Connecting XBMC to Tvheadend ==
{{PVR repo notice}}
# Go to {{highlight|Settings -> Add-ons -> Enabled add-ons -> PVR Clients}} and select the Tvheadend add-on
# Select "Configure"
# By default, you should only need to fill in '''Tvheadend hostname or IP address'''.
 
<section begin="Settings" />
[[File:Tvheadend HTSP Client.settings.png|500px|right]]
{|
|
; Tvheadend hostname or IP address
: The hostname or IP address of the server where Tvheadend is installed. If on the same machine then 'localhost' can be used.
; HTTP port
: The default for Tvheadend is 9981 but this will need updating if you have changed it in the Tvheadend settings.
; HTSP port
: The default for Tvheadend is 9982 but this will need updating if you have changed it in the Tvheadend settings.
; Username
: If you have configured Tvheadend to require a username then enter it here. This can be blank.
; Password
: If you have configured Tvheadend to require a password then enter it here. This can be blank.
; Connect timeout in seconds
: The default is 10 seconds however this can be lowered if you want XBMC to timeout connections to the Tvheadend backend quicker.
; Response timeout in seconds
: The default is 5 seconds however this can be lowered if you want XBMC to timeout requests to the Tvheadend backend quicker.
|}
{{-}}
<section end="Settings" />
 
{{Next|[[PVR/XBMC|Configuring XBMC]]}}
 
== Additional guides and links ==
* Tvheadend website - https://www.lonelycoder.com/redmine/projects/tvheadend
** [https://www.lonelycoder.com/redmine/projects/tvheadend/wiki Documentation]
** [https://www.lonelycoder.com/redmine/projects/tvheadend/boards Support forum]
* Tvheadend backend for XBMC support forum - http://forum.xbmc.org/forumdisplay.php?fid=168
* Using HDHomeRun products with Tvheadend - https://www.lonelycoder.com/redmine/boards/14/topics/3368

Latest revision as of 07:17, 30 November 2020