Jump to content

Media Player Classic Remote Control for Media Browser {EXPERIMENTAL}


anks

Recommended Posts

What exactly happened when you tried to use it?

 

Good day Luke,

 

When run it, error msg come up:

System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

I did not run for some time now, today I tried to test it for one of my son to use it on his surface studio.

 

My best

Link to comment
Share on other sites

Happy2Play

Good day Luke,

 

When run it, error msg come up:

System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

I did not run for some time now, today I tried to test it for one of my son to use it on his surface studio.

 

My best

 

I reinstalled zip from post #57, generated API key and applied it to MPC Remote and everything worked fine.

  • Like 1
Link to comment
Share on other sites

I reinstalled zip from post #57, generated API key and applied it to MPC Remote and everything worked fine.

 

Good day,

 

Yes I used that ver when it come out, but seem I forgot to generate new api key when switch to .net core ver.

 

Well done.

 

So now the api key is general to all users that use the emby server. Not test it yet on my son pc, but I will today.

 

My best

Link to comment
Share on other sites

hmm, that did not work well for my son pc, I did make new api key for him within his account, but we both see 2 mpcremote on the option so no good.

Link to comment
Share on other sites

  • 3 months later...

Returning Error even with the API key Used.

 

apikey: http://localhost:8096/emby/swagger

 

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MPCRemote
    Assembly Version: 1.0.0.2
    Win32 Version: 1.0.0.2
    CodeBase: file:///C:/Temp/MPCRemote/MPCRemote.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
MediaBrowser.Model
    Assembly Version: 3.0.5834.27374
    Win32 Version: 3.0.5834.27374
    CodeBase: file:///C:/Temp/MPCRemote/MediaBrowser.Model.DLL
----------------------------------------
NLog
    Assembly Version: 4.0.0.0
    Win32 Version: 4.2.3.1371
    CodeBase: file:///C:/Temp/MPCRemote/NLog.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
MediaBrowser.ApiInteraction
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Temp/MPCRemote/MediaBrowser.ApiInteraction.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.1.19229
    CodeBase: file:///C:/Temp/MPCRemote/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
MetroFramework
    Assembly Version: 1.3.5.0
    Win32 Version: 1.3.5.0
    CodeBase: file:///C:/Temp/MPCRemote/MetroFramework.DLL
----------------------------------------
MetroFramework.Fonts
    Assembly Version: 1.3.5.0
    Win32 Version: 1.3.5.0
    CodeBase: file:///C:/Temp/MPCRemote/MetroFramework.Fonts.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Link to comment
Share on other sites

Perhaps it needs an update? There shouldn't be any breaking server changes affecting it, I don't think.

Link to comment
Share on other sites

  • 4 weeks later...
HaraldBluetooth

I wonder if this MPCRemote can be used by external users away from my home network. Can MPCRemote be used by several users at the same time?

 

I have created my brother as an user on my EMBY server, and he has installed the MPCRemote and MPC-HC. I have generated an API key (dashboard/Advanced/Security) and his MPCRemote is accepted and green, but when he signs into the EMBY server in his Chrome browser - nothing appears under the cast symbol in his browser, but it appears in my browser. What have I done wrong?

Link to comment
Share on other sites

  • 2 months later...

@@Luke, thanks for taking the time to reply, however one of the initial requirements was to have this as a device that any user could control and play back was associated with their account.

 

This used to work fine, is there anyway it can be restored?

 

Imagine the scenario, you have MPC as a generic device, people use the Web Client to control it just like a DLNA device or a Chromecast.  Any play back is associated to their account, once they are finished the device is available to other users.

 

Also, does Chromecast associate played back content to a particular user or does it work the same way?  If not how is this achieved, anything I can do with the session id? 

 

I can confirm using an API Key associated with a user i.e. getting it from the Server Dashboard via the Swagger URL does associate playback with that user, but then all playback is associated with said user.

 

BTW, do many people still use this and is it worth the effort?  Is individual playback an issue?

 

 

Swagger params are finally back and better then ever:

 

https://emby.media/community/index.php?/topic/60520-34127-swagger-params/

 

Enjoy.

Link to comment
Share on other sites

  • 1 month later...
HaraldBluetooth

Since upgrading to version 3.6.0.31 or .32, this nice MPC remote hasn't worked for me. Can someone please help me out.
 

Edited by HaraldBluetooth
Link to comment
Share on other sites

HaraldBluetooth

Ok thanks. Yes it's possible that this tool might need an update.

 

Thanks for your answer Luke. Has something changed in 3.6.0.31 or .32, that should affect this tool?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...