PVR: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>DesG
(Added DVB-T2 link)
m (Updated for v20)
 
(177 intermediate revisions by 25 users not shown)
Line 1: Line 1:
{{frodo}}
{{PVR_guide}}
<!--{{:PVR/Contents}}-->
{{mininav}}
As of v12 (Frodo), XBMC supports Personal Video Recorder (PVR) controls and features when paired with a PVR "backend". A PVR backend is a second process/application that can either run on the same machine running XBMC, on a stand-alone device (able to feed several XBMC machines), or completely by itself with XBMC only running when needed. When paired with a backend, XBMC handles the interface allowing the user to watch live TV, scheduled recordings, time shift (not yet supported), etc.


Due to the somewhat complicated nature of setting up PVR for XBMC, this guide was created to help users from start to finish.
__TOC__


=original how-to (needs updating)=
<section begin="intro" />Answers to some common questions regarding Live TV, PVR and Radio which may help you understand the requirements for setting up and using this powerful component of {{kodi}}.<section end="intro" />
This page explains how to setup XBMC to be a [http://en.wikipedia.org/wiki/Digital_video_recorder PVR]. This allows you to watch live TV, listen to radio, view an EPG, schedule recordings and enables many other TV related features.


The PVR functionality of XBMC is currently under (heavy) development. Not everything will work properly yet and you can expect occasional crashes while using this. Also, the documentation here could be outdated as development progresses.
{| width="100%"
|-
{{FAQ|
| BGcolor=
| Question= What is Live TV, PVR and Radio?
| Answer= Live TV, PVR and Radio refers to the traditional broadcast systems of receiving TV and Radio channels through your rooftop antenna, satellite dish or cable provider. <br>
These signals can be received and viewed within {{kodi}}.
}}
{{FAQ|
| BGcolor=
| Question= What is the benefit of this?
| Answer= Think of this as your own TiVO setup, but with greater control. <br>
* You can watch, pause and rewind Live TV and Radio channels
* Record, save and watch later any program
* Schedule future timers as a one-off or record a series automatically
* Set keyword recordings. Add the title to be recorded, and when it is eventually broadcast it will be recorded automatically
* View the EPG ''(Electronic Program Guide)'' and set reminders and timers
* and many more features depending on the backend you have chosen.
}}
{{FAQ|
| BGcolor=
| Question= Why don't I see any channels?
| Answer= {{kodi}} does not have its own embedded TV-tuning functionality. Instead it acts as a frontend for the Live TV component. To use this feature you require:
# A '''tuner card''' capable of receiving Terrestrial/OTA ''(Over The Air)'' or Cable signals via a coaxial cable connection. The same antenna cable that you would plug into the back of your TV.
# The '''backend software''' ''(the server)'' that works in the background to receive the TV and Radio signals and enables the Live TV and PVR functions described earlier.
# The '''{{kodi}} add-on''' ''(the client)'' for the backend software you have installed. This enables transferring all those backend features into the {{kodi}} user interface.
}}
{{FAQ|
| BGcolor=
| Question= Which tuner card works with {{kodi}}?
| Answer= {{Kodi}} has no particular requirement as the tuner card interfaces with the operating system and the backend software and not directly with {{kodi}}. <br>
: See '''[[PVR/Tuner cards|Tuner Cards]]'''
}}
{{FAQ|
| BGcolor=
| Question= Which backend should I install?
| Answer= There are numerous backend and other PVR software options to choose from to fit your requirement.
: See: '''[[PVR/Backends|Backends]]'''
}}
{{FAQ|
| BGcolor=
| Question= Where do I obtain the {{kodi}} add-on?
| Answer=
The PVR add-ons are available from the official {{kodi}} repository in the ''PVR clients'' section.<br>
The PVR add-ons for Linux are manually installed based on the distro. Ubuntu is the only official distro. Other distros may not be as well supported as Ubuntu. See... '''''[[Ubuntu_PVR_add-ons|Ubuntu PVR Add-ons]]'''''
}}
{{FAQ|
| BGcolor=
| Question= Do I install a tuner card and backend software on every device?
| Answer= No. The backend can act as a server and stream the TV and radio signal over your local network. All that is required is the appropriate PVR add-on installed on every {{kodi}} device that needs to access Live TV.
}}
{{FAQ|
| BGcolor=
| Question= Can I add my streaming services like Netflix and Amazon?
| Answer= Not to the Live TV section. Streaming services are classed as a Video Add-on which are installed from the Kodi Repository and accessed from the Add-ons menu. The Live TV and PVR section can only accommodate the backends that receive Terrestrial and Satellite signals and also some IPTV services.
}}
{{FAQ|
| BGcolor=
| Question= How does {{kodi}} receive the EPG?
| Answer= There are three commonly available methods used by the backend:
# In many countries the EPG is transmitted with the TV and Radio signal and the backend will scan this and populate the EPG.
# An internet based EPG service that offers a higher quality EPG with frequent daily updates for a monthly fee.
# '''[https://sourceforge.net/projects/xmltv/ XMLTV]''' which is a set of separate programs that can download guide data from a variety of sources on the internet.
}}
{{FAQ|
| BGcolor=
| Question= Is there a guide to help me set this up?
| Answer=
Follow the pages in this guide.<br>
Most of the setup effort will be with the tuner card and the backend software. Once they have been setup, it is a simple matter of installing the {{kodi}} addon and configuring the settings.<br>
Ensure you have the backend software working correctly before attempting to install and use the {{kodi}} addon.
}}
|}


== Hardware ==
If you want to watch TV on your PC, you'll need at least one supported tuner card or a provider that provides IPTV access. That tuner hardware doesn't have to be installed on the same computer on which you want to watch TV. We'll call the computer with the tuner hardware the '''backend'''. The computer used to view TV will be called the '''frontend'''. The backend and frontend can be one and the same machine. XBMC will be run on the frontend.


=== Linux ===
{{next|[[PVR/Tuner_cards|'''''Select a Tuner card''''']]}}
If your backend runs Linux, have a look at these pages to find compatible hardware:
* [http://linuxtv.org/wiki/index.php/DVB-C_Devices DVB-C tuners] - for digital cable television
* [http://linuxtv.org/wiki/index.php/DVB-S_Devices DVB-S tuners] - for digital satellite television
* [http://linuxtv.org/wiki/index.php/DVB-S2_Devices DVB-S2 tuners] - for digital HD satellite television
* [http://linuxtv.org/wiki/index.php/DVB-T_Devices DVB-T tuners] - for digital Terrestrial television
* [http://linuxtv.org/wiki/index.php/DVB-T2_Devices DVB-T2 tuners] - for digital Terrestrial television (Used in UK,Finland,Sweden,Italy for HD transmission)
* analogue tuners - (fill me in)


=== Windows ===
A list of supported tuners can be found [http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/11_Preparing_Your_System/01_Supported_TV_Cards here].


== Backends ==
{{top}}
XBMC currently supports the following backends:
{{updated|20}}
# HTS Tvheadend
# VDR
# MythTV
# MediaPortal
# For The Record


You'll have to install (at least) one of them.
=== 1. HTS Tvheadend ===
* OS: Linux
* Homepage: [http://www.lonelycoder.com/hts/tvheadend_overview.html lonelycoder.com]
* Addon maintainer: dushmaniac
* Forum support topic: [http://forum.xbmc.org/showthread.php?t=91716 XBMC forum]
* Installation: '''?'''
=== 2. VDR ===
* OS: Linux
* Homepage: [http://www.tvdr.de/ tvdr.de]
* Addon maintainer: FernetMenta
* Forum support topic: [http://forum.xbmc.org/showthread.php?t=45314 XBMC forum]
* Installation: The source code of the vdr-plugin-vnsiserver server is included in the pvr-addons repo. Binaries for Ubuntu can be installed e.g from [https://launchpad.net/~wsnipex/+archive/xbmc-xvba xbmc-xvba]
=== 3. MythTV ===
* OS: Linux
* Homepage: [http://www.mythtv.org/ mythtv.org]
* Addon maintainer: dteirney
* Forum support topic: [http://forum.xbmc.org/showthread.php?t=82015 XBMC forum]
* Installation: Follow the MythTV [http://www.mythtv.org/docs/mythtv-HOWTO-1.html#ss1.2 quick start up guide] to get a backend running. Once that is up you can use the the integrated myth protocol, [http://wiki.xbmc.org/?title=MythTV see wiki page for more information]. XBMC 12 (Frodo) Alpha 5 doesn't not have a PVR plugin for MythTV.
=== 4. MediaPortal ===
* Backend OS: Windows
* PVR addon OS: Windows, Linux
* Homepage: [http://www.team-mediaportal.com/ team-mediaportal.com]
* Addon maintainer: margro
* Forum support topic: [http://forum.xbmc.org/showthread.php?t=65488 MediaPortal Python plugin/PVR addon], [http://forum.xbmc.org/forumdisplay.php?f=136 XBMC PVR development section]
* Installation: Follow the MediaPortal quick setup [http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/13_Quick_Setup/2_TV_Quick_Setup guide] to get the TV server running. MediaPortal needs a plugin, TVServerXBMC, to communicate with XBMC. Download it from [http://www.scintilla.utwente.nl/~marcelg/xbmc/tvserverxbmc.html here] and copy it to the MediaPortal's TVServer plugin directory. Open up the MediaPortal TVServer Configuration page and select the TVServerXBMC plugin. Then go to Manual Control in the tree and stop the TVServer service, wait a few seconds, and start it up. MediaPortal is now able to communicate with XBMC. For a more complete guide go to margro's page [http://www.scintilla.utwente.nl/~marcelg/xbmc/mppvr-doc.html here]
=== 5. For The Record Argus TV Server ===
* Backend OS: Windows
* PVR addon OS: Windows, Linux, OS X, iOS
* Homepage: [http://www.4therecord.eu/ 4therecord.eu]
* Addon maintainers: margro, red-f
* Forum support topic: [http://www.4therecord.eu/forum/viewtopic.php?f=41&t=2425 ForTheRecord forum]
* Installation: Install '''For The Record''', configure and enable the ForTheRecord PVR addon in XBMC.
'''Note:''' this addon is not yet in opdenkamp's git repo as it is still under development. See margro/red-f's git repo's for the sources. Margro's XBMC-Eden-PVR builds include a beta version of this PVR addon.
== XBMC ==
As was told in the first paragraph, the PVR functionality in XBMC is under development. It's not a part of the mainline source tree yet, so you'll have to install XBMC a bit differenty.
=== Installation ===
==== Ubuntu ====
'''Note:''' You find better XBMC PVR packages (pulse-eight) on this [http://www.loggn.de/ubuntu-xbmc-repository-11-eden-airplay-pvr-livetv/ Repository-Overview] for Ubuntu 12.04 and older.
There are prebuilt packages available for Ubuntu Karmic, Lucid and Maverick.
To install them, open a terminal windows via Applications -> Accesoires -> Terminal and enter the following commands:
<pre>sudo apt-get remove xbmc xbmc-bin xbmc-data xbmc-skin-confluence xbmc-standalone ## remove a previous XBMC installation
sudo add-apt-repository ppa:lars-opdenkamp/xbmc-pvr ## add the PVR ppa
sudo apt-get update
sudo apt-get install xbmc xbmc-standalone</pre>
==== From source ====
The sources can be found on [https://github.com/opdenkamp GitHub]. At the time of writing, the stable repository is [https://github.com/opdenkamp/xbmc-antiquated/tree/Dharma-pvr Dharma-pvr]. The development repository is [https://github.com/opdenkamp/xbmc master].
To get the stable source on your pc, execute these commands on the command line (you must have git installed):
<pre>git clone git://github.com/opdenkamp/xbmc-antiquated.git
cd xbmc-antiquated
git checkout Dharma-pvr</pre>
To get the development source, execute this command:
<pre>git clone git://github.com/opdenkamp/xbmc.git</pre>
Now you can follow the normal compile instructions (but those will probably need updating):
* [[HOW-TO compile XBMC for Linux from source code]]
* [[HOW-TO compile XBMC for Windows from source code]]
==== Windows ====
Dushmaniac provides a precompiled package for Windows users based on the latest code revisions. Check [http://xbmc.opdenkamp.eu/ here] for install package.
Margro provides a precompiled package for Windows users based on the stable XBMC Dharma version extended with PVR support. See [http://www.scintilla.utwente.nl/~marcelg/xbmc/prebuild.html his website] for the Dharma+PVR installer.
=== Configuration ===
Configuration for XBMC is a two step process. First the pvr addon must be configured then enabled. Once the addon is able to connect to the backend service XBMC Live TV settings can be set. Follow the steps below to setup the individual PVR addons.
==== TVHeadend ====
'''Ubuntu Only'''
Install tvheadend from the opdenkamp ppa above
<pre>sudo apt-get install tvheadend</pre>
You'll be asked for an administrator username and password for the tvheadend web interface set these as you desire.
The tvheadend backend is now available on http://localhost:9981 in your web browser or substitute your machines IP to access it over a network.
Once in the web interface click the Configuration tab, then click the TV Adapters tab and select your TV adapter from the dropdown on the left. You can now click Add DVB Network by location... select your location and let tvheadend scan the muxes. Or if your location isn't listed click multiplexes and you can add the muxes manually. Once all your channels are listed in the Services tab go back to the general tab and click Map DVB services to channels. Now click on the Digital Video Recorder tab and set the location where you'd like to store recordings. Select the Access Control tab, click Add Entry, set all the tick boxes to on and double click in the boxes to set the username and password, this needs to be a different username and password to the admin one supplied during installation.
This is the abbreviated setup there are many more options available to tweak but this will get you up and running quickly.
Load XBMC, goto System, goto Add-Ons, select Installed Add-ons from the list, select PVR Clients, select Tvheadend HTSP Client. Select Enable, select Configure, set the username and password to the values you just created in the TVHeadend control panel, set IP Address if accessing over a network.
Head back the the Settings menu, select Live TV, Select Enable.
Back out to the Main Menu and hit (cross your fingers) Live TV.
==== VDR ====
?
[[PVR-BACKEND-VDR| VDR Backend]]
==== MythTV ====
The pulse-eight packaged xbmc's mythtv client does not work.  Here's one that does:  https://github.com/tsp/xbmc
Ubuntu build instructions here:  http://forum.xbmc.org/showpost.php?p=915301&postcount=133
==== MediaPortal ====
The Mediaportal addon has a configuration page within the addon itself. Using the Confluence skin go to System > Add-ons > Installed Add-ons > PVR clients > MediaPortal PVR > Configure. Set the '''Mediaportal Hostname''' to the IP address of the computer with MediaPortal TVServer installed (default 127.0.0.1 is fine if the computer with XBMC and Mediaportal are on the same machine). Set the '''Mediaportal recordings directory''' to the share that MediaPortal saves it's TV recording to. That's it, select OK to save options.
==== XBMC Live TV ====
After you have a working PVR addon you are able to configure Live TV. Got to System > Live TV. In the General tab select the Enabled radio. XBMC will try to start the PVR addons, if it is successful the other options will no longer be grayed out and you can modify all the other settings. If it is not able to successfully start any of the PVR addons an Error message will appear.
[[Category:How-to]]
[[Category:Guides]]
[[Category:PVR]]
[[Category:PVR]]
[[Category:Karellen]]

Latest revision as of 04:52, 25 January 2023

Live TV, PVR & Radio Contents

PVR main page

1. Tuner Cards
2. Backends
3. Setup
4. Live TV Artwork

Related Pages:

All PVR Pages
All PVR Add-on Pages

Home icon grey.png   ▶ PVR

Answers to some common questions regarding Live TV, PVR and Radio which may help you understand the requirements for setting up and using this powerful component of Kodi.


What is Live TV, PVR and Radio?

Live TV, PVR and Radio refers to the traditional broadcast systems of receiving TV and Radio channels through your rooftop antenna, satellite dish or cable provider.
These signals can be received and viewed within Kodi.


What is the benefit of this?

Think of this as your own TiVO setup, but with greater control.

  • You can watch, pause and rewind Live TV and Radio channels
  • Record, save and watch later any program
  • Schedule future timers as a one-off or record a series automatically
  • Set keyword recordings. Add the title to be recorded, and when it is eventually broadcast it will be recorded automatically
  • View the EPG (Electronic Program Guide) and set reminders and timers
  • and many more features depending on the backend you have chosen.


Why don't I see any channels?

Kodi does not have its own embedded TV-tuning functionality. Instead it acts as a frontend for the Live TV component. To use this feature you require:

  1. A tuner card capable of receiving Terrestrial/OTA (Over The Air) or Cable signals via a coaxial cable connection. The same antenna cable that you would plug into the back of your TV.
  2. The backend software (the server) that works in the background to receive the TV and Radio signals and enables the Live TV and PVR functions described earlier.
  3. The Kodi add-on (the client) for the backend software you have installed. This enables transferring all those backend features into the Kodi user interface.


Which tuner card works with Kodi?

Kodi has no particular requirement as the tuner card interfaces with the operating system and the backend software and not directly with Kodi.

See Tuner Cards


Which backend should I install?

There are numerous backend and other PVR software options to choose from to fit your requirement.

See: Backends


Where do I obtain the Kodi add-on?

The PVR add-ons are available from the official Kodi repository in the PVR clients section.
The PVR add-ons for Linux are manually installed based on the distro. Ubuntu is the only official distro. Other distros may not be as well supported as Ubuntu. See... Ubuntu PVR Add-ons


Do I install a tuner card and backend software on every device?

No. The backend can act as a server and stream the TV and radio signal over your local network. All that is required is the appropriate PVR add-on installed on every Kodi device that needs to access Live TV.


Can I add my streaming services like Netflix and Amazon?

Not to the Live TV section. Streaming services are classed as a Video Add-on which are installed from the Kodi Repository and accessed from the Add-ons menu. The Live TV and PVR section can only accommodate the backends that receive Terrestrial and Satellite signals and also some IPTV services.


How does Kodi receive the EPG?

There are three commonly available methods used by the backend:

  1. In many countries the EPG is transmitted with the TV and Radio signal and the backend will scan this and populate the EPG.
  2. An internet based EPG service that offers a higher quality EPG with frequent daily updates for a monthly fee.
  3. XMLTV which is a set of separate programs that can download guide data from a variety of sources on the internet.


Is there a guide to help me set this up?

Follow the pages in this guide.
Most of the setup effort will be with the tuner card and the backend software. Once they have been setup, it is a simple matter of installing the Kodi addon and configuring the settings.
Ensure you have the backend software working correctly before attempting to install and use the Kodi addon.


Next step: Select a Tuner card


Return to top