跳过内幕。

bw-plex的Python项目详细描述


Codacy BadgeTravis StatusCovGitHub ReleasesPyPI versionGitHub last commit

用于跳过Plex的Intro和Outro的工具。

功能

  • 确定开始和结束扫描视频的学分文本。
  • 使用主题曲或黑框确定介绍的开始和结束 音频静音。
  • 确定视频是否有使用字幕和音频的重述。
  • 下载主题曲。
  • 播放开始时处理。
  • 最近添加的进程。
  • 控制客户端跳过intro/outro。
  • 在下一集开始的时候开始。

安装

您应该从github安装它,因为这个项目不稳定。 pip install -egit+https://github.com/Hellowlol/bw_plex.git#egg=bw_plex 或者使用docker docker pull hellowlol/bw_plex

用法

CPU/内存使用率可能相当高,因此请使用64位Python安装。 注意:此工具仅适用于您的本地网络。

Usage: bw_plex

[OPTIONS] COMMAND [ARGS]...

  CLI tool that monitors pms and jumps the client to after the theme.

Options:
  -d, --debug             Add debug logging.
  -u, --username TEXT     Your plex username
  -p, --password TEXT     Your plex password
  -s, --servername TEXT   The server you want to monitor.
  --url TEXT              url to the server you want to monitor
  -t, --token TEXT        plex-x-token
  -c, --config TEXT       Not in use atm.
  -vs, --verify_ssl TEXT  Enable this to allow insecure connections to PMS
  --help                  Show this message and exit.

Commands:
  add_theme_to_hashtable  Create a hashtable from the themes.
  check_db                Do a manual check of the db.
  create_config           Create a config file.
  export_db               Export the db to some other format.
  ffmpeg_process          Simple manual test for ffmpeg_process with...
  manually_correct_theme  Set the correct fingerprint of the show in...
  match                   Manual match for a file.
  process                 Manual process some/all eps.
  set_manual_theme_time   Set a manual start and end time for a theme.
  watch                   Start watching the server for stuff to do.

您可以使用–help: bw_plex export_db --help

最常见的是:bw_plex watch

工作原理:

bw_plex使用websocket侦听播放事件。我们下载 该集的前10分钟和/或主题音乐 youtube/tvtunes/plex。

然后,我们根据主题曲创建音频打印 这集10分钟的音频。(有一种备份方法 使用音频静音和黑框。

然后我们检查这一集是否有使用字幕和音频的摘要 我们寻找上一季的线索 然后我们下载这集的最后一部分 确定出口的起点和终点。

根据您的设置,我们将允许播放到主题 开始或者直接跳到介绍结束,如果我们也应该跳过重述。

由于这是一个相当缓慢的过程,我们也开始处理下一个 所以下次你看同一个节目的时候我们会立刻寻找 客户端到主题的结尾。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java访问私有字段而不使用getter方法?   使用PowerMockito在JavaEWSAPI中模拟测试拉订阅   启动活动时未保存java首选项并清除变量   java如何在servlet中检索子域?斯普林有帮手吗   java使用Docker从命令行构建Android项目   java Android,ActionBar后退按钮(setDisplayHomeAsUpEnabled(true))重新创建父活动   java在重用FileOutputStream时应该关闭流吗?   java使用RESTAPI将文件上载到s3 bucket   Java SOAP Web服务应用程序中的mysql用户登录方法不工作   java使用多个数字计算百分比并转换为长   java Android SQLiteDatabase查询忽略空格   java如何在Javafx中比较两个字段文本   java错误:未设置java_HOME,在Eclipse安装后找不到   java在安卓中保存对象   java如何使用jaxws从返回List<Object>的服务中检索值   java Google OAuth2 JWT令牌验证异常   SpringMVC中的JavaUTF8编码问题,当从JSP表单发送POST请求中的越南语信件时   java从webview重定向到安卓应用程序   JUnit 5中多个扩展的java顺序