Tvheadend: Difference between revisions
No edit summary |
m (Bot: Automated text replacement (- XBMC + {{name}} )) |
||
Line 6: | Line 6: | ||
== Preinstalled options == | == 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. | 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 | * [[OpenELEC]] - In addition to coming with Tvheadend software and a Tvheadend {{name}} PVR add-on, OpenELEC has both current {{name}} v12 builds (with native PVR support) as well as special {{name}} v11 PVR builds. | ||
== Installing Tvheadend == | == Installing Tvheadend == | ||
Line 61: | Line 61: | ||
|- valign="top" bgcolor="whitesmoke" | | |- 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 | | '''7.''' || [[File:tvheadend5.png|right|border]] Click on "'''Map DVB services to channels'''". You should now be able to pick up TV channels in {{name}} once you configure the Tvheadend add-on configuration in the next section, "'''[[#Connecting {{name}} to Tvheadend]]'''". | ||
|} | |} | ||
== Connecting | == Connecting {{name}} to Tvheadend == | ||
{{PVR repo notice}} | {{PVR repo notice}} | ||
# Go to {{highlight|Settings -> Add-ons -> Enabled add-ons -> PVR Clients}} and select the Tvheadend add-on | # Go to {{highlight|Settings -> Add-ons -> Enabled add-ons -> PVR Clients}} and select the Tvheadend add-on | ||
Line 85: | Line 85: | ||
: If you have configured Tvheadend to require a password then enter it here. This can be blank. | : If you have configured Tvheadend to require a password then enter it here. This can be blank. | ||
; Connect timeout in seconds | ; Connect timeout in seconds | ||
: The default is 10 seconds however this can be lowered if you want | : The default is 10 seconds however this can be lowered if you want {{name}} to timeout connections to the Tvheadend backend quicker. | ||
; Response timeout in seconds | ; Response timeout in seconds | ||
: The default is 5 seconds however this can be lowered if you want | : The default is 5 seconds however this can be lowered if you want {{name}} to timeout requests to the Tvheadend backend quicker. | ||
|} | |} | ||
{{-}} | {{-}} | ||
Line 98: | Line 98: | ||
** [https://tvheadend.org/projects/tvheadend/wiki Documentation] | ** [https://tvheadend.org/projects/tvheadend/wiki Documentation] | ||
** [https://tvheadend.org/projects/tvheadend/boards Support forum] | ** [https://tvheadend.org/projects/tvheadend/boards Support forum] | ||
* Tvheadend backend for | * Tvheadend backend for {{name}} support forum - http://forum.xbmc.org/forumdisplay.php?fid=168 | ||
* Using HDHomeRun products with Tvheadend - https://tvheadend.org/boards/14/topics/3368 | * Using HDHomeRun products with Tvheadend - https://tvheadend.org/boards/14/topics/3368 |
Revision as of 01:18, 5 June 2014
PVR | Recording software | Tvheadend |
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. Version 3.4 and up also include support for timeshifting.
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 APT installation methods for getting Tvheadend installed, either using a GUI package manager, or from the command line using "
apt-get install tvheadend
". The install procedure normally creates a user named "hts", which is the user Tvheadend will run as. You should check that the "hts" user has sufficient permissions to your tuner (usually /dev/dvb/adapter0/frontend0). Running the command "sudo adduser hts video
" should be sufficient.
- For more info, see: https://tvheadend.org/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.
- Arch Linux
- See: HOW-TO:Install Tvheadend on Arch Linux
(including PogoPlug)
- 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.
1. | Make sure Tvheadend is up and running (see here for details: https://tvheadend.org/projects/tvheadend/wiki/Install_and_initial_setup ) |
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 http://localhost:9981 . If you are on a different machine than Tvheadend, then point your browser to http://IP.ADDRESS.GOES.HERE:9981 , where IP.ADDRESS.GOES.HERE = the IP address of the machine that Tvheadend is installed on. For example: http://192.168.0.3:9981 |
3. |
If your tuner hardware is not detected or is having issues, check http://linuxtv.org for driver support. |
4. | You will see a window like this. Now you will want to click on "Add DVB Network by location". |
5. |
|
6. | 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).
It might be possible that the firmware can't be found. Check [ 3931.964710] xc5000: waiting for firmware upload (dvb-fe-xc5000c-4.1.30.7.fw)... [ 3931.970217] xc5000: Upload failed. (file not found?) In this case, the Hauppauge WinTV-HVR-950Q tuner can't locate the firmware. You should download the desired firmware (the 950Q firmware can be found at http://www.kernellabs.com/firmware/xc5000/) and place in the correct directory (for Ubuntu this is [ 4791.147048] xc5000: firmware read 16497 bytes. [ 4791.147049] xc5000: firmware uploading... [ 4794.976020] xc5000: firmware upload complete... |
7. | 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
- Go to 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.
|
Next step: | Configuring XBMC |
Additional guides and links
- Tvheadend website - https://tvheadend.org/projects/tvheadend
- Tvheadend backend for XBMC support forum - http://forum.xbmc.org/forumdisplay.php?fid=168
- Using HDHomeRun products with Tvheadend - https://tvheadend.org/boards/14/topics/3368