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 - krustyreturns - 2013-08-25

(2013-08-25, 10:03)ptsorrell Wrote:
Quote:P.S. Now if someone could just create a Netflix addon that looks like the one used in WMC (the best I've seen). Hard to believe one doesn't exist for XBMC.

check this out see if it works for you
http://forum.xbmc.org/showthread.php?tid=131464
kinda integrates wmc netflix into xbmc.

I don't want to derail this thread but let me just say that:

You can also use the one I wrote Smile, it was discussed in our old giant thread, but it got lost in the pvr discussion. My wmc netflix launcher is context sensitive. Meaning after you launch netflix in wmc and navigate around in netflix, you can just start hitting the 'back' button get back out of netflix and back into xbmc - i.e. the same as you navigate any app in xbmc. It makes it feel more like its integrated into xbmc.

You can download mine here:
https://skydrive.live.com/?cid=97357342de886853#cid=97357342DE886853&id=97357342DE886853%21143

Maybe I'll move it to my pvr webpage...

Has anybody tried the 64b linux client yet? There were a few posts requesting it, and I am curious how it it working (since I can't try it myself).


RE: WMC as the backend - released - scott967 - 2013-08-26

I have had some instances where setting a channel has resulted in XBMC showing a buffering ... please wait and the UI was unresponsive. Had to kill XBMC from Windows. I will try to narrow down exactly what is causing it and get some logs.

scott s.
.


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

(2013-08-26, 05:45)scott967 Wrote: I have had some instances where setting a channel has resulted in XBMC showing a buffering ... please wait and the UI was unresponsive. Had to kill XBMC from Windows. I will try to narrow down exactly what is causing it and get some logs.

scott s.
.

You don't have to narrow it down too much (although reproducibility info is always nice when you can get it), just send me the server log next time it happens. Thanks.


RE: WMC as the backend - released - jeffj9930 - 2013-08-26

Hi,

This is what I've seen on W8 64, Frodo 12.2, latest server rev.:

1) I have CPU usage at 45% while watching Live TV. I don't see this on WMC. It's at 8%. When I watch recorded shows it is at 10%. This is on an i5-3570k quad-core. One other point, I see the usage vary. Sometimes as low as 15% and as high as 50%.

2) Trying to watch a recording while still in progress ended up stopping playback after 10 minutes.

3) Trying to watch a show live that is being recorded shows a timeline that is constantly growing. If I'm at 50 seconds the max time is at 57 seconds, and so on. It's being constantly updated. The timeline should show the full duration of the show. That is, 30 min or whatever.

4) There's no method to extend the record time of a show. Such as when I'm watching a sport event that goes over its allotted time. I have to use the EPG specified time. It would be helpful to be able to add 30 or 60 if needed.

5) Deleting a recording will leave the show title there even though the show is removed. It doesn't refresh all the time.

These aren't complaints but just so you have feedback on things..

Items 1) and 4) are the most important to me.

Jeff


RE: WMC as the backend - released - dbqbbq - 2013-08-26

Any hope of getting a version of this compatible with streaming outside the local network? I setup an ftp to access the server storage remotely (mounted as M:\ on the client computer) but the server program didn't like that - it kept changing the folder location back to smb:\\ (presumably because the server doesn't have an M:\ drive and the server does some check to make sure the folder location is valid). I'm not sure if the ftp solution would even work, just thought I'd mention I tried it. Has anyone else gotten this to work outside a local network?

Edit: Should mention I was able to get the client to connect to the server and download all channelmap and epg data, just couldn't stream live or recorded tv.


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

(2013-08-26, 16:40)jeffj9930 Wrote: Hi,

This is what I've seen on W8 64, Frodo 12.2, latest server rev.:

1) I have CPU usage at 45% while watching Live TV. I don't see this on WMC. It's at 8%. When I watch recorded shows it is at 10%. This is on an i5-3570k quad-core. One other point, I see the usage vary. Sometimes as low as 15% and as high as 50%.

2) Trying to watch a recording while still in progress ended up stopping playback after 10 minutes.

3) Trying to watch a show live that is being recorded shows a timeline that is constantly growing. If I'm at 50 seconds the max time is at 57 seconds, and so on. It's being constantly updated. The timeline should show the full duration of the show. That is, 30 min or whatever.

4) There's no method to extend the record time of a show. Such as when I'm watching a sport event that goes over its allotted time. I have to use the EPG specified time. It would be helpful to be able to add 30 or 60 if needed.

5) Deleting a recording will leave the show title there even though the show is removed. It doesn't refresh all the time.

These aren't complaints but just so you have feedback on things..

Items 1) and 4) are the most important to me.

Jeff

No problem. Constructive complaints are welcome (so would be help Smile).

1) It is remuxing wtv to ts, so its not doing the same thing wmc is doing because wmc plays wtv directly - again its because ffmpeg in xbmc cannot handle a wtv file that is actively being recorded to. That was the problem that Jeff was working to solve, before his new new medical career grabbed him. I heard from him last week and he plans on getting back to it when his current rotation ends. But as always we are looking for volunteers to help if there are any out there. This was a big job, Jeff took this on, so I could concentrate on the remux alternative solution and all the other pvr issues - thats still the way it has to be IMO.

2) Are you saying this happens consistently, or happened once? Either way please send me a server log when this happens.

3) That is valid, I hadn't thought of that as a problem. I don't think there is a way around this, it has to do with how the xbmc pvr interface works. This could maybe be handled if we are able to play wtv directly, but I don't think I can do this if we are remuxing. I will think about it though.

