binge watching for plex
You should install this from github as this project isnt stable.
pip install -e git+https://github.com/Hellowlol/bw_plex.git#egg=bw_plex
You should also install a speedup for the websocket-client package. pip install wsaccel
CPU/Memory usage can be rather high, so use a 64 bit python install. Note: This tool only works on your local network.
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.
--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.
ffmpeg_process Simple manual test for ffmpeg_process with...
find_theme Iterate over all your shows and downloads the...
fix_shitty_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.
The most common will be:
bw_plex watch
bw_plex will connect to PMS using websocket and listen for any playing events. It will then download the theme and the first 10 minutes of the episode and try to figure out when the theme starts and ends. The result is stored in a sqlite db. This process is rather slow so the first episode will be . The next episode will be queued up so its ready when you start to watch it. bw_plex will then seek the client to where the theme ended in that episode.