Archive:Add-on:PVR.WMC: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(46 intermediate revisions by 5 users not shown)
Line 28: Line 28:
__TOC__
__TOC__
{{-}}
{{-}}
{| width="100%" cellpadding="5px" style="background-color: WhiteSmoke; border: 1px solid #000000; font-size: 95%; clear: both"
{{wiki revamp}}
| width="60px" | [[File:Wiki_logo.png|60px|link=]]
| align="left" | '''Wiki revamp 2013:'''<br />This page or section of the wiki undergoing a revamp. Content is still being added and organized. Please pardon the dust and anything that might not be working.
|}<noinclude>[[Category:Template messages]]</noinclude>
<br />
<br />
= Overview =
= Overview =
pvr.wmc is a PVR client add-on that provides Live TV, PVR functions and electronic program guide data to XBMC.  The services are provided by connecting to [[PVR/Backend/ServerWMC|ServerWMC]]; a server interface for Windows which communicates with Windows Media Center.
pvr.wmc is a PVR client add-on that provides Live TV, PVR functions and electronic program guide data to XBMC.  The services are provided by connecting to [[ServerWMC|ServerWMC]]; a server interface for Windows which communicates with Windows Media Center.
<br />
<br />
<br />
<br />
Line 40: Line 37:
= Supported Platforms =
= Supported Platforms =


'''The [[PVR/Backend/ServerWMC|ServerWMC]] backend must be installed on a Windows PC running either Windows 7, WIndows 8 or Windows 8.1 which must have Windows Media Center (WMC) installed and configured.'''
'''The [[ServerWMC|ServerWMC]] backend must be installed on a Windows PC running either Windows 7, WIndows 8 or Windows 8.1 which must have Windows Media Center (WMC) installed and configured.'''


* '''Android''' - Currently unsupported (but is on the to-do list)
* '''Android''' - Currently in Alpha testing.  Additional information can be found here: http://forum.kodi.tv/showthread.php?tid=180438
* '''AppleTV''' - Reported working on Crystalbuntu using the 'Linux 32-bit' build
* '''AppleTV''' - Reported working on Crystalbuntu using the 'Linux 32-bit' build but does not seem to support HD channels even with the Broadcomm card YMMV
* '''ATV2''' - Independently supported (Thanks Stiefelland)
* '''ATV2''' - Independently supported (Thanks Stiefelland) but does not seem to support HD channels YMMV
* '''Linux 32-bit''' - Officially supported
* '''Linux 32-bit''' - Officially supported
* '''Linux 64-bit''' - Officially supported
* '''Linux 64-bit''' - Officially supported
Line 64: Line 61:
* Arctic
* Arctic
* Aeon MQ5
* Aeon MQ5
* Rapier
* xTV-SAF
<br />
<br />
|}
|}


