Thanks to the inspiration of this post, I learned that plex can call mpv player features through scripts, so I made some scripts myself to call the hidden features of mpv player which support Plex for Windows/Mac/Linux and Plex HTPC for Windows/Mac/Linux, hope it will be helpful for you.
Three of the scripts are from the above posting, one with a little modification, and the rest were generated by me using Bing Chat.
Function Introduction
-
Fast forward: Press
right arrow keyto fast forward 10 seconds. -
Multiply speed playback: Press
.key to speed up, press,to slow down, press/to reset the playback speed. -
Frame-by-frame playback: press
'to go forward frame-by-frame, press;to go backward frame-by-frame. -
Mute: Press
jto switch the mute mode, press again to unmute and restore the original volume. -
Screenshot: Press
sto capture the current screen. -
Record screen: Press
1to start recording, press2to stop recording. (Only support MacOS) -
Switch subtitles: Press
tto cycle through the subtitles. -
Adjust subtitle position: Press
dto move down the subtitle, presseto move up the subtitle, pressrto reset the subtitle position. -
Adjust subtitle size: press
zto enlarge the subtitle, pressxto reduce the subtitle, presscto reset the subtitle size. -
Adjust subtitle offset: Press
vto decrease the subtitle delay, pressbto increase the subtitle delay, pressnto reset the subtitle offset. -
Move screen: Press
mto activate the move mode, usearrow keysto move the screen, pressmagain to close the move mode. Pressoto reset the screen position. -
Zoom screen: Press
=to zoom in, press-to zoom out, press0to reset the screen size.
Script Installation
Please put the script file into the user scripts folder of Plex and Plex HTPC, and then restart the Plex and Plex HTPC clients.
MacOS users can refer to the following directory, please move the script files to the scripts folder, then use TextEdit to open screenshot-keybinds.lua to set the path to save the screenshot and save it; then use TextEdit to open recordingBeta-keybinds.lua, replace the /Applications/FFmpeg/FFmpeg in the script with the path of your FFmpeg executable (you need to install FFmpeg first), and set the directory to save the recording, then save the file.
/Users/Username/Library/Application Support/Plex/scripts
/Users/Username/Library/Application Support/Plex HTPC/scripts
Windows users can refer to the following directory, please move the script files to the scripts folder, then open screenshot-keybinds.lua with Notepad to set the screenshot save path and save it; delete recordingBeta-keybinds.lua (this script does not support Windows).
C:\Users\Username\AppData\Local\Plex\scripts
C:\Users\Username\AppData\Local\Plex HTPC\scripts
Script Usage
Except recordingBeta-keybinds.lua which only supports MacOS, all other scripts support Plex for Windows/Mac/Linux and Plex HTPC for Windows/Mac/Linux, please make sure to restart the client after installing the script before using it. If the script does not work properly, it might have conflicts with other shortcuts on your operating system, you could try to change the shortcut keys by opening the script with a TextEdit/Notepad.