跳过内幕。
bw-plex的Python项目详细描述
用于跳过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分钟的音频。(有一种备份方法 使用音频静音和黑框。
然后我们检查这一集是否有使用字幕和音频的摘要 我们寻找上一季的线索 然后我们下载这集的最后一部分 确定出口的起点和终点。
根据您的设置,我们将允许播放到主题 开始或者直接跳到介绍结束,如果我们也应该跳过重述。
由于这是一个相当缓慢的过程,我们也开始处理下一个 所以下次你看同一个节目的时候我们会立刻寻找 客户端到主题的结尾。