4) I don't understand this one, because I currently use the extending rec times that xbmc lets you set for timers. Did you try it and it didn't work? I think I need more detail on what you want.

5) This issue is on the todo list. There will be an option to allow for file deletion in the server. I currently have it this way to stop my kids deleting stuff with clients, I prefer letting the rec service handle deletion. This is easy to take care of, the refresh too, its just at a lower priority right now

thanks, these are all good.

(2013-08-26, 18:34)dbqbbq Wrote: Any hope of getting a version of this compatible with streaming outside the local network? I setup an ftp to access the server storage remotely (mounted as M:\ on the client computer) but the server program didn't like that - it kept changing the folder location back to smb:\\ (presumably because the server doesn't have an M:\ drive and the server does some check to make sure the folder location is valid). I'm not sure if the ftp solution would even work, just thought I'd mention I tried it. Has anyone else gotten this to work outside a local network?

Edit: Should mention I was able to get the client to connect to the server and download all channelmap and epg data, just couldn't stream live or recorded tv.

I actually have a note I wrote to myself in the code that the parsing of network names won't work with mapped drives, and it will need to be fixed. I wondered if anybody would notice, so now I know. I will add it to the bug list.

If the client you're referring to is not on the same machine as the server, the problem you are having with live and rec tv is due to the network share not being set up correctly (same as your first issue).


RE: WMC as the backend - released - jeffj9930 - 2013-08-26

In regards to 4), I was going through the EPG. If I right click you can go to Client Actions > Recording Preferences. I thought there might be a way of doing it from there. I see the Timer area where it allows for changing start and end times. Sorry I didn't look more.

On 2) it was a single incident. I will keep an eye on it and get you logs if it reoccurs.

Jeff


RE: WMC as the backend - released - dysan911 - 2013-08-27

Is there a way to launch the WMC Server minimized? I have a reboot schedule on my system nightly and when it comes back up it appears XBMC starts first and then WMC Server eventually loads and takes the focus away from XBMC and hovers there in the upper left corner.

Thanks!


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

(2013-08-27, 03:25)dysan911 Wrote: Is there a way to launch the WMC Server minimized? I have a reboot schedule on my system nightly and when it comes back up it appears XBMC starts first and then WMC Server eventually loads and takes the focus away from XBMC and hovers there in the upper left corner.

Thanks!

Finally an easy one: In the 'general' tab click 'start up minimized'.


RE: WMC as the backend - released - mycroft2802 - 2013-08-27

Perhaps I missed this in an earlier post (although I didn't see it during a search)...

Does this addon support the nightly/monthly Gotham builds, or is it currently Frodo only?

Thanks for all the great work!


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

(2013-08-27, 05:25)mycroft2802 Wrote: Perhaps I missed this in an earlier post (although I didn't see it during a search)...

Does this addon support the nightly/monthly Gotham builds, or is it currently Frodo only?

Thanks for all the great work!

I haven't tried, if you do let us know what you find. I would also like to know what features are being added to pvr in Gotham.


RE: WMC as the backend - released - captnjack - 2013-08-27

This looks awesome. Unfortunately I have TWC so everything is flagged as copy once, are there any plans to add support for encrypted channels? Sorry if this has been answered already, I browsed through the thread but didn't see anything.

-captnjack


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

(2013-08-27, 20:09)captnjack Wrote: This looks awesome. Unfortunately I have TWC so everything is flagged as copy once, are there any plans to add support for encrypted channels? Sorry if this has been answered already, I browsed through the thread but didn't see anything.

-captnjack

Sorry no. PlayReady requires a 30k purchase from MS. Its not going to happen.


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

Have you thought about transcoding the stream on the server end to lower bit rates and stream to other players across the lan and internet? Not sure if you have looked at this server but they are doing that kind of concept. The server is not working as well as your setup but they are taking it in a few directions.

http://forum.xbmc.org/showthread.php?tid=119865&page=119

I was working with that setup before you released the WMC server, but it isn't an easy setup and it doesn't work as well as yours.


Also, I know it is already high on the priority list but channel changing speed is huge. I am trying to setup a system that is "spousal approved", I heard her trying to change the channel last evening and heard a lot


RE: WMC as the backend - released - scarecrow420 - 2013-08-28

The channel changing time is a result of what goes on behind the scenes. First the backend instructs WMC to start recording the desired channel, then it remuxes it to a TS file (since XBMC cant play the WTV file while it is being recorded to) then that is streamed to the client. If you look in the server log file you can see times for each of these operations, currently on my setup it takes 4 seconds for WMC to start the recording and the file to be "ready" for remuxing, then it takes about another 4 seconds to prepare the TS file, then the time to actually get the front end playing it. Hopefully there are ways to improve those timings but it isn't a simple matter. On the flipside, doing it this way means that it will be "easy" to do things like record from the start of the stream/show when you hit the record button, which is a much more user friendly feature than alot of PVRs (including WMC) that only records from the moment you hit the Record button. The downsides of this approach are it takes longer to essentially buffer/prepare the data for streaming. It is definitely high on the list as something to try and improve though. Ultimately as krusty said above, being able to access the in progress WTV recording would avoid needing to convert to TS but the guy who was working on that got busy with real life commitments :p

I think at this stage, the ServerWMC is still very much for us propeller heads and tweakers, and doesnt have the WAF for those channel flipping spouses that give us hell for "messing with things all the time"!!!