[RELEASED]: MCE Live TV (and MCE Netflix) XBMC Integration

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Mankix Offline
Junior Member
Posts: 6
Joined: Feb 2013
Reputation: 1
Post: #71
(Yesterday 07:06)NewYears1978 Wrote:  Does pssuspend actually CLOSE XBMC or just suspend it? I thought it was closing it but apparently it isn't and thus I get the video error still..Id rather not disable GUI sounds.. Getting the Video error now even with GUI sounds off...

It doesn't kill the process, it just doesn't allow the process to use resources.

To kill the process, use taskkill (in place of pssuspend

taskkill /f /im XBMC.exe

However, if you do that, in order to start XBMC.exe again, you will need to CD to the XBMC directory (where XBMC.exe is) to start is. So instead of using pssuspend -r XBMC.exe, you would use

cd "C:\Program Files (x86)\XBMC"
XBMC.exe -fs



One thing is, I haven't tried to actually kill XBMC instead of suspend it. I will try in a few minutes before I head off to the gym, though

EDIT: It works well enough. There is a slightly longer delay for me for starting up Windows Media Center and closing out of it to get back into XBMC, but it works. You can try to see if it still gives you a video error.

If it does give you a video error still (highly doubtful), you can put in a delay using PING, just after you close XBMC.exe, put

PING -n 6 127.0.0.1>nul

This will add a 5 second delay to WMC opening up (not 6 seconds). Adjust that number for one that you believe fits.
(This post was last modified: Yesterday 17:30 by Mankix.)
find quote
NewYears1978 Offline
Member
Posts: 52
Joined: Dec 2012
Reputation: 0
Post: #72
I finally got it all working, no CMD windows showing, no taskbar, no video(Live TV) OR display page errors (netflix).

Woo!

(Yesterday 17:18)Mankix Wrote:  
(Yesterday 07:06)NewYears1978 Wrote:  Does pssuspend actually CLOSE XBMC or just suspend it? I thought it was closing it but apparently it isn't and thus I get the video error still..Id rather not disable GUI sounds.. Getting the Video error now even with GUI sounds off...

It doesn't kill the process, it just doesn't allow the process to use resources.

To kill the process, use taskkill (in place of pssuspend

taskkill /f /im XBMC.exe

However, if you do that, in order to start XBMC.exe again, you will need to CD to the XBMC directory (where XBMC.exe is) to start is. So instead of using pssuspend -r XBMC.exe, you would use

cd "C:\Program Files (x86)\XBMC"
XBMC.exe -fs



One thing is, I haven't tried to actually kill XBMC instead of suspend it. I will try in a few minutes before I head off to the gym, though

EDIT: It works well enough. There is a slightly longer delay for me for starting up Windows Media Center and closing out of it to get back into XBMC, but it works. You can try to see if it still gives you a video error.

If it does give you a video error still (highly doubtful), you can put in a delay using PING, just after you close XBMC.exe, put

PING -n 6 127.0.0.1>nul

This will add a 5 second delay to WMC opening up (not 6 seconds). Adjust that number for one that you believe fits.



That's exactly how I did it. the pssuspend wasn't working for the resources..once in WMC it took like 15 seconds before it took over the audio. Using above which I wish you had told me BEFORE I figured it out, works Smile

Thankyou though!

For ping, wouldn't timeout /t # be the same?

Also is the -fs for fullscreen?
(This post was last modified: Today 00:13 by NewYears1978.)
find quote
Mankix Offline
Junior Member
Posts: 6
Joined: Feb 2013
Reputation: 1
Post: #73
(Yesterday 17:19)NewYears1978 Wrote:  I finally got it all working, no CMD windows showing, no taskbar, no video(Live TV) OR display page errors (netflix).

Woo!

(Yesterday 17:18)Mankix Wrote:  
(Yesterday 07:06)NewYears1978 Wrote:  Does pssuspend actually CLOSE XBMC or just suspend it? I thought it was closing it but apparently it isn't and thus I get the video error still..Id rather not disable GUI sounds.. Getting the Video error now even with GUI sounds off...

It doesn't kill the process, it just doesn't allow the process to use resources.

To kill the process, use taskkill (in place of pssuspend

taskkill /f /im XBMC.exe

However, if you do that, in order to start XBMC.exe again, you will need to CD to the XBMC directory (where XBMC.exe is) to start is. So instead of using pssuspend -r XBMC.exe, you would use

cd "C:\Program Files (x86)\XBMC"
XBMC.exe -fs



One thing is, I haven't tried to actually kill XBMC instead of suspend it. I will try in a few minutes before I head off to the gym, though

EDIT: It works well enough. There is a slightly longer delay for me for starting up Windows Media Center and closing out of it to get back into XBMC, but it works. You can try to see if it still gives you a video error.

If it does give you a video error still (highly doubtful), you can put in a delay using PING, just after you close XBMC.exe, put

PING -n 6 127.0.0.1>nul

This will add a 5 second delay to WMC opening up (not 6 seconds). Adjust that number for one that you believe fits.



That's exactly how I did it. the pssuspend wasn't working for the resources..once in WMC it took like 15 seconds before it took over the audio. Using above which I wish you had told me BEFORE I figured it out, works Smile

Thankyou though!

For ping, wouldn't timeout /t # be the same?

Also is the -fs for fullscreen?

No problem... at least the information is here for all

the -fs is for fullscreen

They're basically the same, except timeout was specifically made to delay a script, whereas ping was a hack from way back when there wasn't really a function to do so (if I remember right). Timeout can also be stopped with a button press, whereas ping cannot (again, if I remember right)
find quote
Post Reply