Giter Site home page Giter Site logo

charygao / embyexternalplayerlauncher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from red217/embyexternalplayerlauncher

0.0 2.0 0.0 72 KB

Emby External Player Launcher lets you play videos from your Emby server in MPC-HC.

License: GNU General Public License v3.0

C# 98.58% Batchfile 0.14% PowerShell 1.28%

embyexternalplayerlauncher's Introduction

Emby External Player Launcher

Emby External Player Launcher (E2PL) is a small .NET 4.6.1 application that registers itself as a video player to an Emby server and launches/controls MPC-HC to actually handle video playback. I wrote E2PL because I wanted to be able to watch videos using MPC-HC while also keeping the progress synchronized to my Emby library. E2PL is not affiliated with the Emby project.

If you somehow ended up reading about E2PL but do not know what Emby is, check out the project's website: https://emby.media/

License

Emby External Player Launcher is licensed under the GNU General Public License v3. You should have received a full copy of the license text, please see LICENSE.txt.

E2PL source code is freely available on GitHub: https://github.com/Red217/EmbyExternalPlayerLauncher

Third-party libraries

E2PL makes use of third-party libraries, please see CREDITS.txt

Setup

Requirements

  • Windows system with .NET Framework 4.6.1 installed
  • MPC-HC should be installed
  • A functional Emby server installation somewhere on the local network
  • Direct access to the video files - either on the same system or over the network using shared files/folders combined with the Emby server's Shared network folder path substitution feature

Installing E2PL

No specific installation is required, E2PL simply runs from any folder you save it to.

  1. Get a version of E2PL - either download the provided .zip archive or build it yourself from source
  2. Extract/copy E2PL to the folder you wish to save it to
  3. Run Emby External Player Launcher.exe to start the application - note that E2PL runs in the background and you can find its icon in the system tray
  4. If you're starting it for the first time, you will see a message asking you to configure E2PL, you can do this by right clicking the tray icon and choosing the Configuration option
  5. Set the path to mpc-hc.exe, your local Emby user name and your local Emby password (The current version of E2PL is only intended to be used on a single machine setup or on your local network and the Emby server credentials are saved in its configuration file for automated login, do not use it on a machine you do not trust)
  6. (Optional) If you want E2PL to start up with Windows so it's always available, create a shortcut to the .exe in the Startup folder (to quickly open the Startup folder press Win+R, type shell:startup and hit Enter)

Note that E2PL requires network access to contact the Emby server if it is not running on the same machine. MPC-HC is also controlled through its built-in web interface, which is accessed exclusively through localhost and the configured port (13579 by default). If you have any firewall blocking access to either of these, you will need to add rules accordingly in order to allow traffic to pass.

If you encounter any issues, read any error messages that appear and have a look at the E2PL log file which may provide more information. It's saved under e2pl.log in your E2PL folder.

The configuration file is saved under %appdata%\Emby External Player Launcher\e2pl.json

Playing a file

You can play files from the Emby server's web interface.

  1. Make sure E2PL is configured and is running (see above)
  2. Open the Emby web interface in the browser of your choice, or use the Emby app of your choice
  3. Select "Emby External Player Launcher" as your player in Emby (there's an icon in the top-right of the web interface to do this)
  4. Play the file of your choice, MPC-HC will start up and play the file automatically

Viewing progress will be updated automatically in your Emby library and you can also use Emby as a basic remote control for MPC-HC: pause/unpause, volume control and seeking are supported. Stop will stop playback by closing MPC-HC. MPC-HC will be started and stopped automatically as needed. If you want automatic progress reporting to Emby to function correctly, you should make sure that MPC-HC is not already running when you start playback from Emby - allow E2PL to manage the player by itself.

embyexternalplayerlauncher's People

Contributors

red217 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.