Jump to content


Photo

Emby External Player Launcher

Emby External Player Launcher EmbyExternalPlayerLauncher E2PL MPC-HC external external player

  • Please log in to reply
100 replies to this topic

#81 Bloodred OFFLINE  

Bloodred

    Advanced Member

  • Members
  • 60 posts
  • Local time: 10:51 AM

Posted 22 November 2019 - 05:35 PM

Yes, the problem is probably the fact that the new server's API is no longer completely compatible with the old library. Sadly I can't really update easily since there isn't a new library version released as far as I can see. I guess I could try to re-implement everything without a specific library and calling the server API directly, but I don't really have the time for that right now, so no promises on that front at this point.



#82 xxsxxism OFFLINE  

xxsxxism

    Newbie

  • Members
  • 2 posts
  • Local time: 03:51 AM

Posted 25 November 2019 - 02:48 AM

I'll wait patiently for a hopeful update.  Never realized how much I used this until it quit working. Thanks for the work you do.



#83 Maximus Naxsus OFFLINE  

Maximus Naxsus

    Advanced Member

  • Members
  • 94 posts
  • Local time: 09:51 AM
  • LocationLeiden, NL

Posted 26 November 2019 - 09:51 AM

I can no longer connect after the latest server update. Emby keeps telling me there was a failed login attempt, but my credentials are correct/haven't changed.

 

EDIT: I solved the issue by going to Local Network Access and turning off the password requirement.

 

Please be more specific, I can't find this option



#84 saltywatermelonsoda OFFLINE  

saltywatermelonsoda

    Newbie

  • Members
  • 4 posts
  • Local time: 09:51 AM

Posted 26 November 2019 - 06:40 PM

Please be more specific, I can't find this option

 

Manage Emby server > Settings > Users > Password > Local Network Access


Edited by saltywatermelonsoda, 26 November 2019 - 06:40 PM.


#85 Bloodred OFFLINE  

Bloodred

    Advanced Member

  • Members
  • 60 posts
  • Local time: 10:51 AM

Posted 26 November 2019 - 07:08 PM

I'll wait patiently for a hopeful update.  Never realized how much I used this until it quit working. Thanks for the work you do.

No problem! The work I put into E2PL is for myself too, I needed something to cover this sort of use case and which ticked a few boxes so to speak, so I wrote this tool. I'm still using it on a daily basis. Since I made it anyway, I might as well release it to anyone else who might find it useful.

 

If you really need to get it working again I suppose you can try what the others have suggested, namely disabling the password to see if it works. Another option would be to downgrade the Emby server to a working version (and hope the library remains compatible) and then stop updating. For my own install of Emby that I use daily I went with the latter option and stopped updating a while back, since things will probably keep breaking as the server receives updates.

 

Stopping updates isn't a real solution that I'd suggest doing forever, especially if you're using your Emby server exposed to the Internet since you could potentially be leaving yourself exposed to security vulnerabilities, so it's probably a bad idea in that situation. In my own case, the server is strictly isolated to a LAN. As for the general future, I'll have to decide what I'll do with my own media setup and that may influence what happens with E2PL too. With Christmas and the winter holidays coming I hope I'll have a bit of time to poke around with a few things and maybe decide what I'll do based on that.



#86 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152846 posts
  • Local time: 04:51 AM

Posted 26 November 2019 - 11:22 PM

Are you using our c# nuget package?



#87 Bloodred OFFLINE  

Bloodred

    Advanced Member

  • Members
  • 60 posts
  • Local time: 10:51 AM

Posted 27 November 2019 - 01:47 PM

Yes, I'm using this to be precise: https://www.nuget.or...wser.ApiClient/



#88 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152846 posts
  • Local time: 04:51 AM

Posted 27 November 2019 - 04:52 PM

Ok we need to rebuild the whole thing, but that's going to take a bit of time. The best advice i can think of right now would be to drop the nuget package, pull the source for the library into your app, and then you can easily fix the login method to newer api conventions.



#89 bitfidelity OFFLINE  

bitfidelity

    Member

  • Members
  • 13 posts
  • Local time: 04:51 AM

Posted 27 November 2019 - 04:57 PM

Is there a way to configure Emby so I don't have to hit "Play on another device" and select "Emby External Player Launcher" every time I enter/refresh the web client?



#90 Bloodred OFFLINE  

Bloodred

    Advanced Member

  • Members
  • 60 posts
  • Local time: 10:51 AM

Posted 27 November 2019 - 05:33 PM

Ok we need to rebuild the whole thing, but that's going to take a bit of time. The best advice i can think of right now would be to drop the nuget package, pull the source for the library into your app, and then you can easily fix the login method to newer api conventions.

I can have a look at doing that. Is this repo the right place to get the code from?

https://github.com/M.../Emby.ApiClient