= Downloading & Installing =
= Downloading & Installing =
Please install the appropriate repo for the version of XBMC that you are using below:  (Huge thanks to TheImmortal for creating the repo!)
'''[https://googledrive.com/host/0B0WaVVQcdUHVTndrMk9zWkpKRDQ/Downloads/Frodo/repo.frodo.theimmortal.zip Download the Frodo repository]'''
Currently Supported Platforms:
Windows
OS X x64
iOS
Linux x86
Linux x64
Raspberry Pi (Xbian/OpenELEC)
'''[https://googledrive.com/host/0B0WaVVQcdUHVTndrMk9zWkpKRDQ/Downloads/Gotham/repo.gotham.theimmortal.zip Download the Gotham repository]'''
Currently Supported Platforms:
Windows
OS X x64
iOS (Uploading now)
Linux x86
Linux x64
Raspberry Pi (Xbian/OpenELEC)
{{note|Please take care to select the correct addon for both your XBMC and OS versions.}}
{| cellpadding="8" cellspacing="0"
{| cellpadding="8" cellspacing="0"
|- valign="top" |
|- valign="top" |
| ||
| ||
== Installing the repository ==
== Installing with XBMC/Kodi ==
* Download the repo from the link above and save to your local drive.
* pvr.wmc is included in Gotham as well as nightly builds of Helix.
* In XBMC, navigate to {{highlight|System > Addons > Install from zip file}}
* On the "Choose Components" page of the installation routine, place a check next to "WMC" under the "PVR Add-ons" section.
* The file browser window will then open.  Navigate to and select the repo zip file.
* The repo is now installed and you can proceed to installing the pvr.wmc add-on.
<br />
<br />
 
== Installing Manually ==
== Installing pvr.wmc ==
* Download the appropriate version for your OS and XBMC version here: https://googledrive.com/host/0ByNnAMYBoWvfTk8tRWJXYko1T2c/index.html
* In XBMC, navigate to {{highlight|System > Add-ons > Get Add-ons > TheImmortal's [Frodo/Gotham] Repository > PVR Clients > Windows Media Center PVR}}
* In XBMC, navigate to {{highlight|bordered=yes|System → Addons → Install from zip file}}
* Select Install
* The file browser window will then open.  Navigate to and select the file downloaded from the link above.
* Once installed, select {{highlight|Windows Media Center PVR}} again and select 'Enable'
|}


<br />
<br />
|}


= Configuring XBMC PVR Addon to connect to ServerWMC =
= Configuring XBMC PVR Addon to connect to ServerWMC =
Line 114: Line 88:
<section begin="Settings" />
<section begin="Settings" />
{|
{|
*'''ServerWMC Backend Hostname or IP''' - The hostname or IP address of the server where ServerWMC and WMC is installed
* '''ServerWMC Backend Hostname or IP''' - The hostname or IP address of the server where ServerWMC and WMC is installed
** If backend and frontend run on the same machine then 'localhost' or '127.0.0.1' can be used.
** If backend and frontend run on the same machine then 'localhost' or '127.0.0.1' can be used.
** If the hostname of the server is not known, go to the System Properties window on the server (WinKey + Pause/Break). The hostname is listed under Computer Name.  For non-Windows based clients (Linux, Raspbmc, etc.), hostnames may not properly resolve.  It is highly recommended on these clients to enter the IP address of the server.
** If the hostname of the server is not known, go to the System Properties window on the server (WinKey + Pause/Break). The hostname is listed under Computer Name.  For non-Windows based clients (Linux, Raspbmc, etc.), hostnames may not properly resolve.  It is highly recommended on these clients to enter the IP address of the server.
<br />
<br />


*'''ServerWMC Backend Port''' - The port on which clients will communicate with the server.
* '''ServerWMC Backend Port''' - The port on which clients will communicate with the server.
** The default is 9080.  This should match the port specified within ServerWMC on the [[PVR/Backend/ServerWMC#General|General Tab]].
** The default is 9080.  This should match the port specified within ServerWMC on the [[ServerWMC|General Tab]].
|}
|}
{{-}}
{{-}}
<section end="Settings" />
<section end="Settings" />
{{Next|[[PVR/XBMC|Configuring XBMC]]}}
{{Next|[[Configuring_live_TV_settings|Configuring Live TV]]}}


= Using pvr.wmc =
= Using pvr.wmc =
'''Before starting pvr.wmc for the first time, please see [[PVR/XBMC|Configuring XBMC]] to ensure LiveTV is enabled within XBMC'''
'''Before starting pvr.wmc for the first time, please see [[Configuring_live_TV_settings|Configuring Live TV]] to ensure LiveTV is enabled within XBMC'''
 
pvr.wmc confirms to the standard operation of any XBMC pvr client.  General information can be found here: [[PVR/Basics|The Basics of Live TV and Recording]].  pvr.wmc also has features that are unique.  Those features are outlined below:


pvr.wmc confirms to the standard operation of any XBMC pvr client.  General information can be found here: [[PVR/Basics|The Basics of Live TV and Recording]].  pvr.wmc also has features that are unique allowing it to behave much like a standard STB-DVR.  These features are outlined below.  Since pvr.wmc uses WMC as a backend, recordings can be initiated and managed directly within WMC as well.
{| cellpadding="8" cellspacing="0"
|- valign="top" |
== Recording with pvr.wmc ==
{| cellpadding="8" cellspacing="0"
{| cellpadding="8" cellspacing="0"
|- valign="top" |
|- valign="top" |
| ||
| ||
== Keymaps ==
=== Series Recording ===
By default, XBMC does not have any keys mapped for PVR functionsYou will have to edit your keymap to enable control from your control device.
Series recordings can be initiated from the XBMC EPG ''when using a compatible skin''To schedule a series recording, please follow the steps below:


If you are using a standard WMC remote on Windows, you can easily configure what is needed using this tool: http://xbmccustomregis.sourceforge.net/remote_manu.html
* Navigate to the program guide.  Highlight the program you wish to record.  In the example below, we will be scheduling "Grey's Anatomy" to record:
<br />
[[File:PVR_Confluence_EPG.png|600px|baseline|border]]
<br />
<br />
* Press the 'info' button on your remote or keyboard.  (Default keyboard press is "i").  You will see the "Programme info" screen.  Select "Add Timer" at the bottom.
<br />
[[File:PVR_Confluence_Program_Info.png|600px|baseline|border]]
<br />
<br />
* You will the see the "Record" dialog.  Choose yes to record.
<br />
[[File:PVR_Confluence_Record.png|600px|baseline|border]]
<br />
<br />
* You will now see the "Recording Preference" screen. Here you can choose to '''"Record this Episode Only"''' or '''"Record the Series"'''. If "Record the Series" is selected, additional series recording options will become available.
** '''Show type'''
*** '''New and rerun''' - Records all episodes of the selected show.
*** '''New only''' - Skips recording episodes marked as repeats in the EPG
*** '''Live only''' - Records the episode ONLY if marked as "live" in the EPG.
** '''Channel''' - Specifies the channel on which the series should be recorded.
** '''Airtime''' - Specifies the airtime at which the series should be recorded.
<br />
[[File:PVR_Confluence_Recording_Preference.png|600px|baseline|border]]
<br />
<br />


== Recording with pvr.wmc ==
=== On the Fly ===
pvr.wmc is unique in it's ability to act very similar to a standard STB-DVR.
pvr.wmc supports on-the-fly recording.  If record is pressed while viewing a program, a recording timer will be created which spans from the '''time the channel was tuned''' until the scheduled end time of the program per the EPG (plus any padding specified in ServerWMC).  If record is pressed again while that timer is active and tuned to the same channel, the timers expiration time will be extended by the time specified on the 'Record' tab in ServerWMC.  When the timer expires recording will terminate '''unless the channel is still being viewed''' in which case recording will continue until the channel is changed or Live TV is exited.
* Details on exciting new features coming soon
Recording is performed by ServerWMC.  If the ServerWMC application is terminated at any point during an on-the-fly recording, the recording will be terminated as well.


<br />
<br />
|}
= Troubleshooting / FAQ =
= Troubleshooting / FAQ =
{| cellpadding="8" cellspacing="0"
{| cellpadding="8" cellspacing="0"
Line 150: Line 152:


== General ==
== General ==
{{note|'''If you are having issues and need to request assistance in the XBMC forums, it is mandatory to provide a copy of the log files!!!''' They contain important information that is instrumental in diagnosing issues and recommending solutions.  Please copy the contents of the file to [http://pastebin.com/ pastebin] and include the link in your post.  Posting of log files directly to forum threads is strictly prohibited per the rules of the XBMC Forums. Log files are located in C:\C:\ProgramData\VDsoftware\ServerWMC\. In many cases an XBMC log file can be helpful as well.}}
{{note|'''If you are having issues and need to request assistance in the XBMC forums, it is mandatory to provide a copy of the log files!!!''' They contain important information that is instrumental in diagnosing issues and recommending solutions.  Please copy the contents of the file to [http://pastebin.com/ pastebin] and include the link in your post.  Posting of log files directly to forum threads is strictly prohibited per the rules of the XBMC Forums. Log files can be opened directly from the ServerWMC interface.  They can be manually located in \ProgramData\VDsoftware\ServerWMC\. In many cases an XBMC log file can be helpful as well.}}
<br />
<br />
* '''I am unable to set and delete series recordings''' - These actions can be performed directly through the WMC interface.  This can also be done directly through XBMC though Confluence is the only skin ''directly'' supported at this time.  Please see [[Add-on:PVR.WMC#Enabling_set_.27series.27_recording_and_.27cancel.27_series_recording|Enabling 'set series recording' and 'cancel series recording']] for information on enabling this feature within XBMC.
* '''I am unable to set and delete series recordings''' - These actions can be performed directly through the WMC interface.  This can also be done directly through XBMC though Confluence is the only skin ''directly'' supported at this time.  Please see [[Add-on:PVR.WMC#Enabling_set_.27series.27_recording_and_.27cancel.27_series_recording|Enabling 'set series recording' and 'cancel series recording']] for information on enabling this feature within XBMC.
Line 156: Line 158:
* '''This works great after configuring it in WMC for a few days but then crashes or has an empty EPG!''' - If you have previously disabled WMC services on the PC running ServerWMC, please re-enable them so WMC is able to automatically download new EPG data.
* '''This works great after configuring it in WMC for a few days but then crashes or has an empty EPG!''' - If you have previously disabled WMC services on the PC running ServerWMC, please re-enable them so WMC is able to automatically download new EPG data.
<br />
<br />
*'''My EPG is empty but background downloads are enabled.''' - There have been reported cases of a rare condition where the WMC database can become corrupted, possibly from a failed EPG download.  When WMC is opened, it will automatically check the integrity of the databases and repair if necessary.  Opening WMC and allowing it to check/repair should be all that is needed to correct this condition.
* '''My EPG is empty but background downloads are enabled.''' - There have been reported cases of a rare condition where the WMC database can become corrupted, possibly from a failed EPG download.  When WMC is opened, it will automatically check the integrity of the databases and repair if necessary.  Opening WMC and allowing it to check/repair should be all that is needed to correct this condition.
<br />
<br />
*'''How do I add channel icons?''' - Channel icons are extracted from WMC and provided to all pvr.wmc clients.  Unfortunately, WMC does not populate channel icons on it own.  You must add them using 3rd party software.  [http://www.mychannellogos.com/ MyChannelLogos] is a quick and easy way to add these logos to WMC and in turn to pvr.wmc clients.  There is a small donation required for the program but it is worth it as it works flawlessly.  (As of this writing, the minimum donation is $5).
* '''How do I add channel icons?''' - Channel icons are extracted from WMC and provided to all pvr.wmc clients.  Unfortunately, WMC does not populate channel icons on it own.  You must add them using 3rd party software.  [http://www.mychannellogos.com/ MyChannelLogos] is a quick and easy way to add these logos to WMC and in turn to pvr.wmc clients.  There is a small donation required for the program but it is worth it as it works flawlessly.  (As of this writing, the minimum donation is $5).
<br />
<br />
*'''When editing channel information in XBMC (System/Live TV/General/Channel Manager) it appears to save but reverts back to the previous settings.''' - This information must be edited within WMC itself.  If you wish add/hide channels, edit names, etc., it should be done through the WMC interface (Tasks/Settings/TV/Guide/Edit Channels).
* '''When editing channel information in XBMC (System/Live TV/General/Channel Manager) it appears to save but reverts back to the previous settings.''' - This information must be edited within WMC itself.  If you wish add/hide channels, edit names, etc., it should be done through the WMC interface (Tasks/Settings/TV/Guide/Edit Channels).
<br />
<br />
*'''I can view copy-once channels through WMC, does that mean they will work in XBMC using pvr.wmc?''' - Unfortunately no.  We are limited to copy-freely channels only as are all of the other Live TV solutions available for XBMC.
* '''I can view copy-once channels through WMC, does that mean they will work in XBMC using pvr.wmc?''' - Unfortunately no.  We are limited to copy-freely channels only as are all of the other Live TV solutions available for XBMC.
<br />
<br />
*'''The video quality is terrible!''' - If the video content being provided is interlaced, you need to enable deinterlacing within XBMC.  With a channel playing, press 'M' to access the player menu.  Choose the camera icon and set 'Deinterlace' to 'Auto'.  You should then scroll to the bottom of that menu and select 'Set as default for all videos' before exiting.  The 'Deinterlace method' and 'Video scaling method' will vary by system.  You will have to try different settings here to see what works best for you.  In most cases, setting both to 'Auto' is sufficient.
* '''The video quality is terrible!''' - If the video content being provided is interlaced, you need to enable deinterlacing within XBMC.  With a channel playing, press 'M' to access the player menu.  Choose the camera icon and set 'Deinterlace' to 'Auto'.  You should then scroll to the bottom of that menu and select 'Set as default for all videos' before exiting.  The 'Deinterlace method' and 'Video scaling method' will vary by system.  You will have to try different settings here to see what works best for you.  In most cases, setting both to 'Auto' is sufficient.
<br />
<br />


== Windows ==
== Windows ==
* '''With WMC active, how do you stop it from launching when using the greenbutton to launch xbmc?''' - There are many options for taking care of this issue.  The easiest we have discovered thus far can be found here: http://xbmccustomregis.sourceforge.net/remote_auto.html .  This also adds many other useful features when using an RC6 remote with XBMC and not using EventGhost.
* '''With WMC active, how do you stop it from launching when using the greenbutton to launch xbmc?''' - There are many options for taking care of this issue.  The easiest we have discovered thus far can be found here: http://xbmccustomregis.sourceforge.net/remote_auto.html .  This also adds many other useful features when using an RC6 remote with XBMC and not using EventGhost.
<br />
* '''I upgraded to Windows 8.1 from Windows 8 (on the server) and now TV doesn't work''' - There is a known issue with the Windows 8.1 upgrade process causing issues with an existing ServerWMC installation.  Re-installing ServerWMC after the 8.1 upgrade is complete will correct the issue.
<br />
<br />
<br />
<br />
Line 178: Line 182:


== Linux ==
== Linux ==
* '''My client is unable to connect to my 'Recorded TV' folder''' - With Linix based clients, user:pass credentials are required even when the Windows share is shared with "Everyone".  Please enter user name and password information on the [[PVR/Backend/ServerWMC|Folders tab]] within ServerWMC.  This can be the main log-on information for the PC hosting ServerWMC or an account could be created specifically for this purpose.  Please ensure the folder is shared with the user whose credentials are entered.
* '''My client is unable to connect to my 'Recorded TV' folder''' - With Linix based clients, user:pass credentials are required even when the Windows share is shared with "Everyone".  Please enter user name and password information on the [[ServerWMC|Folders tab]] within ServerWMC.  This can be the main log-on information for the PC hosting ServerWMC or an account could be created specifically for this purpose.  Please ensure the folder is shared with the user whose credentials are entered.
<br />
<br />
<br />
<br />
Line 185: Line 189:
* '''When I try to view a TV channel, I only get audio and the music visualizer screen (no video)''' - Streaming Live TV from ServerWMC to the pvr.wmc plug-in on Raspbmc requires the MPEG-2 codec be purchased from the Raspberry Pi store and installed.  Though not known to be needed for pvr.wmc, it is recommended to purchase and install both the MPEG-2 and VC-1 codecs while you are there.  http://www.raspberrypi.com/mpeg-2-license-key/
* '''When I try to view a TV channel, I only get audio and the music visualizer screen (no video)''' - Streaming Live TV from ServerWMC to the pvr.wmc plug-in on Raspbmc requires the MPEG-2 codec be purchased from the Raspberry Pi store and installed.  Though not known to be needed for pvr.wmc, it is recommended to purchase and install both the MPEG-2 and VC-1 codecs while you are there.  http://www.raspberrypi.com/mpeg-2-license-key/
<br />
<br />
* '''My client is unable to connect to my 'Recorded TV' folder''' - With Linix based clients, user:pass credentials are required even when the Windows share is shared with "Everyone".  Please enter user name and password information on the [[PVR/Backend/ServerWMC|Folders tab]] within ServerWMC.  This can be the main log-on information for the PC hosting ServerWMC or an account could be created specifically for this purpose.  Please ensure the folder is shared with the user whose credentials are entered.
* '''My client is unable to connect to my 'Recorded TV' folder''' - With Linix based clients, user:pass credentials are required even when the Windows share is shared with "Everyone".  Please enter user name and password information on the [[ServerWMC|Folders tab]] within ServerWMC.  This can be the main log-on information for the PC hosting ServerWMC or an account could be created specifically for this purpose.  Please ensure the folder is shared with the user whose credentials are entered.
<br />
<br />
<br />
<br />
Line 195: Line 199:
Information on compiling your own Linux client can be found here: https://googledrive.com/host/0ByNnAMYBoWvfTk8tRWJXYko1T2c/documentation/linux%20compile%20instructions.html  (Thanks to doublea)
Information on compiling your own Linux client can be found here: https://googledrive.com/host/0ByNnAMYBoWvfTk8tRWJXYko1T2c/documentation/linux%20compile%20instructions.html  (Thanks to doublea)


If you are interested in assisting with development of ServerWMC, please PM [http://forum.xbmc.org/private.php?action=send&uid=135134 krustyreturns] on the [http://forum.xbmc.org XBMC Forum]  
If you are interested in assisting with development of ServerWMC, please PM [http://forum.kodi.tv/private.php?action=send&uid=135134 krustyreturns] on the [http://forum.kodi.tv XBMC Forum]  
<br />
<br />
<br />
<br />


= Additional guides and links =
= Additional guides and links =
* '''ServerWMC/pvr.wmc Support Thread''' - http://forum.xbmc.org/showthread.php?tid=171216
* '''ServerWMC/pvr.wmc Support Forum''' - http://forum.kodi.tv/forumdisplay.php?fid=205
* '''pvr.wmc Raspbmc Suport Thread''' - http://forum.stmlabs.com/showthread.php?tid=10553
* '''pvr.wmc Raspbmc Suport Thread''' - http://forum.stmlabs.com/showthread.php?tid=10553
<br />
<br />
Line 211: Line 215:
{{highlight|As of build 1013, these files only need to be manually copied on non-Windows clients.  If you are using a non-Windows client, please continue.  If you are using a build of pvr.wmc prior to 1013, please update now.}}
{{highlight|As of build 1013, these files only need to be manually copied on non-Windows clients.  If you are using a non-Windows client, please continue.  If you are using a build of pvr.wmc prior to 1013, please update now.}}


In the ‘resources’ folder of the add-on there are two xml skin files created for Confluence named 'DeleteTimer.xml' and 'RecordPrefs.xml'. These files need to be manually added to the Confluence skin folder (on Windows, C:\Program Files (x86)\XBMC\addons\skin.confluence\720p). Alternatively, you create a symbolic link to these files in the Confluence folder.  
In the ‘resources’ folder of the add-on there are two xml skin files created for Confluence named 'DeleteTimer.xml' and 'RecordPrefs.xml'. These files need to be manually added to the Confluence skin folder (on Windows, C:\Program Files (x86)\XBMC\addons\skin.confluence\720p). Alternatively, you create a symbolic link to these files in the Confluence folder.  


If you aren't using Confluence, you can add these files to the skin folder you are using. The dialogs will look funky since they are designed for Confluence (they should work though). You can modify these files to look right in whatever your skin of choice is if you are so inclined.
If you aren't using Confluence, you can add these files to the skin folder you are using. The dialogs will look funky since they are designed for Confluence (they should work though). You can modify these files to look right in whatever your skin of choice is if you are so inclined.
Line 217: Line 221:
Once installed, when first trying to record a show after the initial confirmation, a new dialog will open (if it’s a TV series) asking if you want to record the series. Similar for when you go to delete a timer, if it’s a series timer, it will ask if you want to delete the whole series-timer.
Once installed, when first trying to record a show after the initial confirmation, a new dialog will open (if it’s a TV series) asking if you want to record the series. Similar for when you go to delete a timer, if it’s a series timer, it will ask if you want to delete the whole series-timer.


=== OpenElec Specific Instructions ===
To enable full functionality of the WMC add-on in XBMC, you have to add two XML files to the XBMC Confluence skin.
For OpenElec XBMC installs, those files are found in:
/storage/.xbmc/addons/pvr.wmc/resources/skins/skin.confluence/720p
You have to copy them to:
/usr/share/xbmc/addons/skin.confluence/720p
But, for OpenElec the /usr/share/xbmc is read only. So, instead, you have to create a duplicate confluence file with a slightly different name, add the XML files to the copy, and then select the copy as your default skin.
Enable SSH:
Settings/OpenELEC/Services/SSH/Disable SSH Password: Un-Checked
Login to the server via SSH using Putty or another SSH Client.
Copy the default confluence file to a new folder that is not read only.
cp -r /usr/share/xbmc/addons/skin.confluence /storage/.xbmc/addons/skin.confluence.wmc
Then you need to edit the addon ID so it looks different then the original confluence, do this by opening the addon.xml and adjusting the value.
nano /storage/.xbmc/addons/skin.confluence.wmc/addon.xml
you will see something like this
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="skin.confluence"
version="2.1.0"
name="Confluence"
change "skin.confluence" to whatever you name the containing folder as (you may also want to edit the name value as well so it shows up different from within the XBMC GUI). In our case I would use.
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="skin.confluence.wmc"
version="2.1.0"
name="Confluence (WMC)"
Save and exit by pressing CTRl-X, Y.
Then copy the XML files from the Add-On folder to the new one, reboot, and select the edited skin:
cp /storage/.xbmc/addons/pvr.wmc/resources/skins/skin.confluence/720p/* /storage/.xbmc/addons/skin.confluence.wmc/720p/
reboot
In XBMC, go to
Settings/Appearance/Skin
and select the new "Confluence (WMC)"
|}
|}
[[Category:Add-ons not in the XBMC.org repo]]

Revision as of 02:51, 8 July 2020

PVR/Contents

WMC PVR Client

Author: KrustyReturns

Type: PVR
Repo:

License: None Currently

Summary: WMC PVR Client
Home icon grey.png   ▶ Add-ons ▶ WMC PVR Client

An xbmc client to interface to Windows Media Center's receiver and EPG service. Thanks to JeffreyF, Tomba73, Riztnack, Staknhalo, Scarecrow420. Special thanks to Burckh for letting us use his RemuxTool code.




Wiki logo.png Wiki revamp:
This page or section of the wiki undergoing a revamp. Content is still being added and organized. Please pardon the dust and anything that might not be working.


Overview

pvr.wmc is a PVR client add-on that provides Live TV, PVR functions and electronic program guide data to XBMC. The services are provided by connecting to ServerWMC; a server interface for Windows which communicates with Windows Media Center.

Supported Platforms

The ServerWMC backend must be installed on a Windows PC running either Windows 7, WIndows 8 or Windows 8.1 which must have Windows Media Center (WMC) installed and configured.

  • Android - Currently in Alpha testing. Additional information can be found here: http://forum.kodi.tv/showthread.php?tid=180438
  • AppleTV - Reported working on Crystalbuntu using the 'Linux 32-bit' build but does not seem to support HD channels even with the Broadcomm card YMMV
  • ATV2 - Independently supported (Thanks Stiefelland) but does not seem to support HD channels YMMV
  • Linux 32-bit - Officially supported
  • Linux 64-bit - Officially supported
  • OS X - Officially supported
  • Raspbmc - Officially supported and included with Raspbmc
  • Windows - Officially supported
  • Xbian - Officially supported (Now available through the official Xbian repo)


Note: Regarding versions for other distros: "PVR add ons are the responsibility of the distro builder when it comes to Raspberry Pi, Ouya etc. there is no official repo for these devices. The reason it's included in Raspbmc is someone convinced the builder to include it. If you want this add on included in your distro of choice you need to convince the builder to include it. Official xbmc pvr add ons are built automatically, pre release/testing add ons need to be added by the builder. Just because pulling it from one distro and adding it to another works now does not mean it will continue to work with later releases." (From the XBMC forums - Thanks Dilligaf for clearing this up for us.)

Supported Skins

pvr.wmc works with ALL skins. This refers only to 'Set Series Recording' and 'Delete Series Recording' dialogs. If your favorite skin isn't on the list, please contact your skin developer and request support for these features. (In the mean time, you can manage your series recordings through WMC.)


Downloading & Installing

Installing with XBMC/Kodi

  • pvr.wmc is included in Gotham as well as nightly builds of Helix.
  • On the "Choose Components" page of the installation routine, place a check next to "WMC" under the "PVR Add-ons" section.


Installing Manually


Configuring XBMC PVR Addon to connect to ServerWMC

  • Within XBMC, navigate to {{highlight|Settings -> Add-ons -> Enabled Add-ons -> PVR Clients} and select the Windows Media Center add-on
  • Select "Configure"


  • ServerWMC Backend Hostname or IP - The hostname or IP address of the server where ServerWMC and WMC is installed
    • If backend and frontend run on the same machine then 'localhost' or '127.0.0.1' can be used.
    • If the hostname of the server is not known, go to the System Properties window on the server (WinKey + Pause/Break). The hostname is listed under Computer Name. For non-Windows based clients (Linux, Raspbmc, etc.), hostnames may not properly resolve. It is highly recommended on these clients to enter the IP address of the server.

  • ServerWMC Backend Port - The port on which clients will communicate with the server.
    • The default is 9080. This should match the port specified within ServerWMC on the General Tab.


Next step: Configuring Live TV


Using pvr.wmc

Before starting pvr.wmc for the first time, please see Configuring Live TV to ensure LiveTV is enabled within XBMC

pvr.wmc confirms to the standard operation of any XBMC pvr client. General information can be found here: The Basics of Live TV and Recording. pvr.wmc also has features that are unique allowing it to behave much like a standard STB-DVR. These features are outlined below. Since pvr.wmc uses WMC as a backend, recordings can be initiated and managed directly within WMC as well.

Recording with pvr.wmc

Series Recording

Series recordings can be initiated from the XBMC EPG when using a compatible skin. To schedule a series recording, please follow the steps below:

  • Navigate to the program guide. Highlight the program you wish to record. In the example below, we will be scheduling "Grey's Anatomy" to record:


PVR Confluence EPG.png

  • Press the 'info' button on your remote or keyboard. (Default keyboard press is "i"). You will see the "Programme info" screen. Select "Add Timer" at the bottom.


PVR Confluence Program Info.png

  • You will the see the "Record" dialog. Choose yes to record.


PVR Confluence Record.png

  • You will now see the "Recording Preference" screen. Here you can choose to "Record this Episode Only" or "Record the Series". If "Record the Series" is selected, additional series recording options will become available.
    • Show type
      • New and rerun - Records all episodes of the selected show.
      • New only - Skips recording episodes marked as repeats in the EPG
      • Live only - Records the episode ONLY if marked as "live" in the EPG.
    • Channel - Specifies the channel on which the series should be recorded.
    • Airtime - Specifies the airtime at which the series should be recorded.


PVR Confluence Recording Preference.png

On the Fly

pvr.wmc supports on-the-fly recording. If record is pressed while viewing a program, a recording timer will be created which spans from the time the channel was tuned until the scheduled end time of the program per the EPG (plus any padding specified in ServerWMC). If record is pressed again while that timer is active and tuned to the same channel, the timers expiration time will be extended by the time specified on the 'Record' tab in ServerWMC. When the timer expires recording will terminate unless the channel is still being viewed in which case recording will continue until the channel is changed or Live TV is exited. Recording is performed by ServerWMC. If the ServerWMC application is terminated at any point during an on-the-fly recording, the recording will be terminated as well.


Troubleshooting / FAQ

General

Note: If you are having issues and need to request assistance in the XBMC forums, it is mandatory to provide a copy of the log files!!! They contain important information that is instrumental in diagnosing issues and recommending solutions. Please copy the contents of the file to pastebin and include the link in your post. Posting of log files directly to forum threads is strictly prohibited per the rules of the XBMC Forums. Log files can be opened directly from the ServerWMC interface. They can be manually located in \ProgramData\VDsoftware\ServerWMC\. In many cases an XBMC log file can be helpful as well.

  • I am unable to set and delete series recordings - These actions can be performed directly through the WMC interface. This can also be done directly through XBMC though Confluence is the only skin directly supported at this time. Please see Enabling 'set series recording' and 'cancel series recording' for information on enabling this feature within XBMC.


  • This works great after configuring it in WMC for a few days but then crashes or has an empty EPG! - If you have previously disabled WMC services on the PC running ServerWMC, please re-enable them so WMC is able to automatically download new EPG data.


  • My EPG is empty but background downloads are enabled. - There have been reported cases of a rare condition where the WMC database can become corrupted, possibly from a failed EPG download. When WMC is opened, it will automatically check the integrity of the databases and repair if necessary. Opening WMC and allowing it to check/repair should be all that is needed to correct this condition.


  • How do I add channel icons? - Channel icons are extracted from WMC and provided to all pvr.wmc clients. Unfortunately, WMC does not populate channel icons on it own. You must add them using 3rd party software. MyChannelLogos is a quick and easy way to add these logos to WMC and in turn to pvr.wmc clients. There is a small donation required for the program but it is worth it as it works flawlessly. (As of this writing, the minimum donation is $5).


  • When editing channel information in XBMC (System/Live TV/General/Channel Manager) it appears to save but reverts back to the previous settings. - This information must be edited within WMC itself. If you wish add/hide channels, edit names, etc., it should be done through the WMC interface (Tasks/Settings/TV/Guide/Edit Channels).


  • I can view copy-once channels through WMC, does that mean they will work in XBMC using pvr.wmc? - Unfortunately no. We are limited to copy-freely channels only as are all of the other Live TV solutions available for XBMC.


  • The video quality is terrible! - If the video content being provided is interlaced, you need to enable deinterlacing within XBMC. With a channel playing, press 'M' to access the player menu. Choose the camera icon and set 'Deinterlace' to 'Auto'. You should then scroll to the bottom of that menu and select 'Set as default for all videos' before exiting. The 'Deinterlace method' and 'Video scaling method' will vary by system. You will have to try different settings here to see what works best for you. In most cases, setting both to 'Auto' is sufficient.


Windows

  • With WMC active, how do you stop it from launching when using the greenbutton to launch xbmc? - There are many options for taking care of this issue. The easiest we have discovered thus far can be found here: http://xbmccustomregis.sourceforge.net/remote_auto.html . This also adds many other useful features when using an RC6 remote with XBMC and not using EventGhost.


  • I upgraded to Windows 8.1 from Windows 8 (on the server) and now TV doesn't work - There is a known issue with the Windows 8.1 upgrade process causing issues with an existing ServerWMC installation. Re-installing ServerWMC after the 8.1 upgrade is complete will correct the issue.



OS X

OS X specific troubleshooting here.

Linux

  • My client is unable to connect to my 'Recorded TV' folder - With Linix based clients, user:pass credentials are required even when the Windows share is shared with "Everyone". Please enter user name and password information on the Folders tab within ServerWMC. This can be the main log-on information for the PC hosting ServerWMC or an account could be created specifically for this purpose. Please ensure the folder is shared with the user whose credentials are entered.



Raspberry Pi

  • When I try to view a TV channel, I only get audio and the music visualizer screen (no video) - Streaming Live TV from ServerWMC to the pvr.wmc plug-in on Raspbmc requires the MPEG-2 codec be purchased from the Raspberry Pi store and installed. Though not known to be needed for pvr.wmc, it is recommended to purchase and install both the MPEG-2 and VC-1 codecs while you are there. http://www.raspberrypi.com/mpeg-2-license-key/


  • My client is unable to connect to my 'Recorded TV' folder - With Linix based clients, user:pass credentials are required even when the Windows share is shared with "Everyone". Please enter user name and password information on the Folders tab within ServerWMC. This can be the main log-on information for the PC hosting ServerWMC or an account could be created specifically for this purpose. Please ensure the folder is shared with the user whose credentials are entered.



Development

Code for the pvr.wmc client is available here: https://bitbucket.org/krustyreturns/pvr.wmc

Information on compiling your own Linux client can be found here: https://googledrive.com/host/0ByNnAMYBoWvfTk8tRWJXYko1T2c/documentation/linux%20compile%20instructions.html (Thanks to doublea)

If you are interested in assisting with development of ServerWMC, please PM krustyreturns on the XBMC Forum

Additional guides and links


Advanced Topics

Enabling set 'series' recording and 'cancel' series recording

As of build 1013, these files only need to be manually copied on non-Windows clients. If you are using a non-Windows client, please continue. If you are using a build of pvr.wmc prior to 1013, please update now.

In the ‘resources’ folder of the add-on there are two xml skin files created for Confluence named 'DeleteTimer.xml' and 'RecordPrefs.xml'. These files need to be manually added to the Confluence skin folder (on Windows, C:\Program Files (x86)\XBMC\addons\skin.confluence\720p). Alternatively, you create a symbolic link to these files in the Confluence folder.

If you aren't using Confluence, you can add these files to the skin folder you are using. The dialogs will look funky since they are designed for Confluence (they should work though). You can modify these files to look right in whatever your skin of choice is if you are so inclined.

Once installed, when first trying to record a show after the initial confirmation, a new dialog will open (if it’s a TV series) asking if you want to record the series. Similar for when you go to delete a timer, if it’s a series timer, it will ask if you want to delete the whole series-timer.

OpenElec Specific Instructions

To enable full functionality of the WMC add-on in XBMC, you have to add two XML files to the XBMC Confluence skin.

For OpenElec XBMC installs, those files are found in:

/storage/.xbmc/addons/pvr.wmc/resources/skins/skin.confluence/720p

You have to copy them to:

/usr/share/xbmc/addons/skin.confluence/720p

But, for OpenElec the /usr/share/xbmc is read only. So, instead, you have to create a duplicate confluence file with a slightly different name, add the XML files to the copy, and then select the copy as your default skin.

Enable SSH:

Settings/OpenELEC/Services/SSH/Disable SSH Password: Un-Checked

Login to the server via SSH using Putty or another SSH Client.

Copy the default confluence file to a new folder that is not read only.

cp -r /usr/share/xbmc/addons/skin.confluence /storage/.xbmc/addons/skin.confluence.wmc

Then you need to edit the addon ID so it looks different then the original confluence, do this by opening the addon.xml and adjusting the value.

nano /storage/.xbmc/addons/skin.confluence.wmc/addon.xml

you will see something like this

<?xml version="1.0" encoding="UTF-8"?> <addon id="skin.confluence" version="2.1.0" name="Confluence"

change "skin.confluence" to whatever you name the containing folder as (you may also want to edit the name value as well so it shows up different from within the XBMC GUI). In our case I would use.

<?xml version="1.0" encoding="UTF-8"?> <addon id="skin.confluence.wmc" version="2.1.0" name="Confluence (WMC)"

Save and exit by pressing CTRl-X, Y.

Then copy the XML files from the Add-On folder to the new one, reboot, and select the edited skin:

cp /storage/.xbmc/addons/pvr.wmc/resources/skins/skin.confluence/720p/* /storage/.xbmc/addons/skin.confluence.wmc/720p/

reboot

In XBMC, go to

Settings/Appearance/Skin

and select the new "Confluence (WMC)"