Talk:PVR: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(http://wiki.xbmc.org/index.php?title=PVR&oldid=49926)
 
No edit summary
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Notice|Old version of this page}}
==From main page==
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.
{| class="wikitable" style="text-align: left;"
! Name
! Backend OS
! Addon OS
! Homepage
! Addon Maintainers
! Addon Support
! Backend Installation
! scope="col" width="15%" | Notes
|-
| HTS Tvheadend
|Linux
|
|[http://www.lonelycoder.com/hts/tvheadend_overview.html lonelycoder.com]
|[[User:opdenkamp|opdenkamp]]
|[http://forum.xbmc.org/showthread.php?t=91716 XBMC Forum]
|[https://www.lonelycoder.com/redmine/projects/tvheadend/wiki lonelycoder wiki]
|-
| VDR
|Linux
|
|[http://www.tvdr.de/ tvdr.de]
|FernetMenta
|[http://forum.xbmc.org/showthread.php?t=45314 XBMC Forum]
|[http://linuxtv.org/vdrwiki/index.php/VDR_installation linuxtv.org]
|-
|PVR/MythTV|MythTV
|Linux
|
|[http://www.mythtv.org/ mythtv.org]
|fetzerch, janbar, tsp, dteirney
|[http://forum.xbmc.org/showthread.php?tid=110694 XBMC Forum]
|[http://www.mythtv.org/wiki/Packages mythtv.org]
|MythTV add-on not yet merged into XBMC PVR Addons Repo, but is available in [https://github.com/fetzerch/xbmc-pvr-addons fetzerch's branch ]
|-
| MediaPortal
|Windows
|Windows, Linux, iOS
|[http://www.team-mediaportal.com/ team-mediaportal.com]
|margro
|[http://forum.xbmc.org/showthread.php?t=65488 XBMC Forum]
|[http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/12_Installation mediaportal wiki]
|[http://www.scintilla.utwente.nl/~marcelg/xbmc/tvserverxbmc.html Backend XBMC Plugin] (Required)
|-
| For The Record
|Windows
|Windows,
Linux,
OSX,
iOS
|[http://www.4therecord.eu/ 4therecord.eu]
|margro, red-f
|[http://www.4therecord.eu/forum/viewtopic.php?f=41&t=2425 ForTheRecord forum]
|[http://www.4therecord.eu/wiki/index.php?title=English_Installation_Guide 4therecord.eu wiki]
|-
| DVBLink TV Server
|Windows
|Windows
|[http://dvblogic.com/phpBB3/index.php dvblogic.com]
|zeroniak
|[http://www.dvblogic.com/phpBB3/viewtopic.php?f=61&t=19703 DVBLink forum]
|[http://dvblogic.com/phpBB3/index.php dvblogic.com]
|
|-
| VU+ / Enigma2
|Linux (Enigma2)
|Windows, Linux, OSX, iOS
|
|jdembski
|[http://forum.xbmc.org/forumdisplay.php?fid=167 PVR Support forum]
|
|
|-
| NextPVR
|Windows
|Windows, Linux
|
|sub3
|[http://forums.gbpvr.com/forumdisplay.php?54-XBMC NextPVR XBMC Forum]
|[http://www.nextpvr.com/ nextpvr.com]
|
|}


== Hardware ==
;PVR history
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 ===
XBMC has long had support for viewing recordings from backend recording services such as MythTV and TVHeadend through the use of specialized video sources that communicate with the backend software. This did not allow XBMC to be used a true PVR frontend since user still had to view EPG data and schedule recordings via the backend interface. These file sources were also part of the XBMC core codebase, so updates to the backend API often broke the integration until XBMC pushed out an update.  
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
* analogue tuners - (fill me in)


=== Windows ===
Serious efforts to create a PVR frontend for XBMC started with a project during Google Summer of Code 2008. Project student [[User:Alcoheca|Alcoheca]] began the fork of what would eventually become the XBMC PVR branch. As this project became more mature it opened the door for skinners to start taking advantage of skinning interfaces for PVR and add them to various XBMC skins.  
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 ==
With the release of XBMC 10.0 (Dharma) came the addition of the addon framework to XBMC. Although binary addons were not available, the PVR branch of XBMC started to use these as a structure for having various backends plug-in to a common API structure.
XBMC currently supports the following backends:
# HTS Tvheadend
# VDR
# MythTV
# MediaPortal
# For The Record


You'll have to install (at least) one of them.
During the development cycle for XBMC 12.0 (Frodo) the merge of the PVR and mainline XBMC branches was approved during the Devcon. This made the PVR API available to all mainstream XBMC users, although the addons are still to be maintained in a separate repository and not distributed with XBMC releases.


=== 1. HTS Tvheadend ===
== Add-on namespace? ==
* 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 ===
Shouldn't the individual articles about PVR add-ons be moved into the Add-on namespace?  Currently there are a number of pages already in that namespace, e.g. Argus_TV that should either be merged under PVR, or they should be merged to Add-on:  There is also already a category: Category:PVR add-ons --[[User:Fiveisalive|Fiveisalive]] 17:19, 10 October 2012 (EDT)
* OS: Linux
* Homepage: [http://www.tvdr.de/ tvdr.de]
* Addon maintainer: '''?'''
* Forum support topic: [http://forum.xbmc.org/showthread.php?t=45314 XBMC forum]
* Installation: '''?'''


=== 3. MythTV ===
:Well, the add-on namespace is mainly for individual add-on entries more than it is for add-on related pages, while the sub-pages of the PVR guide are about both the add-ons and the backends. I wasn't sure how much over-lap there would be, so if it makes more sense to just have everything on the PVR add-on page and then link directly to that (and not have a sub page here) then we can certainly do that instead. -- [[User:Ned Scott|Ned Scott]] 22:38, 10 October 2012 (EDT)
* 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: '''?'''


=== 4. MediaPortal ===
::OK, well I went systematically through all various Add-on:<client name> and PVR/<client_name> pages and tried to normalize as per the setup for PVR/VDR and Add-on:VDR VNSI Client, i.e. moved all the Settings info to the Add-on page and transincluded it in the corresponding PVR/<client name> page. This seems OK since we don't duplicate wikitext that will get out of date. The only thing that I don't quite like about this setup is that there's no obvious way for the user (as opposed to a wiki editor) to get to the corresponding Add-on page. My understanding that a good bulk of each Add-on: page will be autogenerated from repo information, but that the settings part would be manually updated? --[[User:Fiveisalive|Fiveisalive]] 14:52, 17 October 2012 (EDT)
* 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 ===
:::Settings will always have to be manually updated, unless we can figure out some way for add-on authors to include it in the (often unused) readme.txt file in the add-on, and automate that with a script.
* 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 ==
:::I'm also not wild about having two pages for the backend add-ons. It might be best to just move the settings to the PVR subpages, or just redirect one page to the other, but for the time being I wouldn't worry too much about that. We'll likely change/tweak the over-all structure as we get a better feel for what information we have, and what information is still needed. Right now the big thing is just getting that raw content, then we can move things around and such. Of course, any ideas on what our final structure should be are most welcome.
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 ===
:::Awesome work, by the way! -- [[User:Ned Scott|Ned Scott]] 21:02, 20 October 2012 (EDT)
 
==== 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 ====
?
 
==== 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.

Latest revision as of 03:17, 18 July 2020

From main page

Name Backend OS Addon OS Homepage Addon Maintainers Addon Support Backend Installation Notes
HTS Tvheadend Linux lonelycoder.com opdenkamp XBMC Forum lonelycoder wiki
VDR Linux tvdr.de FernetMenta XBMC Forum linuxtv.org
MythTV Linux mythtv.org fetzerch, janbar, tsp, dteirney XBMC Forum mythtv.org MythTV add-on not yet merged into XBMC PVR Addons Repo, but is available in fetzerch's branch
MediaPortal Windows Windows, Linux, iOS team-mediaportal.com margro XBMC Forum mediaportal wiki Backend XBMC Plugin (Required)
For The Record Windows Windows,

Linux, OSX, iOS

4therecord.eu margro, red-f ForTheRecord forum 4therecord.eu wiki
DVBLink TV Server Windows Windows dvblogic.com zeroniak DVBLink forum dvblogic.com
VU+ / Enigma2 Linux (Enigma2) Windows, Linux, OSX, iOS jdembski PVR Support forum
NextPVR Windows Windows, Linux sub3 NextPVR XBMC Forum nextpvr.com
PVR history

XBMC has long had support for viewing recordings from backend recording services such as MythTV and TVHeadend through the use of specialized video sources that communicate with the backend software. This did not allow XBMC to be used a true PVR frontend since user still had to view EPG data and schedule recordings via the backend interface. These file sources were also part of the XBMC core codebase, so updates to the backend API often broke the integration until XBMC pushed out an update.

Serious efforts to create a PVR frontend for XBMC started with a project during Google Summer of Code 2008. Project student Alcoheca began the fork of what would eventually become the XBMC PVR branch. As this project became more mature it opened the door for skinners to start taking advantage of skinning interfaces for PVR and add them to various XBMC skins.

With the release of XBMC 10.0 (Dharma) came the addition of the addon framework to XBMC. Although binary addons were not available, the PVR branch of XBMC started to use these as a structure for having various backends plug-in to a common API structure.

During the development cycle for XBMC 12.0 (Frodo) the merge of the PVR and mainline XBMC branches was approved during the Devcon. This made the PVR API available to all mainstream XBMC users, although the addons are still to be maintained in a separate repository and not distributed with XBMC releases.

Add-on namespace?

Shouldn't the individual articles about PVR add-ons be moved into the Add-on namespace? Currently there are a number of pages already in that namespace, e.g. Argus_TV that should either be merged under PVR, or they should be merged to Add-on: There is also already a category: Category:PVR add-ons --Fiveisalive 17:19, 10 October 2012 (EDT)

Well, the add-on namespace is mainly for individual add-on entries more than it is for add-on related pages, while the sub-pages of the PVR guide are about both the add-ons and the backends. I wasn't sure how much over-lap there would be, so if it makes more sense to just have everything on the PVR add-on page and then link directly to that (and not have a sub page here) then we can certainly do that instead. -- Ned Scott 22:38, 10 October 2012 (EDT)
OK, well I went systematically through all various Add-on:<client name> and PVR/<client_name> pages and tried to normalize as per the setup for PVR/VDR and Add-on:VDR VNSI Client, i.e. moved all the Settings info to the Add-on page and transincluded it in the corresponding PVR/<client name> page. This seems OK since we don't duplicate wikitext that will get out of date. The only thing that I don't quite like about this setup is that there's no obvious way for the user (as opposed to a wiki editor) to get to the corresponding Add-on page. My understanding that a good bulk of each Add-on: page will be autogenerated from repo information, but that the settings part would be manually updated? --Fiveisalive 14:52, 17 October 2012 (EDT)
Settings will always have to be manually updated, unless we can figure out some way for add-on authors to include it in the (often unused) readme.txt file in the add-on, and automate that with a script.
I'm also not wild about having two pages for the backend add-ons. It might be best to just move the settings to the PVR subpages, or just redirect one page to the other, but for the time being I wouldn't worry too much about that. We'll likely change/tweak the over-all structure as we get a better feel for what information we have, and what information is still needed. Right now the big thing is just getting that raw content, then we can move things around and such. Of course, any ideas on what our final structure should be are most welcome.
Awesome work, by the way! -- Ned Scott 21:02, 20 October 2012 (EDT)