Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plex for Windows support #26

Open
the-database opened this issue Sep 5, 2023 · 2 comments
Open

Plex for Windows support #26

the-database opened this issue Sep 5, 2023 · 2 comments

Comments

@the-database
Copy link
Owner

Since Plex for Windows is mpv-based, it should be possible to upscale with AnimeJaNai in Plex. The steps just need to be documented. Most likely setup will be similar to https://www.svp-team.com/wiki/SVP:Plex_Media_Player

@xrishox
Copy link

xrishox commented Sep 29, 2023

https://github.com/iwalton3/plex-mpv-shim
https://github.com/jellyfin/jellyfin-mpv-shim

I suspect you could use these shim tools and just point them to your modified version of mpv to watch plex/jellyfin with animejanai

@JanChec
Copy link

JanChec commented Jul 13, 2024

Example setup on Windows with Plex on the same machine, displaying in a separate window:

  1. Install Plex MPV Shim https://github.com/iwalton3/plex-mpv-shim/releases
  2. Open it up.
  3. Right-click its icon in the Windows notification area > [Open Config Folder].
  4. You'll see the directory opened. Open conf.json in a text editor.
  5. Find the following keys (on the left side of ":") and set the following values (on the right side of ":"):
    "mpv_ext": true,
    "mpv_ext_ipc": null,
    "mpv_ext_no_ovr": false,
    "mpv_ext_path": "C:/...(PATH ON YOUR MACHINE).../mpv-upscale-2x_animejanai-v3/mpvnet.exe",
    "mpv_ext_start": true,
  1. Right-click Plex MPV Shim's notification icon > [Quit].
  2. Start it up again.
  3. Open Plex Web in a browser supporting Chromecast. In Chrome it works out of the box. In Firefox you need browser.casting.enabled = true in about:config (a special webpage).
  4. Near the top right corner you'll see the Chromecast icon. Click it and select "Plex MPV Shim".
  5. Start any movie. You'll see it running in mpv-upscale-2x_animejanai in a separate window 🎉🕺💃

Some keyboard shortcuts won't work because Plex MPV Shim overrides them to add their own. You can change that by changing "mpv_ext_no_ovr" to true in conf.json. The new shortcuts allow you to interact with Plex, so I recommend checking them out before disabling them.

Read more:

From me: that's great - the convenience of Plex and the quality of AnimeJaNai! The only improvement here would be to have it directly in Plex encoder so that it even streams 4K! Anyway, thank you a lot @the-database and @xrishox!🎖️🎖️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants