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-10-26

(2013-10-26, 20:09)spaceboy Wrote: hi kr, so i've identified one of these wtv recordings that seems to have this monochrome problem but its 5.5Gb. the previous problem was live tv so i just provided you with the temporary stream, what did you want me to do this time, i can upload the whole thing if you are ok with that

i have installed 1089, meant to ask if 1089 contained the fix for uk recordings or whether that could still be the issue here?
thanks

Yes that's okay, put it here:
https://drive.google.com/?authuser=0#folders/0ByNnAMYBoWvfQVBBNzFhZmNPWUE

1089 has the fix that would stop UK channels from starting due to that bit overflow crash thing. There is no fix yet as you know for stuttering. This monochrome thing I have no idea about, I'll wait for your wtv file. Please let me know when its there.


RE: WMC as the backend - released - Dilligaf - 2013-10-26

(2013-10-26, 17:49)krustyreturns Wrote:
(2013-10-24, 14:52)Dilligaf Wrote: This says 1.80 seconds

2013/10/24 02:47:52.452 Received client request: 192.168.1.134|GetRecordings
2013/10/24 02:47:54.253 GetRecordings> Completed for client 192.168.1.134, results:
2013/10/24 02:47:54.253 GetRecordings> Transfered: RecTV folder files: 5, watched files: 100
2013/10/24 02:47:54.253 GetRecordings> Ignored: local files: 0, temp files: 0
2013/10/24 02:47:54.253 GetRecordings> Weird files: no program: 0, no channel: 105, orphaned: 0
2013/10/24 02:47:54.253 GetRecordings> Misc: content protected: 0, icons: 6
2013/10/24 02:47:54.253 Finished request GetRecordings in 1.80s

To clarify the 105 files are on a Server 2012 R2 share, all others are on the shared Recorded TV folder that ServerWMC is installed on

How much of a delay do you get displaying these 105 recordings on your pi? This is about a third of the amount bungee is trying to display on his pi, and it takes him 15 sec (as you can see from his videos). Is yours 5 sec or quicker than that?

By unscientifically counting I would say 3-4 seconds from when recordings is selected. I'm currently using the Gotham speed build and pvr.wmc is working fine on it.


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

(2013-10-26, 21:16)Dilligaf Wrote: By unscientifically counting I would say 3-4 seconds from when recordings is selected. I'm currently using the Gotham speed build and pvr.wmc is working fine on it.

So this is actually pretty consistent with the delay bungee is seeing then. I don't understand why systems other than pi don't have this delay, for example I have linux running in a virtual machine and it takes maybe a half sec delay to display 320 recordings.

Another question - since you are running gotham - do you have trouble using the custom record dialog? And if not, what skin are you using?


RE: WMC as the backend - released - Dilligaf - 2013-10-26

With Confluence or Confluence Raspbmc Mod with the series record files put into the 720p folder when a series recording is selected the record series or record episode dialog comes up but is totally unresponsive you can't select anything with the remote, mouse or keyboard. All you can do is back out with the Esc key.

As far as delay displaying recordings there is an inherent delay with the PI when selecting Movie, TV or music as the library is displayed, the larger the library the longer the delay. I'm of the belief that this is what you get from a $35 pc that runs off a cell phone charger. Really the PI has come a long way in the last year and has improved significantly but in the end it's still cheap and underpowered (NOT saying this is a bad thing)


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

(2013-10-26, 23:37)Dilligaf Wrote: With Confluence or Confluence Raspbmc Mod with the series record files put into the 720p folder when a series recording is selected the record series or record episode dialog comes up but is totally unresponsive you can't select anything with the remote, mouse or keyboard. All you can do is back out with the Esc key.

As far as delay displaying recordings there is an inherent delay with the PI when selecting Movie, TV or music as the library is displayed, the larger the library the longer the delay. I'm of the belief that this is what you get from a $35 pc that runs off a cell phone charger. Really the PI has come a long way in the last year and has improved significantly but in the end it's still cheap and underpowered (NOT saying this is a bad thing)

Thanks for the info. Something has changed in gotham as far as dialogs. I'm trying to understand it now... looks like it is on the code side, not the xml.


RE: WMC as the backend - released - stevedawg85 - 2013-10-27

Winpvr is working like a charm on the host pc. No problems there.

However, I'm trying to configure my laptop as a client and am about 1/2 way there. WMCServer succesfully recognizes my laptop, and am even able to browse EPG and channels on the laptop. When I select a channel, i get an error message to check the log:
XBMC.log
(Host/server - acer-htpc)
(client/laptop - etuo-atsc-splp)

The server tells me it is streaming the channel, but I am still stuck on the EPG from laptop. I glanced at the log and found it is trying to open - \\ACER-HTPC\Users\Public\Recorded TV\TempXBMC\LiveTV_etuo-atsc-splp_Digital Cable_4_2013_10_26_17_20_08.ts

I browsed to the above path on the server, but that file does not exist, is that normal?


