Jump to content


Photo

How to set MPC-HC as external player?

MPC-HC EXTERNAL PLAYERS

  • Please log in to reply
35 replies to this topic

#1 Henrie OFFLINE  

Henrie

    Newbie

  • Members
  • 4 posts
  • Local time: 04:33 AM

Posted 10 December 2017 - 08:22 PM

Hi there,

 

I recently updated to emby premire in my new WIN10 configuration, until now I was using MPC-HC as an external player in the MB3 version. Now I can't configure MPC-HC as the external player.

 

It seems to be so easy but I can't make i works:

 

C:\Program Files\MPC-HC\mpc-hc64.exe in the player path area

{path} in the command line arguments area

 

There are no more options, but it doesn't work, always the same error when trying to reproduce any movie... 

 

Error launching process: Type error: Cannot read property 'toString' of undefined.

 

Emby works fine with the internal player, there are no problems with the archives which can be opened without problem with the MPC-HC when tried directly.

 

What can I do?

 

Many thanks in advance.

 

 

 

Attached Files



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124094 posts
  • Local time: 12:33 AM

Posted 10 December 2017 - 08:32 PM

hi, did you research the required command line arguments for mpc-hc?



#3 jachin99 OFFLINE  

jachin99

    Advanced Member

  • Members
  • 549 posts
  • Local time: 12:33 AM

Posted 11 December 2017 - 11:30 AM

Look over in the emby for wmc section. We had the same issue and someone came up with a script to make it work. Out of curiosity why use mpc hc when Emby theater also has madvr?

#4 Henrie OFFLINE  

Henrie

    Newbie

  • Members
  • 4 posts
  • Local time: 04:33 AM

Posted 11 December 2017 - 07:51 PM

hi, did you research the required command line arguments for mpc-hc?

 

Required line arguments? What you mean with that? Until the reinstall I didn't need any arguments, MPC just works fine. Where I can find those arguments? I`m a basic user, can you help me?



#5 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:33 PM

Posted 11 December 2017 - 08:16 PM

Required line arguments? What you mean with that? Until the reinstall I didn't need any arguments, MPC just works fine. Where I can find those arguments? I`m a basic user, can you help me?


https://gist.github....dafd53706439c29
  • caveman456 likes this

#6 Henrie OFFLINE  

Henrie

    Newbie

  • Members
  • 4 posts
  • Local time: 04:33 AM

Posted 11 December 2017 - 09:19 PM

 

Many thanks!



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124094 posts
  • Local time: 12:33 AM

Posted 11 December 2017 - 09:20 PM

Why not just use the internal player then?

#8 ShoutingMan OFFLINE  

ShoutingMan

    Advanced Member

  • Members
  • 635 posts
  • Local time: 12:33 AM

Posted 14 December 2017 - 11:48 PM

I use MPC-HC for 3D movie playback and don't use any additional command line parameters, just the Emby basics:

 

C:\Program Files\MPC-HC\mpc-hc64.exe

{path}
 



#9 lightsout OFFLINE  

lightsout

    Advanced Member

  • Members
  • 309 posts
  • Local time: 09:33 PM

Posted 18 March 2019 - 02:37 PM

https://gist.github....dafd53706439c29

I'm getting an error on this link. But having the same problem launching mpchc. Anyone know how to solve it?

#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124094 posts
  • Local time: 12:33 AM

Posted 18 March 2019 - 03:45 PM

I'm getting an error on this link. But having the same problem launching mpchc. Anyone know how to solve it?

 

Can you please describe your issue in more detail? Thanks.



#11 lightsout OFFLINE  

lightsout

    Advanced Member

  • Members
  • 309 posts
  • Local time: 09:33 PM

Posted 18 March 2019 - 03:48 PM

Can you please describe your issue in more detail? Thanks.

Sorry I add C:\Program Files\MPC-HC\mpc-hc64.exe in the external player path area.

And I get this error "Error launching process: Type error: Cannot read property 'toString' of undefined."



#12 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:33 PM

Posted 18 March 2019 - 04:16 PM

Do you have {path} there, too?

#13 lightsout OFFLINE  

lightsout

    Advanced Member

  • Members
  • 309 posts
  • Local time: 09:33 PM

Posted 19 March 2019 - 10:38 AM

Do you have {path} there, too?

Negative. Does it need to be? I figured If the box said add the path here it would know what I was entering.

#14 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124094 posts
  • Local time: 12:33 AM

Posted 19 March 2019 - 12:00 PM

you need to research the required command line arguments for your external player and make sure to configure them.



#15 lightsout OFFLINE  

lightsout

    Advanced Member

  • Members
  • 309 posts
  • Local time: 09:33 PM

Posted 19 March 2019 - 12:55 PM

you need to research the required command line arguments for your external player and make sure to configure them.

Yeah I'm not sure about that. It always worked in the Media Browser days just linking to the .exe. Seems like if anyone is using external players MPC-HC would be the most common. I would have thought this info would be easy to find around here.



#16 lightsout OFFLINE  

lightsout

    Advanced Member

  • Members
  • 309 posts
  • Local time: 09:33 PM

Posted 19 March 2019 - 12:57 PM

Do you have {path} there, too?

I tried putting {path} before it, with and without a space. Didn't help, same error.



#17 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:33 PM

Posted 19 March 2019 - 02:40 PM

I tried putting {path} before it, with and without a space. Didn't help, same error.


You don't add it the actual path. It goes on the command line arguments section. Read through that page, again.

#18 lightsout OFFLINE  

lightsout

    Advanced Member

  • Members
  • 309 posts
  • Local time: 09:33 PM

Posted 19 March 2019 - 02:44 PM

You don't add it the actual path. It goes on the command line arguments section. Read through that page, again.

Yes I had tried that, just did it again to be sure. No dice. Are you able to get it working like that?

 

 

When the OP posted the same issue, you posted a git link that is no longer working, any idea what that was for?

Attached Files


Edited by lightsout, 19 March 2019 - 02:46 PM.


#19 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:33 PM

Posted 19 March 2019 - 02:46 PM

Post a screenshot of the config page for the external player.

#20 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:33 PM

Posted 19 March 2019 - 02:48 PM

And maybe you will let me help you get mpv dialed in, so you don't need MPC-HC?





Also tagged with one or more of these keywords: MPC-HC, EXTERNAL PLAYERS

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users