ServerWMC: Difference between revisions
m (Bot: Automated text replacement (- XBMC + {{name}} )) |
m (Robot: Substituting template: Name) |
||
Line 2: | Line 2: | ||
{{mininav|[[PVR]]|[[Recording software]]}} | {{mininav|[[PVR]]|[[Recording software]]}} | ||
[[File:SWMC_Logo.jpg|right|border]] | [[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 | 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.xbmc.org/member.php?action=profile&uid=135134 krustyreturns]. | ServerWMC was developed and is maintained by [http://forum.xbmc.org/member.php?action=profile&uid=135134 krustyreturns]. | ||
Line 19: | Line 19: | ||
* [http://cetoncorp.com/products/infinitv/ '''Ceton InfiniTV Products (All)'''] - http://cetoncorp.com/product-support/ | * [http://cetoncorp.com/products/infinitv/ '''Ceton InfiniTV Products (All)'''] - http://cetoncorp.com/product-support/ | ||
<br /> | <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, | {{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 == | ||
Line 102: | Line 102: | ||
** '''Prepend''' - Places "this text" before the recording's title. | ** '''Prepend''' - Places "this text" before the recording's title. | ||
*** '''this text''' - Text to place before or after the recording's title | *** '''this text''' - Text to place before or after the recording's title | ||
* '''Indicate 'Repeat' episodes in plot descriptions by appending''' - Places the specified text at the end of the plot description in the | * '''Indicate 'Repeat' episodes in plot descriptions by appending''' - Places the specified text at the end of the plot description in the XBMC EPG episode info screen if the episode was marked as a repeat in the WMC EPG data. | ||
* '''Indicate 'Repeat' episodes in recording/EPG titles by appending''' - Places the specified text following the recording title and in the | * '''Indicate 'Repeat' episodes in recording/EPG titles by appending''' - Places the specified text following the recording title and in the XBMC EPG if the episode was marked as a repeat in the WMC EPG data. | ||
* '''Hide content protected recordings.''' - Hides content marked as protected by the service provider from XBMC. (Protected content is only viewable from within WMC). | * '''Hide content protected recordings.''' - Hides content marked as protected by the service provider from XBMC. (Protected content is only viewable from within WMC). | ||
* '''For sporting events, always append episode title to main title.''' - Appends the title of the episode to main title. For example, "Monday Night Football" becomes "Monday Night Football - New England vs. Miami" | * '''For sporting events, always append episode title to main title.''' - Appends the title of the episode to main title. For example, "Monday Night Football" becomes "Monday Night Football - New England vs. Miami" | ||
* '''Ignore Recording images from wmc url''' - Prevents WMC from sending recording image thumbnail url to | * '''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 | * '''Ignore Epg images from wmc url''' - Prevents WMC from sending EPG thumbnail image url to XBMC (if found). | ||
Line 134: | Line 134: | ||
=== Recordings === | === Recordings === | ||
* '''Group recordings in folders''' - Groups recordings into folders within the | * '''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 | ||
** '''Group movie recordings in folder''' - Groups completed recordings of programs marked as a movie in the EPG data in the folder specified | ** '''Group movie recordings in folder''' - Groups completed recordings of programs marked as a movie 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 | ** '''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 | * '''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. | ||
Line 197: | Line 197: | ||
<br /> | <br /> | ||
{{note|'''If you are having issues and need to request assistance in the | {{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.}} | ||
|} | |} | ||
Line 203: | Line 203: | ||
<br /> | <br /> | ||
== Connecting ServerWMC to | == Connecting ServerWMC to XBMC == | ||
Please install and configure the pvr.wmc add-on to access live TV from within | Please install and configure the pvr.wmc add-on to access live TV from within XBMC using ServerWMC.<br /> | ||
Please see the pvr.wmc Wiki page for additional information here: http://wiki.xbmc.org/index.php?title=Add-on:PVR.WMC | Please see the pvr.wmc Wiki page for additional information here: http://wiki.xbmc.org/index.php?title=Add-on:PVR.WMC | ||
<br /> | <br /> | ||
Line 227: | Line 227: | ||
| || | | || | ||
=== 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 | 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.xbmc.org/showthread.php?tid=176174 wiki thread]. Thanks!''' | '''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.xbmc.org/showthread.php?tid=176174 wiki thread]. Thanks!''' | ||
Line 282: | Line 282: | ||
* '''Further Information''' | * '''Further Information''' | ||
** '''Service Info''' - The service is called "ServerWMC | ** '''Service Info''' - The service is called "ServerWMC XBMC PVR Backend" (the shortname for the service is ServerWMC_Service). Currently, the service is not automatically installed by the program installer, instead there is a batch file in the install directory to do this. This only needs to be done once and wont need to be done again for future releases. The service is installed as manual startup by default. If users want the service to start automatically when windows starts, then they should choose Automatic or possibly Automatic (Delayed Start) if there are problems with it accessing the WMC services if it starts too early. | ||
** '''Settings''' - The service shares the settings with the standalone app, which are stored in config.xml in the ProgramData directory. NOTE that any changes to these settings are not picked up by the service automatically. You must RESTART the service after making any settings changes to this file directly or via the ServerWMC UI. | ** '''Settings''' - The service shares the settings with the standalone app, which are stored in config.xml in the ProgramData directory. NOTE that any changes to these settings are not picked up by the service automatically. You must RESTART the service after making any settings changes to this file directly or via the ServerWMC UI. | ||
** '''Standalone ServerWMC App''' - You must set the standalone ServerWMC app to know that you are running the service, otherwise they will both try and bind to the listen port and accept client requests (causing one or both to fail). This is done by setting the RunAsService parameter in the config.xml file to true while the app is not running. The app no longer needs to be running, it is only used for editing settings. The app does not show information about current streams, current connected clients etc. It has no knowledge of what the service is doing, it is purely used to maintain the settings file. | ** '''Standalone ServerWMC App''' - You must set the standalone ServerWMC app to know that you are running the service, otherwise they will both try and bind to the listen port and accept client requests (causing one or both to fail). This is done by setting the RunAsService parameter in the config.xml file to true while the app is not running. The app no longer needs to be running, it is only used for editing settings. The app does not show information about current streams, current connected clients etc. It has no knowledge of what the service is doing, it is purely used to maintain the settings file. |
Revision as of 20:36, 5 June 2014
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.xbmc.org/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: https://googledrive.com/host/0ByNnAMYBoWvfTk8tRWJXYko1T2c/index.html
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
| |
Display Options
| |
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: http://wiki.xbmc.org/index.php?title=Add-on:PVR.WMC
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.xbmc.org/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 |