Windows External Player - MPC-HC via playercorefactory.xml

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
simpic Offline
Junior Member
Posts: 42
Joined: May 2011
Reputation: 0
Post: #1
Hi,

I'm sure this has been done a million times over but I'll be dammed if I can get it working at the moment.

Using Eden on WIN7 32bit. I have set up the playercorefactory.xml as recommended in various threads...

Code:
<playercorefactory>
    <players>
        <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Program Files\Media Player Classic - Home Cinema\mpc-hc.exe</filename>
            <args>"{1}" /fullscreen /play /close</args>
            <hidexbmc>true</hidexbmc>
            <hideconsole>false</hideconsole>
            <warpcursor>none</warpcursor>
    </player>
    </players>

            <rules action="prepend">
            <rule filetypes="m2ts|ts|mkv" player="MPC-HC"/>
    </rules>
</playercorefactory>

When I select a movie to watch it just switches to MPC-HC and does nothing. The log looks like this...

Code:
14:19:49 T:1768  NOTICE: ExternalPlayer Filename: C:\Program Files\Media Player Classic - Home Cinema\mpc-hc.exe
14:19:49 T:1768 WARNING: ExternalPlayer: invalid value for warpcursor: none
14:19:49 T:1768  NOTICE: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (true), islauncher (false), warpcursor (none)
14:19:49 T:1768  NOTICE: CExternalPlayer::OpenFile: smb://****************@192.168.1.10/movies/Drive_t01/Drive_t01.mkv
14:19:49 T:1716  NOTICE: CExternalPlayer::Process: Player : C:\Program Files\Media Player Classic - Home Cinema\mpc-hc.exe
14:19:49 T:1716  NOTICE: CExternalPlayer::Process: File   : \\********************@192.168.1.10\movies\Drive_t01\Drive_t01.mkv
14:19:49 T:1716  NOTICE: CExternalPlayer::Process: Content:
14:19:49 T:1716  NOTICE: CExternalPlayer::Process: Args   : "{1}" /fullscreen /play /close
14:19:49 T:1716  NOTICE: CExternalPlayer::Process: Start
14:19:49 T:1716  NOTICE: CExternalPlayer::Process: Releasing audio device 2
14:19:49 T:1716  NOTICE: CExternalPlayer::Process: Hiding XBMC window
14:19:49 T:1716  NOTICE: CExternalPlayer::ExecuteAppW32: C:\Program Files\Media Player Classic - Home Cinema\mpc-hc.exe "C:\Program Files\Media Player Classic - Home Cinema\mpc-hc.exe" "\\******************@192.168.1.10\movies\Drive_t01\Drive_t01.mkv" /fullscreen /play /close
14:20:03 T:4060  NOTICE: Artwork Downloader: script stopped
14:21:52 T:1716  NOTICE: CExternalPlayer::ExecuteAppW32: WAIT_OBJECT_0
14:21:52 T:1716  NOTICE: CExternalPlayer::Process: Stop
14:21:53 T:1716  NOTICE: CExternalPlayer::Process: Showing XBMC window
14:21:53 T:1716  NOTICE: CExternalPlayer::Process: Reclaiming audio device 2

Can anyone point me in the right direction?
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #2
Can MPC-HC playback the files over your network without XBMC?

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
simpic Offline
Junior Member
Posts: 42
Joined: May 2011
Reputation: 0
Post: #3
Yes, not a problem if I navigate to them from inside MPC-HC.

Could it be an issue with passing \\USERNAME:PASSWORD@192.168.1.10\movies\whatever.mkv to mpc-hc?

That is the way my movies are mapped in XBMC.
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #4
(2012-05-08 16:50)simpic Wrote:  Yes, not a problem if I navigate to them from inside MPC-HC.

Could it be an issue with passing \\USERNAME:PASSWORD@192.168.1.10\movies\whatever.mkv to mpc-hc?

That is the way my movies are mapped in XBMC.
How about rename playercorefactory.xml to playercorefactory_orig.xml? Just want to see if XBMC can stream and playback the file without external player......

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
simpic Offline
Junior Member
Posts: 42
Joined: May 2011
Reputation: 0
Post: #5
Hi bluray,

Thanks for the help. I should note that all is fine when using XBMC with no external player. I am setting up MPC-HC because 90% of my content is in 23.976 fps and the jitter on panning shots is driving me mad!

I have tried all the fixes listed on the forum for this but to no avail. But when I play the movies through MPC-HC with the lav filters set up it's pefect, or as perfect as my eyes can make out.

So, that's why I'm trying to set up MPC-HC as an external player.

If I remove the user:password from the string and just put \\192.168...... into the run prompt on WIN7 it works. So it would appear to be an issue with passing the username and password in the string to MPC-HC.

From the documentation on the wiki using the "{1}" arg should parse smb://hostname..... into straight \\hostname which I think we can see happening in the log file.

The issue is that it is putting the username and password in the string as well.

If I look at my video sources in XBMC they are just smb://hostname. I have of course entered the username and password in the proper place in XBMC so it can connect.

Is this a defect that needs to be logged?
find quote
simpic Offline
Junior Member
Posts: 42
Joined: May 2011
Reputation: 0
Post: #6
Any further suggestions on this?
find quote