ServerWMC: Difference between revisions
No edit summary |
Gamester17 (talk | contribs) mNo edit summary |
||
(35 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{:PVR/Contents}} | {{:PVR/Contents}} | ||
{{mininav|[[PVR]]|[[Recording software]]}} | |||
[[File:SWMC_Logo.jpg|right|border]] | |||
ServerWMC is a server interface for Windows which communicates with Windows Media Center (WMC) allowing it to be used as a Personal Video Recorder (PVR) backend providing Live TV, PVR functions and Electronic Program Guide (EPG) data. These services are provided to XBMC though the [[Add-on:PVR.WMC|pvr.wmc]] add-on.<br /> | ServerWMC is a server interface for Windows which communicates with Windows Media Center (WMC) allowing it to be used as a Personal Video Recorder (PVR) backend providing Live TV, PVR functions and Electronic Program Guide (EPG) data. These services are provided to XBMC though the [[Add-on:PVR.WMC|pvr.wmc]] add-on.<br /> | ||
<br /> | <br /> | ||
ServerWMC was developed and is maintained by [http://forum.kodi.tv/member.php?action=profile&uid=135134 krustyreturns]. | |||
'''A fantastic guide detailing the setup of XBMC, WMC, ServerWMC, pvr.wmc and everything else you need to know from beginning to end can be found here: http://forum.kodi.tv/showthread.php?tid=193310''' | |||
= Configuring Windows Media Center = | == Configuring Windows Media Center == | ||
Windows Media Center must first be fully configured (tuners configured, EPG configured, channels setup, etc) on the PC to be used as the TV Server prior to using ServerWMC. This setup will vary slightly based on the tuner you are using. There is a generic WMC setup guide here that may be of assistance to those new to WMC: http://www.howtogeek.com/howto/9166/learning-windows-7-setup-live-tv-in-windows-media-center/ | Windows Media Center must first be fully configured (tuners configured, EPG configured, channels setup, etc) on the PC to be used as the TV Server prior to using ServerWMC. This setup will vary slightly based on the tuner you are using. There is a generic WMC setup guide here that may be of assistance to those new to WMC: http://www.howtogeek.com/howto/9166/learning-windows-7-setup-live-tv-in-windows-media-center/ | ||
Line 17: | Line 21: | ||
{{note|Though Windows Media Center must be configured, it is not necessary for WMC to be running to provide the connection to ServerWMC.<br />If you have previously disabled WMC services, please re-enable them at this time. Though WMC does not need to be running, if the services are disabled and WMC is unable to automatically update EPG data, XBMC will either display a blank EPG or CRASH when selecting 'Live TV'.<br />'''Please ensure you can view live TV from within WMC before continuing!'''}}<br /> | {{note|Though Windows Media Center must be configured, it is not necessary for WMC to be running to provide the connection to ServerWMC.<br />If you have previously disabled WMC services, please re-enable them at this time. Though WMC does not need to be running, if the services are disabled and WMC is unable to automatically update EPG data, XBMC will either display a blank EPG or CRASH when selecting 'Live TV'.<br />'''Please ensure you can view live TV from within WMC before continuing!'''}}<br /> | ||
= Downloading & Installing ServerWMC = | == Downloading & Installing ServerWMC == | ||
The latest version of ServerWMC can be found here: | The latest version of ServerWMC can be found here: [http://bit.ly/serverwmc http://bit.ly/serverwmc] | ||
ServerWMC includes an installer package so simply download, unzip and run '''Installer_ServerWMC.msi''' as administrator. It is not necessary to uninstall the previous version before installing an updated version. | ServerWMC includes an installer package so simply download, unzip and run '''Installer_ServerWMC.msi''' as administrator. It is not necessary to uninstall the previous version before installing an updated version. | ||
Line 26: | Line 30: | ||
<br /> | <br /> | ||
= ServerWMC Configuration (Quick) = | == ServerWMC Configuration (Quick) == | ||
Launch ServerWMC from the Start Menu. An entry was created during installation at Start/ServerWMC/ServerWMC. <br /> | Launch ServerWMC from the Start Menu. An entry was created during installation at Start/ServerWMC/ServerWMC. <br /> | ||
{{note|On first run, you should be prompted to allow '''ServerWMC.exe''' through your firewall. Make sure to select '''allow'''.}} | {{note|On first run, you should be prompted to allow '''ServerWMC.exe''' through your firewall. Make sure to select '''allow'''.}} | ||
Line 42: | Line 46: | ||
{{note|ServerWMC supports most of the WMC configuration including enable/disable channels, set custom channel orders/numbers and custom channel icons. These settings should be configured within WMC and not XBMC.}} | {{note|ServerWMC supports most of the WMC configuration including enable/disable channels, set custom channel orders/numbers and custom channel icons. These settings should be configured within WMC and not XBMC.}} | ||
= ServerWMC Configuration (Detailed) = | == ServerWMC Configuration (Detailed) == | ||
{| cellpadding="8" cellspacing="0" | {| cellpadding="8" cellspacing="0" | ||
|- valign="top" | | |- valign="top" | | ||
| || [[File:ServerWMC_Status.png|right|border]] | | || [[File:ServerWMC_Status.png|right|border]] | ||
== Status == | === Status === | ||
* '''WMC database''' - Displays the status of the connection between ServerWMC and the Windows Media Center database | * '''WMC database''' - Displays the status of the connection between ServerWMC and the Windows Media Center database | ||
** <span style="color:#4169E1">'Opened'</span> - Indicates the server has successfully connected | ** <span style="color:#4169E1">'Opened'</span> - Indicates the server has successfully connected | ||
Line 67: | Line 69: | ||
| || [[File:ServerWMC_General.png|right|border]] | | || [[File:ServerWMC_General.png|right|border]] | ||
== General == | === General === | ||
* '''Start when Windows starts''' - Starts ServerWMC when the user logs on to Windows. Unless you have a need to start the server manually at login, this option should be enabled. | * '''Start when Windows starts''' - Starts ServerWMC when the user logs on to Windows. Unless you have a need to start the server manually at login, this option should be enabled. | ||
* '''Startup minimized''' - Minimizes ServerWMC to the Task Bar upon startup. | * '''Startup minimized''' - Minimizes ServerWMC to the Task Bar upon startup. | ||
* '''Minimize to system tray''' - Sends ServerWMC to the System Tray when minimized instead of the Task Bar. | * '''Minimize to system tray''' - Sends ServerWMC to the System Tray when minimized instead of the Task Bar. | ||
** '''Close box minimizes to system tray''' - Causes ServerWMC to minimize to the system tray when the red 'X' is clicked instead of closing the program. | ** '''Close box minimizes to system tray''' - Causes ServerWMC to minimize to the system tray when the red 'X' is clicked instead of closing the program. | ||
* '''Suspend system sleep mode when clients are online''' - Prevents PC running ServerWMC from entering sleep mode (if enabled) if any clients are connected. | |||
** '''Suspend sleep even if only client online is MediaBrowser-Server''' - Prevents PC running ServerWMC from entering sleep mode (if enabled) if MB3Server is running on the host PC regardless of other client status. | |||
* '''Port number for client connection''' - Specifies the port on which the pvr.wmc plug-in will communicate with ServerWMC. The default port is 9080. Unless you have another program communicating on this port, there is no reason to change from default. Again, if you were not prompted when launching ServerWMC or you chose to decline, '''make sure this port is open in your firewall software''' before continuing. | * '''Port number for client connection''' - Specifies the port on which the pvr.wmc plug-in will communicate with ServerWMC. The default port is 9080. Unless you have another program communicating on this port, there is no reason to change from default. Again, if you were not prompted when launching ServerWMC or you chose to decline, '''make sure this port is open in your firewall software''' before continuing. | ||
|- valign="top" | | |- valign="top" | | ||
| || [[File:ServerWMC_Folders.png | | || [[File:ServerWMC_Folders.png|right|border]] | ||
== Folders == | === Folders === | ||
* '''Path to local 'RecordedTV' folder (from WMC)''' - Displays the path of the folder where recordings will be stored. This path is specified in WMC under Tasks/Settings/TV/Recorder/Recorder Storage and is not editable from ServerWMC. If you have other clients on the network, this folder should be shared and specified below. | * '''Path to local 'RecordedTV' folder (from WMC)''' - Displays the path of the folder where recordings will be stored. This path is specified in WMC under Tasks/Settings/TV/Recorder/Recorder Storage and is not editable from ServerWMC. If you have other clients on the network, this folder should be shared and specified below. | ||
* '''Enter the network share path to this folder, this is required for remote clients:''' The smb address of the folder specified above. It is advised to test this address from another machine to make sure it is accessible remotely before continuing. | * '''Enter the network share path to this folder, this is required for remote clients:''' The smb address of the folder specified above. It is advised to test this address from another machine to make sure it is accessible remotely before continuing. | ||
Line 88: | Line 92: | ||
{{note|With non-Windows based clients, user:pass credentials are ''typically'' needed even when the Windows share is shared with "Everyone".}} | {{note|With non-Windows based clients, user:pass credentials are ''typically'' needed even when the Windows share is shared with "Everyone".}} | ||
|- valign="top" bgcolor="whitesmoke" | | |||
| || [[File:ServerWMC_Update.png|right|border]] | |||
=== Updates === | |||
* '''Version Installed''' - Displays information about the currently installed version of ServerWMC. | |||
** '''Version Status''' - Indicates if version installed is up to date or if a newer version is available. | |||
* '''Last Checked''' - Displays date ServerWMC last checked for an available update. | |||
** '''Check Now''' - Manually initiate check for newer version. | |||
** '''Apply Update''' - If a newer version is available, initiates installation of ServerWMC update. | |||
* '''Next Check''' - Displays date and time of next scheduled check for update. | |||
* '''Version Info''' - Click to view change log for currently installed version. | |||
* '''Automatically check for updates''' - When enabled, ServerWMC will automatically check for new updates. Disable if you wish to check for updates manually. | |||
* '''Automatically apply new updates (requires elevated privileges or UAC disabled)''' - When enabled, ServerWMC will automatically install the newest version when found. For this feature to work, ServerWMC must either be "Run as Administrator" or "User Account Control" must be disabled. | |||
|- valign="top | |- valign="top" | | ||
| || [[File:ServerWMC_Display_Options.png | | || [[File:ServerWMC_Display_Options.png|right|border]] | ||
== Display Options == | === Display Options === | ||
* '''Change name of timer to indicate series (repeating) recording''' | * '''Change name of timer to indicate series (repeating) recording''' | ||
** '''Append''' - Places "this text" after the recording's title. | ** '''Append''' - Places "this text" after the recording's title. | ||
Line 104: | Line 122: | ||
* '''Ignore Recording images from wmc url''' - Prevents WMC from sending recording image thumbnail url to XBMC (if found). | * '''Ignore Recording images from wmc url''' - Prevents WMC from sending recording image thumbnail url to XBMC (if found). | ||
* '''Ignore Epg images from wmc url''' - Prevents WMC from sending EPG thumbnail image url to XBMC (if found). | * '''Ignore Epg images from wmc url''' - Prevents WMC from sending EPG thumbnail image url to XBMC (if found). | ||
|- valign="top" bgcolor="whitesmoke" | | |||
| || [[File:ServerWMC_Tuners.png|right|border]] | |||
=== Tuners === | |||
* '''Tuner''' - Displays information about the tuners available to ServerWMC through WMC. | |||
* '''Space''' - Indicates the signal band of the respective tuner. | |||
* '''Channels''' - Displays number of channels available on the respective tuner. | |||
* '''Status''' - Displays availability of the respective tuner. | |||
* '''Clients''' - Displays client connected to the respective tuner (if any). | |||
* '''Reset''' - Check this box to manually reset the respective tuner. | |||
* '''Refresh''' - Click to refresh the info displayed on the "Tuners" tab. | |||
|- valign="top" | | |- valign="top" | | ||
| || [[File:ServerWMC_Live_TV.png | | || [[File:ServerWMC_Live_TV.png|right|border]] | ||
== Live TV == | === Live TV === | ||
* ''' | * '''Set the maximum run time of a Live TV stream''' | ||
* '''Only remux this language to output (if available)''' - Instructs ServerWMC to only include the specified audio language in the stream sent to XBMC. For information on locating the codes available in your stream, please see [[PVR/Backend/ServerWMC# | * '''Enable prime viewing time''' | ||
** '''Start''' | |||
** '''End''' | |||
* '''Only remux this language to output (if available)''' - Instructs ServerWMC to only include the specified audio language in the stream sent to XBMC. For information on locating the codes available in your stream, please see [[PVR/Backend/ServerWMC#Locating audio stream codes|Locating audio stream codes]]. We have reason to believe (though not confirmed) these codes follow the [http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes ISO 639-2 standards.] Confirmed valid codes for this field are as follows: | |||
** eng = English | ** eng = English | ||
** ger = German | ** ger = German | ||
Line 124: | Line 158: | ||
|- valign="top" bgcolor="whitesmoke" | | |- valign="top" bgcolor="whitesmoke" | | ||
| || [[File:ServerWMC_Recordings.png | | || [[File:ServerWMC_Recordings.png|right|border]] | ||
==Recordings == | === Recordings === | ||
* '''Group recordings in folders''' - Groups recordings into folders within the XBMC 'Recordings' list. This does not effect the physical location of the files. As well as the individual options below, this will also cause series recordings to be grouped into folders with the series name as the folder title and places individual episodes contained within. With this option disabled, a flat list of all recordings will be displayed on the 'Recordings' list. | * '''Group recordings in folders''' - Groups recordings into folders within the XBMC 'Recordings' list. This does not effect the physical location of the files. As well as the individual options below, this will also cause series recordings to be grouped into folders with the series name as the folder title and places individual episodes contained within. With this option disabled, a flat list of all recordings will be displayed on the 'Recordings' list. | ||
** '''Group active recordings in folder''' - Groups active recordings into a folder with the name specified | ** '''Group active recordings in folder''' - Groups active recordings into a folder with the name specified | ||
Line 133: | Line 166: | ||
** '''Group sports recordings in folder''' - Groups completed recordings of programs marked as a sporting event in the EPG data in the folder specified | ** '''Group sports recordings in folder''' - Groups completed recordings of programs marked as a sporting event in the EPG data in the folder specified | ||
* '''Append episode title to series title for recordings using''' - Places the episode title following the series title using the delimiter entered in the box. | * '''Append episode title to series title for recordings using''' - Places the episode title following the series title using the delimiter entered in the box. | ||
* '''Remux active recordings''' - This remuxes the active recording to a TS file before being streamed to XBMC. Files can be played right away but may encounter issues when attempting to timeshift. Disabling this option will stream the WTV file directly to the XBMC player. This will allow for smoother timeshifting but will cause the recording to stop prematurely as XBMC does not monitor the size of WTV files. Premature stopping of playback can easily be resumed by pressing play again which effectively communicates the new file size (and in turn new end point) to the XBMC player. This setting will be used more in the Gotham release affecting the ability of clients to resume playback. The default setting is enabled. | |||
|- valign="top" | | |- valign="top" | | ||
| || [[File:ServerWMC_Channels.png | | || [[File:ServerWMC_Channels.png|right|border]] | ||
== Channels == | === Channels === | ||
* '''Reload channels from WMC''' - Used to reload channel info from WMC if it has been updated without requiring ServerWMC to be restarted. | |||
* '''Order channels by:''' Designates the manner in which the channels will be arranged in the EPG within XBMC | * '''Order channels by:''' Designates the manner in which the channels will be arranged in the EPG within XBMC | ||
** '''Number''' - Arranges the channel lineup by number | ** '''Number''' - Arranges the channel lineup by number | ||
** '''Name''' - Arranges the channel lineup by name (or call sign). | ** '''Name''' - Arranges the channel lineup by name (or call sign). | ||
* ''' | * '''Channel display format:''' - Specifies now the channel name and number will be displayed within XBMC. For example, if settings were set as displayed in the screenshot, 'The WB' would displayed as 'KWGN/656'. | ||
* '''Hide DRM channels''' - Hides channels marked with DRM by the service provider from the EPG. | * '''Hide DRM channels''' - Hides channels marked with DRM by the service provider from the EPG. | ||
** '''Indicate DRM channels by appending:''' - If a channel is marked by the provider as being protected with DRM, the text entered in the box will be appended in the EPG. | ** '''Indicate DRM channels by appending:''' - If a channel is marked by the provider as being protected with DRM, the text entered in the box will be appended in the EPG. | ||
* '''Hide encrypted channels''' - Hides channels marked as encrypted by the service provider from the EPG. | * '''Hide encrypted channels''' - Hides channels marked as encrypted by the service provider from the EPG. | ||
** '''Indicate encrypted channels by appending:''' - If a channel is marked by the provider as being encrypted, the text entered in the box will be appended in the EPG. | ** '''Indicate encrypted channels by appending:''' - If a channel is marked by the provider as being encrypted, the text entered in the box will be appended in the EPG. | ||
* '''Import WMC channel icons when found''' - Imports channel icons from WMC if available. Please see [[PVR/Backend/ServerWMC#Adding icons to WMC|Adding Icons to WMC]] for additional information. | |||
* '''For channel name use:''' - Specifies how the name of the channel will be displayed within XBMC. | * '''For channel name use:''' - Specifies how the name of the channel will be displayed within XBMC. | ||
** '''Call Sign''' - Displays the channel name as it's call sign reported by WMC. Example: 'KWGN' | ** '''Call Sign''' - Displays the channel name as it's call sign reported by WMC. Example: 'KWGN' | ||
** '''Full Service Name''' - Displays the channel name as the service name reported by WMC. Example: 'The WB' | ** '''Full Service Name''' - Displays the channel name as the service name reported by WMC. Example: 'The WB' | ||
|- valign="top" bgcolor="whitesmoke" | | |- valign="top" bgcolor="whitesmoke" | | ||
| || [[File:ServerWMC_Record.png | | || [[File:ServerWMC_Record.png|right|border]] | ||
== Record == | === Record === | ||
* '''Pre-Start and Post-Stop Padding Defaults''' - This tab allows the user to specify default padding for recordings. Padding is the amount of time to record before and after the scheduled start and finish time of a program as specified by the EPG. | * '''Pre-Start and Post-Stop Padding Defaults''' - This tab allows the user to specify default padding for recordings. Padding is the amount of time to record before and after the scheduled start and finish time of a program as specified by the EPG. | ||
** '''Use WMC's padding''' - Uses padding settings specified in WMC. Settings can be found in the WMC interface under Tasks / Settings / TV / Recorder / Recording Defaults. The settings are specified as "Start when possible" and "Stop when possible". | ** '''Use WMC's padding''' - Uses padding settings specified in WMC. Settings can be found in the WMC interface under Tasks / Settings / TV / Recorder / Recording Defaults. The settings are specified as "Start when possible" and "Stop when possible". | ||
Line 171: | Line 208: | ||
|- valign="top" | | |- valign="top" | | ||
| || [[File:ServerWMC_Debug.png | | || [[File:ServerWMC_Debug.png|right|border]] | ||
== Debug == | === Debug === | ||
* '''Server Version:''' - Displays the version of ServerWMC installed | * '''Server Version:''' - Displays the version of ServerWMC installed followed by the names of clients connected and the version(s) of pvr.wmc respectively. | ||
* '''Keep a log file''' - Checking this box will cause ServerWMC to output important troubleshooting information to a log file. It is '''highly''' recommended this box be checked. | * '''Keep a log file''' - Checking this box will cause ServerWMC to output important troubleshooting information to a log file. It is '''highly''' recommended this box be checked. | ||
** ''' | ** '''Current log''' - Opens the log file for the current ServerWMC session in Notepad. | ||
** ''' | ** '''Last run's log''' - Opens the log file for the previous ServerWMC session in Notepad. | ||
** '''Service log''' - Opens log file for ServerWMC if it is being run as a service. | |||
* '''Delete temporary stream files''' - When switching to a channel, it automatically starts recording. This information is stored in a temporary file to allow for time shifting. When checked, these files will be deleted when changing channels. | * '''Delete temporary stream files''' - When switching to a channel, it automatically starts recording. This information is stored in a temporary file to allow for time shifting. When checked, these files will be deleted when changing channels. | ||
* '''Remux the playback of all WTV files''' - By default, only live streams are remuxed to TS before being sent to the client. This option enables remuxing of pre-recorded files as well. Raspberry Pi users have reported issues with playing large pre-recorded WTV files. If you are experiencing issues with viewing recorded TV, please try enabling this option. | * '''Remux the playback of all WTV files''' - By default, only live streams are remuxed to TS before being sent to the client. This option enables remuxing of pre-recorded files as well. Raspberry Pi users have reported issues with playing large pre-recorded WTV files. If you are experiencing issues with viewing recorded TV, please try enabling this option. | ||
* '''For advanced users''' | |||
** '''Edit Settings File...''' - Opens the settings file for manual editing | |||
** '''Reload Settings File''' - Reloads the settings file after being manually edited causing the changes to take effect without restarting ServerWMC. | |||
<br /> | <br /> | ||
<br /> | <br /> | ||
Line 190: | Line 230: | ||
<br /> | <br /> | ||
= Connecting ServerWMC to XBMC = | == Connecting ServerWMC to XBMC == | ||
Please install and configure the pvr.wmc add-on to access live TV from within XBMC using ServerWMC. | Please install and configure the pvr.wmc add-on to access live TV from within XBMC using ServerWMC. | ||
Please see the pvr.wmc Wiki page for additional information here: | |||
Please see the pvr.wmc Wiki page for additional information here: '''[[Add-on:PVR.WMC]]''' | |||
{{Next|[[Add-on:PVR.WMC|Connecting ServerWMC to XBMC]]}} | |||
= Troubleshooting / FAQ = | == Troubleshooting / FAQ == | ||
* '''Can I record to a network share, NAS drive, etc.?''' - Unfortunately no. This is not supported by WMC. Recordings must be saved to a drive connected directly to the PC running WMC. This is done because if there is a glitch in the network connection while recording, it will corrupt the entire recording rendering it unwatchable. | * '''Can I record to a network share, NAS drive, etc.?''' - Unfortunately no. This is not supported by WMC. Recordings must be saved to a drive connected directly to the PC running WMC. This is done because if there is a glitch in the network connection while recording, it will corrupt the entire recording rendering it unwatchable. | ||
{{note|Advanced users can attempt to "trick" WMC into thinking a local drive is being used, using methods such as linking the recorded TV folder to a network location with a NTFS directory junction (aka symlink) or presenting a drive from their NAS using ISCSI. In both cases WMC believes it is recording to a local drive, however the drive/files actually are located on a network device.}} | {{note|Advanced users can attempt to "trick" WMC into thinking a local drive is being used, using methods such as linking the recorded TV folder to a network location with a NTFS directory junction (aka symlink) or presenting a drive from their NAS using ISCSI. In both cases WMC believes it is recording to a local drive, however the drive/files actually are located on a network device.}} | ||
= Known Issues = | == Known Issues == | ||
* '''Upgrading from Windows 8 to 8.1''' - When upgrading from 8 -> 8.1, it is necessary to re-install ServerWMC. | * '''Upgrading from Windows 8 to 8.1''' - When upgrading from 8 -> 8.1, it is necessary to re-install ServerWMC. | ||
= Additional Guides and Links = | == Additional Guides and Links == | ||
* ServerWMC/pvr.wmc Support Forum - http://forum. | * 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 | ||
= Advanced Topics = | == Advanced Topics == | ||
{| cellpadding="8" cellspacing="0" | {| cellpadding="8" cellspacing="0" | ||
|- valign="top" | | |- valign="top" | | ||
| || | | || | ||
== Locating audio stream codes == | === Locating audio stream codes === | ||
Start a live TV stream in XBMC. Open the ServerWMC log file and locate the audio descriptors. In the following example excerpt of the log file, there are two available audio streams. The codes are highlighted. These are the codes that can be used to specify the desired audio stream sent to XBMC under [[PVR/Backend/ServerWMC# | Start a live TV stream in XBMC. Open the ServerWMC log file and locate the audio descriptors. In the following example excerpt of the log file, there are two available audio streams. The codes are highlighted. These are the codes that can be used to specify the desired audio stream sent to XBMC under [[PVR/Backend/ServerWMC#Live TV|Live TV / Remux Language]]. We have reason to believe (though not confirmed) these codes follow the [http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes ISO 639-2 standards.] | ||
'''If you identify and confirm a code that is not already contained in the list above, please add it or drop a comment in the [http://forum. | '''If you identify and confirm a code that is not already contained in the list above, please add it or drop a comment in the [http://forum.kodi.tv/showthread.php?tid=176174 wiki thread]. Thanks!''' | ||
<br /><br /> | <br /><br /> | ||
<code> | <code> | ||
Line 229: | Line 270: | ||
</code> | </code> | ||
== Adding icons to WMC == | === Adding icons to WMC === | ||
{| cellpadding="8" cellspacing="0" | {| cellpadding="8" cellspacing="0" | ||
|- valign="top" | | |- valign="top" | | ||
| || | | || | ||
=== Automatically === | ==== Automatically ==== | ||
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 | 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 third-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. It's worth it, the program works flawlessly. (As of this writing, the minimum donation is $5). | ||
<br /> | <br /> | ||
<br /> | <br /> | ||
=== Manually === | ==== Manually ==== | ||
* Set your Channel display format to {1}-{0} instead of {1}/{0} on the 'Channels' tab of the ServerWMC GUI. | * Set your Channel display format to {1}-{0} instead of {1}/{0} on the 'Channels' tab of the ServerWMC GUI. | ||
Line 251: | Line 292: | ||
|} | |} | ||
== Running ServerWMC as a service == | === Running ServerWMC as a service === | ||
{{note|This is an experimental feature and recommended only for advanced users at this time.}} | {{note|This is an experimental feature and recommended only for advanced users at this time.}} | ||
Line 277: | Line 318: | ||
<br /> | <br /> | ||
== Sharing the TV and EPG databases using MySQL == | === Sharing the TV and EPG databases using MySQL === | ||
{{note|Though it is ''possible'' to share these databases using MySQL, preliminary testing has shown '''absolutely no benefit''' and is known to actually ''cause'' issues. This method is '''completely unsupported by the devs. Consider yourself warned'''.}} | {{note|Though it is ''possible'' to share these databases using MySQL, preliminary testing has shown '''absolutely no benefit''' and is known to actually ''cause'' issues. This method is '''completely unsupported by the devs. Consider yourself warned'''.}} | ||
Line 304: | Line 345: | ||
|} | |} | ||
[[Category:PVR|*]] | |||
[[Category:Live TV]] |
Revision as of 18:21, 26 October 2018
PVR | Recording software | ServerWMC |
ServerWMC is a server interface for Windows which communicates with Windows Media Center (WMC) allowing it to be used as a Personal Video Recorder (PVR) backend providing Live TV, PVR functions and Electronic Program Guide (EPG) data. These services are provided to XBMC though the pvr.wmc add-on.
ServerWMC was developed and is maintained by krustyreturns.
A fantastic guide detailing the setup of XBMC, WMC, ServerWMC, pvr.wmc and everything else you need to know from beginning to end can be found here: http://forum.kodi.tv/showthread.php?tid=193310
Configuring Windows Media Center
Windows Media Center must first be fully configured (tuners configured, EPG configured, channels setup, etc) on the PC to be used as the TV Server prior to using ServerWMC. This setup will vary slightly based on the tuner you are using. There is a generic WMC setup guide here that may be of assistance to those new to WMC: http://www.howtogeek.com/howto/9166/learning-windows-7-setup-live-tv-in-windows-media-center/
The following is setup information specific to some popular devices:
- HDHomeRun - http://www.silicondust.com/support/hdhomerun/instructions/wmc7/
- HDHomeRun Prime - http://www.silicondust.com/support/hdhomerun/instructions/prime/
- Ceton InfiniTV Products (All) - http://cetoncorp.com/product-support/
Note: Though Windows Media Center must be configured, it is not necessary for WMC to be running to provide the connection to ServerWMC.
If you have previously disabled WMC services, please re-enable them at this time. Though WMC does not need to be running, if the services are disabled and WMC is unable to automatically update EPG data, XBMC will either display a blank EPG or CRASH when selecting 'Live TV'.
Please ensure you can view live TV from within WMC before continuing!
Downloading & Installing ServerWMC
The latest version of ServerWMC can be found here: http://bit.ly/serverwmc
ServerWMC includes an installer package so simply download, unzip and run Installer_ServerWMC.msi as administrator. It is not necessary to uninstall the previous version before installing an updated version.
Note: ServerWMC must be installed on the same PC that was configured for Windows Media Center above.
ServerWMC Configuration (Quick)
Launch ServerWMC from the Start Menu. An entry was created during installation at Start/ServerWMC/ServerWMC.
Note: On first run, you should be prompted to allow ServerWMC.exe through your firewall. Make sure to select allow.
Ensure that Windows Media Center (WMC) is configured with particular attention to the following:
- Directory for recorded TV is specified
- TV tuners are installed and detected
- TV channels are scanned
- You are able to watch live TV within WMC
Ensure that the Windows Media Center "Recorded TV" folder is Shared from the server PC (as clients will need to access it via smb://). If the share is protected or if accessing with non-windows based clients, the username and password for the share should be entered on the 'folders' tab within ServerWMC.
Run ServerWMC application and check/configure the settings. Additional info on each setting can be found below.
Note: ServerWMC supports most of the WMC configuration including enable/disable channels, set custom channel orders/numbers and custom channel icons. These settings should be configured within WMC and not XBMC.
ServerWMC Configuration (Detailed)
Status
| |
General
| |
Folders
| |
Updates
| |
Display Options
| |
Tuners
| |
Live TV
| |
Recordings
| |
Channels
| |
Record
| |
Debug
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. |
Connecting ServerWMC to XBMC
Please install and configure the pvr.wmc add-on to access live TV from within XBMC using ServerWMC.
Please see the pvr.wmc Wiki page for additional information here: Add-on:PVR.WMC
Next step: | Connecting ServerWMC to XBMC |
Troubleshooting / FAQ
- Can I record to a network share, NAS drive, etc.? - Unfortunately no. This is not supported by WMC. Recordings must be saved to a drive connected directly to the PC running WMC. This is done because if there is a glitch in the network connection while recording, it will corrupt the entire recording rendering it unwatchable.
Note: Advanced users can attempt to "trick" WMC into thinking a local drive is being used, using methods such as linking the recorded TV folder to a network location with a NTFS directory junction (aka symlink) or presenting a drive from their NAS using ISCSI. In both cases WMC believes it is recording to a local drive, however the drive/files actually are located on a network device.
Known Issues
- Upgrading from Windows 8 to 8.1 - When upgrading from 8 -> 8.1, it is necessary to re-install ServerWMC.
Additional Guides and Links
- 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
Advanced Topics
Locating audio stream codesStart a live TV stream in XBMC. Open the ServerWMC log file and locate the audio descriptors. In the following example excerpt of the log file, there are two available audio streams. The codes are highlighted. These are the codes that can be used to specify the desired audio stream sent to XBMC under Live TV / Remux Language. We have reason to believe (though not confirmed) these codes follow the ISO 639-2 standards. If you identify and confirm a code that is not already contained in the list above, please add it or drop a comment in the wiki thread. Thanks!
Adding icons to WMC
Running ServerWMC as a serviceNote: This is an experimental feature and recommended only for advanced users at this time.
Sharing the TV and EPG databases using MySQLNote: Though it is possible to share these databases using MySQL, preliminary testing has shown absolutely no benefit and is known to actually cause issues. This method is completely unsupported by the devs. Consider yourself warned. Assuming you are already using MySQL with XBMC, add the following to advancedsettings.xml:
Please replace the 'host' IP addresses, 'user' names and 'pass'words accordingly. If you have not setup MySQL and wish to, please see the guide here: HOW-TO:Share libraries using MySQL |