Tested with Jellyfin 10.5.2 and Windows 10. Newer version is not promised to work with this script. If you have any problem, please open an issue and I'll try my best to help you.
potplayer.ps1
somewhere else on your disk (DO NOT delete it even after you finish this tutorial). Edit the Potplayer path in potplayer.ps1
. Notice that you should use double backslash for divider.potplayer.reg
. Change the path to where you put potplayer.ps1
. Use double backslash also.potplayer.reg
and click yes.Tampermonkey BETA
in your browser.userscript.js
.
localhost:8096
to the host of your Jellyfin server.D:/folder1/video1.mp4
by (on your local computer) Z:/folder1/video1.mp4
.D:
to the drive on your server to the drive on your local computer. If you have some experience on Javascript, your can custom this path processing script by your own. Just make sure the path will be same to your local file path. For the example mentioned in step 2, the script should be like:
path = path.replace('D:', 'Z:');
Tampermonkey
menu. Copy and paste the whole script. Make sure you enabled the script and when you open Jellyfin, the script is enabled.A user script modifies the play buttons in Jellyfin so that the web player will not be called. Instead, a link will be opened and it's a "url protocol" for Potplayer. The url protocol will firstly call a powershell script and then pass the video path to Potplayer. That's it!
This is related to Powershell Execution Policy, please see https://github.com/tccoin/Jellyfin-Potplayer/issues/5 for solution.
See solution in https://github.com/tccoin/Jellyfin-Potplayer/issues/11 (the issue is in Chinese).