HTPC Tips and Tricks

Some users may want to replace the MPV library used with one of their own. One reason could be to experiment with new features available in MPV itself. Doing this is as simple as replacing the library in the install with desired version. On each platform, it appears that MPV builds ship without the shared library but Windows has a separate archive containing the library. So on other platforms you will need to build the library yourself and then follow instructions similar to these for Windows.

Windows:

  1. Quit the app
  2. In C:\Program Files\Plex\Plex HTPC rename mpv-2.dll to another file
  3. Download from mpv player (Windows) - Browse /libmpv at SourceForge.net (be sure to grab a version that contains x86_64)
  4. Copy the mpv-2.dll from the download to C:\Program Files\Plex\Plex HTPC

This build of the MPV library appears to be missing some of the certificate authorities necessary to connect to Plex Media Servers. Fortunately it can be told to use the one that ships with HTPC. You can do this by inserting this in your mpv.conf file (adjusting paths if you installed elsewhere):

tls-ca-file=C:\Program Files\Plex\Plex HTPC\resources\cacert.pem This is no longer necessary.

1 Like