RE: WMC as the backend - released - locoguano - 2013-10-27

Just wanted to say thanks... I hated switching back and forth between XBMC and WMC... This is working beautifully and needs to be officially adopted by XBMC folks.


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

(2013-10-27, 00:30)stevedawg85 Wrote: Winpvr is working like a charm on the host pc. No problems there.

However, I'm trying to configure my laptop as a client and am about 1/2 way there. WMCServer succesfully recognizes my laptop, and am even able to browse EPG and channels on the laptop. When I select a channel, i get an error message to check the log:
XBMC.log
(Host/server - acer-htpc)
(client/laptop - etuo-atsc-splp)

The server tells me it is streaming the channel, but I am still stuck on the EPG from laptop. I glanced at the log and found it is trying to open - \\ACER-HTPC\Users\Public\Recorded TV\TempXBMC\LiveTV_etuo-atsc-splp_Digital Cable_4_2013_10_26_17_20_08.ts

I browsed to the above path on the server, but that file does not exist, is that normal?

Whatever wmc is using for the recorded tv folder - in your case it looks like it is 'c:\Users\Public\Recorded TV' - needs to be made a network share (access 'everybody') so that your remote client can access it. See the 'folders' tab. If you have done all that, but its not working, I need a log from the server side (see the 'debug' tab).

(2013-10-27, 00:33)locoguano Wrote: Just wanted to say thanks... I hated switching back and forth between XBMC and WMC... This is working beautifully and needs to be officially adopted by XBMC folks.

lol - I thought for sure this would be followed by a but...

Thanks for for letting me know!


RE: WMC as the backend - released - Abear - 2013-10-27

So Ive got everything up and running now, including the rpi, and everything was working great until I went to watch the TTU vs OU game. It seems Fox is the only channel it does it on, but there appears to be a studder in the video. This is HD, but none of my other HD channels do it, including other channels with football on. It also only does it on my server PC, the rpi has no problems playing fox, even over wifi. I made a log, but not sure it will help, I can do an xbmc log if needed also, or even make a quick video.

I dont know how to explain it very well, but its not lines or anything like that in the video, its almost like the video skips a frame.

wmcpvr log > http://pastebin.com/r8gYjAZx


RE: WMC as the backend - released - Dilligaf - 2013-10-27

Try enabling "adjust refresh rate to video" in xbmc>settings>video>playback to eliminate micro stutter


RE: WMC as the backend - released - Abear - 2013-10-27

Alright, tried that, but my TV has a problem displaying 60hz from a PC and Ive tried so many ways to correct it, but when I enable the refresh rate, it causes lines to appear in the video. It also didnt correct the stutter. Thank you for the suggestion though.

Nevermind, I seemed to have fixed it. In settings>system>video output> i disabled vertical blank sync. For now everything is running great.

Again though, none of this would be possible without you and Krusty, Dilligaf. So thank you for your help.


RE: WMC as the backend - released - spaceboy - 2013-10-27

hi kr, made some good progress i think. live tv works well, i haven't had any streams fail to start so i think we can say 1089 has fixed the problem with UK streams starting.

on the recorded tv problem, it seems to me that all that have trouble starting are from one of the bbc channels, doesn't matter if its in HD or SD all non-bbc recordings start fine but the bbc ones do not. the file thats uploading now is from a bbc hd recording. its at 80% now but i'm going to bed now. should be there in an hour. there's no reason why i can see bbc streams would be different. the live tv streams on these channels are fine

hope this helps


RE: WMC as the backend - released - TechLife - 2013-10-27

(2013-08-20, 17:41)krustyreturns Wrote: Another side advantage to the way I am doing live tv - that I haven't implemented yet - would be the ability for the user to hit record as you watch a channel and have the episode recorded from the time you started watching, not just from the time record was pressed. I'm interested if people would think this is useful.

Hey kr-

So I have been going through the thread today extracting recurring themes for FAQs on the wiki. I've made it all the way to page 3! Lol. Great stuff though...it's coming along nicely. Anyway, that's when I stumbled across this post. You may have elaborated on it further in a later post but just wanted to throw in my $.02 since I ran into this situation last night. In a word: YES!! I do this all the time on my STB (which I am desperately trying to rid myself of). I was watching a show, hit record (of course it crashed and burned viewing-wise but I know you're working on that) and was surprised after to see that it only saved from when I pressed record. I think this scenario of starting a program, getting half way through and deciding it's worth keeping would come up quite frequently for many users, especially the Mrs. I know this would certainly add +1 to the WAF. Obviously not something that needs to be on the immediate list but maybe on the someday list? In my vision, the way it would work would be like this: Say I tuned to a channel at 7:53. The show I want to watch, per the EPG, starts at 8:00. At 8:27, I decide to record the show. The show completes and then I review the recording to find a file containing the entire show per my padding settings. So if I have it set to 3 mins pre and 5 mins post, the resulting file would contain the stream from 7:57~8:05. Again, I'm just brainstorming here so don't take any of it too seriously!