Also I remember trying this at one point and having version trouble with the mediabrowser.common dependency, is the code on the ApiClient Github repo compatible with the latest mediabrowser.common? If not, do you know which version of mediabrowser.common to use? Thanks!

 

Is there a way to configure Emby so I don't have to hit "Play on another device" and select "Emby External Player Launcher" every time I enter/refresh the web client?

I've been doing the same thing, I haven't seen an option to set it as default, though I haven't looked very hard either.



#91 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152846 posts
  • Local time: 04:51 AM

Posted 27 November 2019 - 05:42 PM

I can have a look at doing that. Is this repo the right place to get the code from?

https://github.com/M.../Emby.ApiClient

Also I remember trying this at one point and having version trouble with the mediabrowser.common dependency, is the code on the ApiClient Github repo compatible with the latest mediabrowser.common? If not, do you know which version of mediabrowser.common to use? Thanks!

 

I've been doing the same thing, I haven't seen an option to set it as default, though I haven't looked very hard either.

 

I would just pull in the mediabrowser.common 3.3.10 version and let's see if that's good enough.



#92 Bloodred OFFLINE  

Bloodred

    Advanced Member

  • Members
  • 60 posts
  • Local time: 10:51 AM

Posted 27 November 2019 - 06:11 PM

OK, thanks for the help Luke. I'll give that a try, probably this weekend.



#93 Bloodred OFFLINE  

Bloodred

    Advanced Member

  • Members
  • 60 posts
  • Local time: 10:51 AM

Posted 29 November 2019 - 11:33 AM

I've built the latest ApiClient version from source and released E2PL v1.1.2.0-beta which is now using this client instead of the NuGet package.

https://github.com/r...g/v1.1.2.0-beta

 

I haven't made any other changes and haven't had time to set up a VM with the latest version of the server, so I'm not sure if this actually fixes anything or not. It does seem to work with the old server version that I'm using for my own media. Anyone having the authentication issues could give this a try and with a bit of luck it'll work, assuming the new library uses the new authentication method in the background when talking to the server. If not, I'll get an install of the latest server going and look into it in more depth when I've next got a bit of time.


  • saltywatermelonsoda likes this

#94 Elegant OFFLINE  

Elegant

    Advanced Member

  • Members
  • 35 posts
  • Local time: 03:51 AM

Posted 29 November 2019 - 03:38 PM

Fantastic! Can confirm that LDAP authentication is now working correctly. Thanks!



#95 Bloodred OFFLINE  

Bloodred

    Advanced Member

  • Members
  • 60 posts
  • Local time: 10:51 AM

Posted 29 November 2019 - 04:43 PM

Nice, I'm glad to hear that!



#96 xxsxxism OFFLINE  

xxsxxism

    Newbie

  • Members
  • 2 posts
  • Local time: 03:51 AM

Posted 05 December 2019 - 09:45 AM

Working here as well. Thank you!



#97 levander OFFLINE  

levander

    Advanced Member

  • Members
  • 558 posts
  • Local time: 10:51 AM

Posted 06 December 2019 - 06:52 AM

Hi.

 

Can you make this useful for non-Windows users? (Mac to be specific)



#98 angryblue OFFLINE  

angryblue

    Member

  • Members
  • 17 posts
  • Local time: 04:51 PM

Posted 06 December 2019 - 10:31 AM

Can you make a Mac version?Thank you!



#99 Bloodred OFFLINE  

Bloodred

    Advanced Member

  • Members
  • 60 posts
  • Local time: 10:51 AM

Posted 06 December 2019 - 11:52 AM

Working here as well. Thank you!

No problem! Looks like the compatibility issues with the new server have been solved for now.

 

Hi.

 

Can you make this useful for non-Windows users? (Mac to be specific)

Can you make a Mac version?Thank you!

Sorry to say, but the answer to a Mac version is no, at least at this time. I don't own or use any Macs, nor do I have any experience developing Mac software, so I can't really build and test it for Mac since I simply don't even have the hardware. There's also the problem that E2PL works together with MPC-HC, but MPC-HC itself does not run on Mac OS as far as I know.



#100 levander OFFLINE  

levander

    Advanced Member

  • Members
  • 558 posts
  • Local time: 10:51 AM

Posted 06 December 2019 - 02:42 PM

No problem! Looks like the compatibility issues with the new server have been solved for now.

 

Sorry to say, but the answer to a Mac version is no, at least at this time. I don't own or use any Macs, nor do I have any experience developing Mac software, so I can't really build and test it for Mac since I simply don't even have the hardware. There's also the problem that E2PL works together with MPC-HC, but MPC-HC itself does not run on Mac OS as far as I know.

 

Thanks for the answer, Bloodred. I understand.

 

Damn, I how I hate Windows...







Also tagged with one or more of these keywords: Emby External Player Launcher, EmbyExternalPlayerLauncher, E2PL, MPC-HC, external, external player

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users