Kodi Community Forum
WMC as the backend - released - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: Windows Media Center (WMC) (https://forum.kodi.tv/forumdisplay.php?fid=205)
+---- Thread: WMC as the backend - released (/showthread.php?tid=171216)



RE: WMC as the backend - released - okawkgi80 - 2013-08-21

(2013-08-21, 16:40)cdan_smith Wrote:
(2013-08-21, 12:42)okawkgi80 Wrote:
(2013-08-19, 16:38)cdan_smith Wrote: Hey Krusty - Have been watching this development for a while with baited breath ... glad to see it progress to release!

My setup is WMC on Win7 server, and OpenElec client(s). Everything installed great - on the client I had to install from a zip file instead of copying to the addin directory - something about that directory not being visible in openelec. Regardless, once the PVR addin was enabled and configured with the IP of the WMC server, it started grabbing EPG data, showing the upcoming recordings on the LiveTV screen in XBMC, etc.

Issue seems to be in seeing the recordings listing on the client. I followed the install directions about permissions on the "Recorded TV" directory on the server, but nothing is showing up in the list except the double dots (previous directory). When I click on the "validate" button in the server app, it pops up an "OK" dialog.

Any ideas on why this might be? Any details you can give about setting up the permissions for the recorded TV directory? Wondering if it's something about OpenELEC being a unix client ...

Hey, cdan_smith,

I was wondering how you got the openelec client to work correctly. I'm running the latest OpenELEC (Intel build). Similar to your experience, I found dragging the zip file to the addon directory to fail, but when I "install from zip file", it installs fine. But that's where it stops for me. Once i try to enable the addon as my PVR client I get " An unknown error has occured. Add-on could not be loaded".

Any ideas why that might be or any input on your experience? Any help to a complete beginner would be very appreciated!! If anyone has had any success with getting this awesome client to work on OpenELEC, please share your experiences.

Trying to recall how I did the install on the client. I copied the Linux .zip file to the download directory of the client using Windows Explorer (type in \\IP_ADDRESS_OF_OPENELEC\ into the location bar). Then installed from zip file using the XBMC UI. I had to jump around a bit to different areas to get it configured and activated. It said it was enabled when it was installed, but it didn't seem to be running, so I think I had to disable it, configure, then enable again? Also, the server piece was running on a different machine ahead of time, and WMC was all set up and running on that separate box - don't think it actually needs to be running tho, but haven't tried that.

Again, I'm recalling from memory how the client was installed, but it was pretty straightforward. Maybe double-check you downloaded the Linux client? Maybe try installing from the download directory?

KR - is there any logging on the client?

Thanks for the reply cdan_smith. Really appreciate it!

Definitely downloaded the linux client and followed the same steps you've done in installation. The problem seems to occur after this point, when i try to enable it as my PVR client. Server is also running on a different machine with WMC set up showing database "open" with channels found. Other PVR clients seem to get enabled fine though, so I am uncertain if this is a problem with PVR functionality in my build. Any thoughts would be very welcomed.

Excuse my lack of knowledge here but how do i check the logging?

Thanks again!


RE: WMC as the backend - released - Dark_Slayer - 2013-08-21

(2013-08-21, 12:42)okawkgi80 Wrote: I was wondering how you got the openelec client to work correctly. I'm running the latest OpenELEC (Intel build). Similar to your experience, I found dragging the zip file to the addon directory to fail, but when I "install from zip file", it installs fine. But that's where it stops for me. Once i try to enable the addon as my PVR client I get " An unknown error has occured. Add-on could not be loaded".

Any ideas why that might be or any input on your experience? Any help to a complete beginner would be very appreciated!! If anyone has had any success with getting this awesome client to work on OpenELEC, please share your experiences.

I haven't used this yet, but I'm very excited to see it released

To take a stab at what might be happening (actually taking a stab at what you might try to solve it). It sounds like you aren't able to configure the add-on, and if so . . .
  • Try going to Settings-LiveTV and Disable
  • Then go to add-ons and configure
  • Then enable addon
  • Re-enable Live TV in Settings->LiveTV



RE: WMC as the backend - released - okawkgi80 - 2013-08-21

(2013-08-21, 21:33)Dark_Slayer Wrote: I haven't used this yet, but I'm very excited to see it released

To take a stab at what might be happening (actually taking a stab at what you might try to solve it). It sounds like you aren't able to configure the add-on, and if so . . .
  • Try going to Settings-LiveTV and Disable
  • Then go to add-ons and configure
  • Then enable addon
  • Re-enable Live TV in Settings->LiveTV

Hey Dark_Slayer
Addon gets enabled fine from configure if Live TV is disabled in XBMC's settings (ie; Settings--> Live TV-->General (Enabled unchecked)
But once I re-enable Live TV as you suggested, I get the error "PVR Clients: Windows Media Center PVR. An unknown error has occured. Add-on could not be loaded"

Thanks for taking a stab at this! Any thoughts on what could be causing this?


RE: WMC as the backend - released - Dilligaf - 2013-08-21

Is your install 32 bit or 64 bitHuh? The Linux client that is built is 32 bit only.


RE: WMC as the backend - released - krustyreturns - 2013-08-21

(2013-08-21, 18:07)cdan_smith Wrote: So it seems I now have a corrupt EPG - probably through all the different configuration changes. When I try and "Reset EPG Database" from the Settings/Live TV menu, it just hangs - same behavior when I try and show the EPG. Anyone know how to clean out the EPG another way?

Also, I'm in the US with Verizon Fios cable. the Server component is showing 730+ channels, and the "entries transferred count" is getting really high - 80K+ Normal behavior?

Yes this is normal. An 'entry' means an entry in the EPG, i.e. a tv program. So its a count of how many episodes it has transferred to the client(s). I should probably rename this to something more obvious. Like 'program'?


RE: WMC as the backend - released - okawkgi80 - 2013-08-21

(2013-08-21, 22:07)Dilligaf Wrote: Is your install 32 bit or 64 bitHuh? The Linux client that is built is 32 bit only.

Oh my install is 64 bit actually. Didn't realize the build was 32 bit only! Thanks for that. Anyone know how I can get a 64 bit of this client for OpenELEC? Really looking forward to trying this awesome addon! Is anyone working on a 64 bit version? Wish I can help somehow


RE: WMC as the backend - released - krustyreturns - 2013-08-21

(2013-08-21, 17:04)cdan_smith Wrote:
(2013-08-20, 21:15)krustyreturns Wrote:
(2013-08-20, 21:05)cdan_smith Wrote: OK I think we have the culprit. Here's the snip from the log:

>Finished request GetTimers in 4.60s
>Received client request: 192.168.1.24|GetRecordings
>Convert2ClientPath> error path not resolved:
>Convert2ClientPath> inPath: C:\Users\Public\Recorded TV\How I Met Your Mother_WGNAMER_2012_06_10_21_00_07.wtv
>Convert2ClientPath> local recording path: G:\Recorded TV\
>Convert2ClientPath> network recording path: smb:\\192.168.1.7\Recorded TV\
>GetRecordings error: Convert2ClientPath> path not resolved
>Finished request GetRecordings in 1.13s

Seems that when I first got WMC installed and running on this box, I had it configured to save to the local C: drive. I then installed a separate drive to store the recordings (GSmile, but there must have been some leftover recordings on the C: drive still in the WMC library (about 6 of them). I've gon into WMC, deleted the offending recordings, and now all is well! - recordings are being passed to the client

This is an edge case I'm sure, but maybe you can ignore recordings that aren't in the local recording path, or somehow alert the user if it finds one?

Nice job. Yes, it looks like I have a bug for when recordings are distributed over a couple of directories instead of just one. Thanks for finding this!

Glad to contribute even in this small way!

Question: How much of the client UI is XBMC and how much is your work? I like the way WMC has options for displaying recordings grouped by series, but can't find a way to do that in the XBMC UI ...

I don't think I can control the order of the recorded tv files I assume its dictated by xbmc, but its an experiment I plan to do once I finish this win8 nightmare.


RE: WMC as the backend - released - asm495 - 2013-08-21

(2013-08-21, 22:55)okawkgi80 Wrote:
(2013-08-21, 22:07)Dilligaf Wrote: Is your install 32 bit or 64 bitHuh? The Linux client that is built is 32 bit only.

Oh my install is 64 bit actually. Didn't realize the build was 32 bit only! Thanks for that. Anyone know how I can get a 64 bit of this client for OpenELEC? Really looking forward to trying this awesome addon! Is anyone working on a 64 bit version? Wish I can help somehow

I'd like to get a 64 bit build too for OpenElec.


RE: WMC as the backend - released - t-magnus - 2013-08-22

(2013-08-21, 23:03)krustyreturns Wrote:
(2013-08-21, 17:04)cdan_smith Wrote: Question: How much of the client UI is XBMC and how much is your work? I like the way WMC has options for displaying recordings grouped by series, but can't find a way to do that in the XBMC UI ...

I don't think I can control the order of the recorded tv files I assume its dictated by xbmc, but its an experiment I plan to do once I finish this win8 nightmare.

Correct, the ordering is controlled by XBMC... If you open the context menu © while in Recorded TV, you can choose to sort by date or name.


RE: WMC as the backend - released - drewscm - 2013-08-22

I am probably repeating something that has come up, (I did search but didn't find), recorded tv shows free after 10 -15 minutes. Any ideas?


RE: WMC as the backend - released - okawkgi80 - 2013-08-22

(2013-08-21, 23:14)asm495 Wrote:
(2013-08-21, 22:55)okawkgi80 Wrote:
(2013-08-21, 22:07)Dilligaf Wrote: Is your install 32 bit or 64 bitHuh? The Linux client that is built is 32 bit only.

Oh my install is 64 bit actually. Didn't realize the build was 32 bit only! Thanks for that. Anyone know how I can get a 64 bit of this client for OpenELEC? Really looking forward to trying this awesome addon! Is anyone working on a 64 bit version? Wish I can help somehow

I'd like to get a 64 bit build too for OpenElec.


Any chance someone can help us out with a 64 bit version for OpenELEC? Been waiting forever for this amazing idea to be implemented!

Thanks in advance!


RE: WMC as the backend - released - krustyreturns - 2013-08-22

(2013-08-22, 01:29)drewscm Wrote: I am probably repeating something that has come up, (I did search but didn't find), recorded tv shows free after 10 -15 minutes. Any ideas?

Hi. Can you explain more about the problem? I don't understand what you mean by 'free after 10 - 15 minutes'. Do you mean freeze?


RE: WMC as the backend - released - krustyreturns - 2013-08-22

(2013-08-22, 01:46)okawkgi80 Wrote:
(2013-08-21, 23:14)asm495 Wrote:
(2013-08-21, 22:55)okawkgi80 Wrote: Oh my install is 64 bit actually. Didn't realize the build was 32 bit only! Thanks for that. Anyone know how I can get a 64 bit of this client for OpenELEC? Really looking forward to trying this awesome addon! Is anyone working on a 64 bit version? Wish I can help somehow

I'd like to get a 64 bit build too for OpenElec.


Any chance someone can help us out with a 64 bit version for OpenELEC? Been waiting forever for this amazing idea to be implemented!

Thanks in advance!

I will ask the guy who did the last linux build if he can do it for x64.


RE: WMC as the backend - released - MeMeMe - 2013-08-22

(2013-08-21, 21:46)okawkgi80 Wrote:
(2013-08-21, 21:33)Dark_Slayer Wrote: I haven't used this yet, but I'm very excited to see it released

To take a stab at what might be happening (actually taking a stab at what you might try to solve it). It sounds like you aren't able to configure the add-on, and if so . . .
  • Try going to Settings-LiveTV and Disable
  • Then go to add-ons and configure
  • Then enable addon
  • Re-enable Live TV in Settings->LiveTV

Hey Dark_Slayer
Addon gets enabled fine from configure if Live TV is disabled in XBMC's settings (ie; Settings--> Live TV-->General (Enabled unchecked)
But once I re-enable Live TV as you suggested, I get the error "PVR Clients: Windows Media Center PVR. An unknown error has occured. Add-on could not be loaded"

Thanks for taking a stab at this! Any thoughts on what could be causing this?

This happened to me, and it was due to firewall not being properly setup. I closed down the WMC server on the client and restarted it, and then was able to setup the firewall. If it's the same problem for you, I'd look into how to manually setup the needed firewall port. Maybe there's a port class too - you could try changing the port in both the server and in XBMC.


RE: WMC as the backend - released - okawkgi80 - 2013-08-22

(2013-08-22, 04:58)krustyreturns Wrote:
(2013-08-22, 01:46)okawkgi80 Wrote:
(2013-08-21, 23:14)asm495 Wrote: I'd like to get a 64 bit build too for OpenElec.


Any chance someone can help us out with a 64 bit version for OpenELEC? Been waiting forever for this amazing idea to be implemented!

Thanks in advance!

I will ask the guy who did the last linux build if he can do it for x64.

Thanks krustyreturns and great work!