XBMC Not Regaining Focus After External Player (via playercorefactory)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
akbr Offline
Junior Member
Posts: 15
Joined: Jul 2009
Reputation: 0
Question  XBMC Not Regaining Focus After External Player (via playercorefactory) Post: #1
Brief Background:

I have a collection of SD x264 content that doesn't play properly with DXVA enabled in Dharma. (See this thread.) Since I don't want to lose the benefits of DXVA for HD content, I created playercorefactory.xml settings to launch SD x264 content with MPC-HC until XBMC offers settings for selective use of DXVA.

Here are my playercorefactory settings:

Quote:<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC HomeCinema\mpc-hc.exe</filename>
<args>"{1}" /play /close</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv" filename=".*DVD.*" player="MPC-HC"/>
</rules>
</playercorefactory>

The Problem:

When MPC-HC quits, XBMC comes back up. However, XBMC isn't "focused" in Windows. Accordingly, before I can navigate the XBMC interface again, I need to click the mouse or Alt-Tab to refocus XBMC. This is really annoying because my HTPC is controlled solely by keyboard commands.

Anyone have an idea to make XBMC automatically refocus in this situation?

Thanks! Big Grin
(This post was last modified: 2010-08-24 16:56 by akbr.)
find quote
Mochilote Offline
Junior Member
Posts: 28
Joined: Dec 2009
Reputation: 0
Post: #2
The problem cames from 9.11:

http://forum.xbmc.org/showthread.php?tid=65109


I place a ticket (and a patch) 8 months ago: http://trac.xbmc.org/ticket/8362


Cheers
find quote
akbr Offline
Junior Member
Posts: 15
Joined: Jul 2009
Reputation: 0
Post: #3
Quote:I place a ticket (and a patch) 8 months ago: http://trac.xbmc.org/ticket/8362

Thanks, Mochilote, for updating TRAC again. I hope this gets fixed soon! Seems sad to have such a speed-bump in the user experience.
find quote
CrystalP Offline
Team-XBMC Developer
Posts: 822
Joined: Apr 2010
Reputation: 18
Location: The Great North
Post: #4
It was fixed in Dharma yesterday. I would appreciate feedback.

Always read the XBMC online-manual, FAQ, Wiki and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
steelman1991 Offline
Member+
Posts: 2,138
Joined: Jan 2009
Reputation: 6
Location: West Lothian, Scotland
Post: #5
CrystalP - working perfectly for me.
find quote