您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add playback speed controls to plex web player with keyboard shortcuts
当前为
[Github][4]
[Greasy Fork][5]
linuxserver/plex:1.40.0
the WebClient bundle is located at usr/lib/plexmediaserver/Resources/Plug-ins-c29d4c0c8/WebClient.bundle/Contents/Resources
Plex Playback Speed.user.js
file into the js
folder..user
part from the file extension. Other the user script extensions in users browser may mistakenly hijack the script request.index.html
file, add a script tag that points to the downloaded script file. Assuming the file is stored at js/PlexPlaybackSpeed.js
, the script tag should be <script src="/web/js/PlexPlaybackSpeed.js"></script>
The script will not update automatically with this installation.
linuxserver/plex
docker deployment)If the Plex Server is deployed with linuxserver/plex
docker image, install and update may be automated as follows:
bash
# inject_Plex_Playback_Speed_controls.sh
cd /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources
wget -O "js/PlexPlaybackSpeed.js" "https://gist.githubusercontent.com/ZigZagT/b992bda82b5f7a2c9d214110273d3f3c/raw/Plex%2520Playback%2520Speed.user.js"
sed -i 's#</head>#<script src="/web/js/PlexPlaybackSpeed.js"></script></head>#' index.html
inject_Plex_Playback_Speed_controls.sh
.inject_Plex_Playback_Speed_controls.sh
script into container as start up script:
yaml
# docker-compose.yaml
services:
plex:
image: linuxserver/plex
tmpfs:
- /tmp
volumes:
# ... other volumes ...
- /path/to/inject_Plex_Playback_Speed_controls.sh:/etc/cont-init.d/99-inject_Plex_Playback_Speed_controls.sh
devices:
- /dev/dri:/dev/dri
restart: always
The latest script will be installed whenever the container restarts.
Save Location
setting configured.Save Location
of your choice.Use <
or >
keys on the keyboard to decrease / increase speeds.
Use number keys (1-9) to quickly set a preset speeds.
Try disable the Direct Play
option and leave Direct Stream
enabled in the Plex Web - Debug
settings.
[1]: https://gist.githubusercontent.com/ZigZagT/b992bda82b5f7a2c9d214110273d3f3c/raw/Plex%2520Playback%2520Speed.user.js [2]: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en [3]: https://itunes.apple.com/us/app/userscripts/id1463298887 [4]: https://gist.github.com/ZigZagT/b992bda82b5f7a2c9d214110273d3f3c [5]: https://greasyfork.org/en/scripts/451667-plex-playback-speed [6]: https://docs.linuxserver.io/images/docker-plex