binge watching for plex
pip install -r requirements.txt
bw_plex only works on python 2. :(
- Download all the themes from pms using
plexjump.py update_all_themes
- Create audiofingerprints of the themes so the videos can be matched against something.
plexjump.py create_hash_table_from_themes
- Start using
plexjump.py watch
Usage: plex_jump.py [OPTIONS] COMMAND [ARGS]...
CLI tool that monitors 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:
create_hash_table_from_themes Create a hashtable from the themes.
match Manual match for a file.
test_dexter Test manual process_to_db.
update_all_themes Find and download all themes
watch Start watching the server for stuff to do.
bw_plex will work without step 1 and 2, but it will be much slower.
bw_plex will connect to plex using websocket and listen for any playing events. If will then download the theme and the first 10 minutes of the episode and try to figure out when the theme ends. This can take some time so the first ep might simply be ignored. The next episode will be queued up so its ready when you start to watch it. bw_plex will then seek to where the theme ended in that episode file.