Web Skipper for Plex

在 Plex Web 实现自动跳过片头、片尾和自动播放下一个项目功能。

目前为 2024-07-02 提交的版本。查看 最新版本

作者
x1ao4
评分
0 0 0
版本
1.1
创建于
2023-09-04
更新于
2024-07-02
大小
1.9 KB
许可证
MIT
适用于

Plex Skipper

使用 Plex Skipper 可以实现在 Plex Web 播放影片时自动跳过片头、片尾(当影片包含片头/片尾标记时)和自动播放下一集(当播放列表中存在下一集时)。

使用方法

脚本会在您访问以下地址时自动启用,若您需要通过其他地址访问 Plex Web 并使用本脚本,请在 Tampermonkey 的「已安装脚本」中找到「Plex Skipper」,点击后方的「编辑」按钮,将您的「自定义服务器访问地址」按照下面的格式添加至脚本中,并保存脚本,然后刷新您的 Plex Web 页面,Plex Skipper 就可以正常启用了。

// @match              https://app.plex.tv/*
// @match              http://localhost:32400/*
// @match              http://127.0.0.1:32400/*

脚本启用后会自动检查页面上的「跳过片头」和「跳过片尾」按钮,并在它们出现时自动点击它们,从而实现自动跳过片头和片尾的功能。脚本还会检查「自动播放下一集」的元素是否存在,如果存在,则按下空格键来实现自动播放下一集的功能。

这样,您就可以享受连续观看影片和剧集而不必手动跳过片头和片尾,以及手动播放下一集了(不用等待 10 秒)。

注意事项

  • 如果脚本功能未生效,请检查 Plex Skipper 是否已经成功安装并启用。
  • 只有当影片存在片头或片尾标记时,您才可以使用 Plex Skipper 实现自动跳过。

Plex Skipper

Plex Skipper allows you to automatically skip intros and credits (when the video contains intro/credits markers) and automatically play the next episode (when the next episode exists in the playlist) while playing videos on Plex Web.

Usage

The script will automatically enable itself when you visit the following URLs. If you need to access Plex Web through different URLs and use this script, find "Plex Skipper" in Tampermonkey's "Installed Userscripts", click the "Edit" button, add your "Custom Server Access URLs" in the format shown below to the script, save it, then refresh your Plex Web page to enable Plex Skipper.

// @match              https://app.plex.tv/*
// @match              http://localhost:32400/*
// @match              http://127.0.0.1:32400/*

Once the script is enabled, it will automatically check for the presence of "Skip Intro" and "Skip Credits" buttons on the page and click them when they appear, enabling automatic skipping of intros and credits. The script will also check if the "Auto Play Next" element exists, if it does, it will press the spacebar to automatically play the next episode.

This way, you can enjoy continuous watching of movies and TV shows without having to manually skip intros and credits, as well as manually play the next episode (without waiting for 10 seconds).

Notes

  • If the script's functionality does not work, ensure that Plex Skipper is installed and enabled.
  • Automatic skipping only occurs when video markers for intros and credits are present.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址