I also observed strange behavior when timeshifting: If you have paused live TV for a bit and are fast-forwarding through commercials and such, the stream doesn't revert to play once you hit the live TV mark. It just stays in this weird FF limbo state until you hit play. I have a feeling this may be an XBMC thing which I can direct toward the devs if necessary but just wanted to ask while I was thinking of it.

Thanks man! Hope all is well.

P.S. Do you have a Pi yet?


RE: WMC as the backend - released - Stiefelland - 2013-10-27

(2013-10-26, 17:39)krustyreturns Wrote:
(2013-10-26, 14:25)Stiefelland Wrote: Krusty, here you go: http://pastebin.com/LstHvREV
- Thanks, Stiefelland

Hi. These channels like 'Sky Sport 11' have no tuning space defined for them (you have 20 of these). By way of background, a user reported crashing early in the release of this software and I found out it was because of channels like this. I didn't know it was possible to have a 'null' tuning space when I wrote the code, so to stop the crashing I just filtered them out from being sent to xbmc. I tried to get more info to handle this better but the user disappeared after I made the change.

With no tuning space defined you won't be able to watch live tv on these channels from xbmc, but you probably would be able to schedule records if I modified the code. Is that what you want to do?

Btw, whenever you have time, would you please start a live tv stream on another channel and send me the server log afterwords? You are the first user I know of from Austria and I would like to see what streams the server finds there.

EDIT:
Also, are these channels also 'locked' in wmc?:

2013.10.26 14:17:37.533 GetLineUpsAndChannels> Null space for channel: FOX
2013.10.26 14:17:37.658 GetLineUpsAndChannels> Null space for channel: Sky Sport News
2013.10.26 14:17:37.658 GetLineUpsAndChannels> Null space for channel: Sky Bundesliga 2

Krusty, Yes, at least having the ability to schedule recordings for those channels would be great. If you have any modified coded I'd be more than willing to give it a try. I got a log from starting a Live TV stream on a working channel and uploaded it to http://pastebin.com/RH0SFGr6 as requested. Let me know if you need anything else. Regarding, the FOX, Sky Sport News, and Sky Bundesliga 2 channels: Yes, theses channels are also locked in WMC. - Thanks, Stiefelland.


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

(2013-10-27, 04:46)TechLife Wrote: So I have been going through the thread today extracting recurring themes for FAQs on the wiki. I've made it all the way to page 3! Lol. Great stuff though...it's coming along nicely. Anyway, that's when I stumbled across this post. You may have elaborated on it further in a later post but just wanted to throw in my $.02 since I ran into this situation last night. In a word: YES!! I do this all the time on my STB (which I am desperately trying to rid myself of). I was watching a show, hit record (of course it crashed and burned viewing-wise but I know you're working on that) and was surprised after to see that it only saved from when I pressed record. I think this scenario of starting a program, getting half way through and deciding it's worth keeping would come up quite frequently for many users, especially the Mrs. I know this would certainly add +1 to the WAF. Obviously not something that needs to be on the immediate list but maybe on the someday list? In my vision, the way it would work would be like this: Say I tuned to a channel at 7:53. The show I want to watch, per the EPG, starts at 8:00. At 8:27, I decide to record the show. The show completes and then I review the recording to find a file containing the entire show per my padding settings. So if I have it set to 3 mins pre and 5 mins post, the resulting file would contain the stream from 7:57~8:05. Again, I'm just brainstorming here so don't take any of it too seriously!

I also observed strange behavior when timeshifting: If you have paused live TV for a bit and are fast-forwarding through commercials and such, the stream doesn't revert to play once you hit the live TV mark. It just stays in this weird FF limbo state until you hit play. I have a feeling this may be an XBMC thing which I can direct toward the devs if necessary but just wanted to ask while I was thinking of it.

Thanks man! Hope all is well.

P.S. Do you have a Pi yet?

Hey techlife, all is well, waiting for the niners to play (in London!). That feature is actually what I want to do next, redoing the way streams work a couple of revs ago was actually a first step to get there. The problem is its actually a fairly involved feature to add given that its not natural for wmc to work that way, and I keep getting distracted by stuff that I think is going to be simple (like getting those frigging dialogs to work in gotham), being obsessive has its good and bad points.

I know what you are talking about when you run right up to the edge of the data. I have never looked whether there is something I can do about it on my end, but there very well may be. Since it recovers okay I think of it as low priority, but I just added it to the todo list.

Reading through this long thread is a noble but big job. I might be better to work backwards since a lot of the early stuff is obsolete, although catching feature requests is important. btw the exchange above that dilligaf was involved in was new to me and would be good to not forget.

PS the pi is on the way. I kept bugging bungee to run experiments for me on his, so I decided it was time to stop being so cheap.

EDIT: Related to the language descriptors we discussed earlier, thanks to Stiefelland I now know that another one is (ger) for German.