Kodi Community Forum
[WINDOWS] External Player Support Thread - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: [WINDOWS] External Player Support Thread (/showthread.php?tid=43511)



- moby-uk - 2009-09-03

patkhoo Wrote:Hi Moby, any comments on this? Curious as to your point of view..

something i plan to look at but my priority is to sort of the z-order issues at the moment. put it in trac then it won't get lost.


- zoing - 2009-09-03

moby-uk Wrote:No, that's a log with islauncher set to true as well which turns hidexbmc back off again as you can't have both; the islauncher flag is an indication that you know the extplayer process will end quickly and playback will continue, this in turn causes XBMC to assume the extplayer is still running (and so limit its fps to use less CPU time) until you dismiss the dialog (which you couldn't do if the XBMC window was hidden).

I know you say it hangs with only hidexbmc set but can you get me a log from that please.

Hi moby-uk!

Here is the next tryRolleyes http://pastebin.com/m6b4895
The flashing appears immediately, and when I stop the MPC-HC player XBMC crashes. I hope you find the reason why this happens.
thanks again!


- moby-uk - 2009-09-03

zoing Wrote:Hi moby-uk!

Here is the next tryRolleyes http://pastebin.com/m6b4895
The flashing appears immediately, and when I stop the MPC-HC player XBMC crashes. I hope you find the reason why this happens.
thanks again!

Hmm, just so I'm sure I understand what you're saying, in the 15 seconds between
Code:
22:26:19 T:1096 M:1453834240  NOTICE: CExternalPlayer::Process: Hiding XBMC window
22:26:19 T:1096 M:1452707840   DEBUG: CExternalPlayer::Process: Unlocking foreground window
22:26:19 T:1096 M:1452707840  NOTICE: CExternalPlayer::ExecuteAppW32: C:\MPC\mpc-hc.exe "C:\MPC\mpc-hc.exe" /fullscreen /close "\\DLINK\Volume_1\FILME\(T)Raumschiff_Surprise.mkv"

and

Code:
22:26:34 T:1556 M:1437892608   DEBUG: SDLKeyboard: scancode: 0, sym: 120, unicode: 120, modifier: 0
22:26:34 T:1556 M:1437917184   DEBUG: CApplication::OnKey: 61528 pressed, action is 13
22:26:34 T:1096 M:1437937664  NOTICE: CExternalPlayer::ExecuteAppW32: WAIT_TIMEOUT, terminating process
22:26:34 T:1096 M:1437954048  NOTICE: CExternalPlayer::Process: Stop
22:26:34 T:1096 M:1437978624  NOTICE: CExternalPlayer::Process: Showing XBMC window

i.e. whilst MPC-HC is running, you say that the XBMC window is actually visible (and competing with MPC-HC to be topmost)? And that's the end of the log at the point you had to kill XBMC?


- zoing - 2009-09-03

moby-uk Wrote:Hmm, just so I'm sure I understand what you're saying, in the 15 seconds between
Code:
22:26:19 T:1096 M:1453834240  NOTICE: CExternalPlayer::Process: Hiding XBMC window
22:26:19 T:1096 M:1452707840   DEBUG: CExternalPlayer::Process: Unlocking foreground window
22:26:19 T:1096 M:1452707840  NOTICE: CExternalPlayer::ExecuteAppW32: C:\MPC\mpc-hc.exe "C:\MPC\mpc-hc.exe" /fullscreen /close "\\DLINK\Volume_1\FILME\(T)Raumschiff_Surprise.mkv"

and

Code:
22:26:34 T:1556 M:1437892608   DEBUG: SDLKeyboard: scancode: 0, sym: 120, unicode: 120, modifier: 0
22:26:34 T:1556 M:1437917184   DEBUG: CApplication::OnKey: 61528 pressed, action is 13
22:26:34 T:1096 M:1437937664  NOTICE: CExternalPlayer::ExecuteAppW32: WAIT_TIMEOUT, terminating process
22:26:34 T:1096 M:1437954048  NOTICE: CExternalPlayer::Process: Stop
22:26:34 T:1096 M:1437978624  NOTICE: CExternalPlayer::Process: Showing XBMC window

i.e. whilst MPC-HC is running, you say that the XBMC window is actually visible (and competing with MPC-HC to be topmost)? And that's the end of the log at the point you had to kill XBMC?

That is exactly what happens. It seems they fight wich applications has the higher priority. I can normaly stop the MPC-HC player but then XBMC hangs. I have to kill the XBMC process in the task manager. So the log ends there.
I hope this explanation helps.


- moby-uk - 2009-09-03

Can you try the Rev22522 build in here still uploading at the moment, should be there in 10mins.
[not saying it'll fix it, but as it doesn't happen here it's a bit of trial-and-error]


- joesmokey - 2009-09-04

btwiggles2 Wrote:I have the same exact setup currently. Windows 7 RTM x64 and I'm also using MPC-HC 64 bit. Try moving your playercorefactory.xml file over to
C:\Users\Your Username\AppData\Roaming\XBMC

I mistakenly wrote my xml file in wordpad which added some erroneous info to the front of the file. Stick with notepad.

I'd verify that your filename is also correct, I had a small error in mine that was preventing mine from working.

Lastly, If you look at the log file in the C:\Users\Username\AppData\Roaming\XBMC directory, you might be able to figure out where things are going wrong.
Unfortunately this didn't help me out either.

I'd greatly appreciate some help with this if anyone has more advice.
Original problem here: http://forum.xbmc.org/showpost.php?p=392888&postcount=729


- moby-uk - 2009-09-04

joesmokey Wrote:Unfortunately this didn't help me out either.

I'd greatly appreciate some help with this if anyone has more advice.
Original problem here: http://forum.xbmc.org/showpost.php?p=392888&postcount=729

http://wiki.xbmc.org/?title=HOW-TO_Submit_a_Proper_Bug_Report#Collecting_an_XBMC_debug_log


- patkhoo - 2009-09-04

moby-uk Wrote:something i plan to look at but my priority is to sort of the z-order issues at the moment. put it in trac then it won't get lost.

Sure, I'll rememebr to do that.. but, actually I was kind of asking also which of the three scenarios you thought would be easiest/best to do.. Big Grin


- patkhoo - 2009-09-04

zoing Wrote:That is exactly what happens. It seems they fight wich applications has the higher priority. I can normaly stop the MPC-HC player but then XBMC hangs. I have to kill the XBMC process in the task manager. So the log ends there.
I hope this explanation helps.

I assume you have double checked Direct X problems, yes? I had one case after I updated video drivers, direct X was messed up.. MPC-HC played the video, but the screen never "returned" (not even to desktop) when stopping the video. then I re-installed Direct X on a whim, and what do you know, everything was back to normal.. Just a thought.. Huh


- zoing - 2009-09-04

patkhoo Wrote:I assume you have double checked Direct X problems, yes? I had one case after I updated video drivers, direct X was messed up.. MPC-HC played the video, but the screen never "returned" (not even to desktop) when stopping the video. then I re-installed Direct X on a whim, and what do you know, everything was back to normal.. Just a thought.. Huh

Hi,
thanks for that suggestion. But that did not help.No
I find it odd that no one else has this problem. So I begin to think I misdo something.
I will try the build from moby-uk. So I report back.


- zoing - 2009-09-04

moby-uk Wrote:Can you try the Rev22522 build in here still uploading at the moment, should be there in 10mins.
[not saying it'll fix it, but as it doesn't happen here it's a bit of trial-and-error]

Hi,

No luck with this build.
I set the hidexbmc to "true" and "false" with the same result as described before.
I do not no if the updated directx or the new build has to do with it, but when I set hidexbmc to "true" the XBMC crashes not everytime. Before it crashed everytime I stopped the MPC-HC.


- THX-UltraII - 2009-09-07

Guys, I use the latest unofficial XBMC version for windows and my playercorefactory.xml looks like this, but my external player will not start when selecting a movie in XBMC:

Quote:<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC HomeCinema\mpc-hc.exe</filename>
<args>/fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
</player>
</players>
</playercorefactory>

any thoughts?


- patkhoo - 2009-09-07

THX-UltraII Wrote:Guys, I use the latest unofficial XBMC version for windows and my playercorefactory.xml looks like this, but my external player will not start when selecting a movie in XBMC:

any thoughts?

Most probably you need a <rules> section after </players>

Code:
<rules action="prepend">
    <rule video="true" player="MPC-HC" />
</rules>

Give that a try..


- spiff - 2009-09-07

ah come on, it only has a single friggan section in the documentation. how can we expect people to not miss that...


- zoing - 2009-09-07

Hi moby-uk,

I tried from pure curiosity the new directx only build.
It worked pretty good. The flashing disappeared!
The only minor problem I have is with the MPC-HC player.
I start it with the D3D fullscreen option, and now there is always the
control bar shown. But this is an MPC-HC setting, so I will sort it out hopefully.:o

Just an update on my findings.

greetings