Hellowlol / bw_plex

binge watching for plex
MIT License
368 stars 23 forks source link

Processes movies even though it's disabled #115

Open deepfriedmind opened 4 years ago

deepfriedmind commented 4 years ago

I just noticed that it started processing a movie even though I have check_credits = False under [movie]. Here's my full config file:

[general]
thread_pool_number = 10

# Setting debug to True will show your username/password/token in logs!
debug = False

# loglevel options: debug or info
loglevel = debug

# mode options: skip_only_theme', 'skip_if_recap'
mode = skip_only_theme
ignore_intro_ratingkeys = ,
ignore_outro_ratingkeys = ,
# this is used add to the progress we we can start skip faster.
no_wait_tick = 5

# Clients and users are a whitelist! empty allows all.
clients = ,
users = ,

[server]
# The local IP address of your server plus port: http://192.168.0.0:32400
url = http://localhost:32400
# Search online for plex token to find this info.
token = <TOKEN>
verify_ssl = False
name = 
username = 
password = 

[tv]
# This lets bw_plex know that its suppose to analyze the video for credits
check_credits = True
# Setting this to 'stop' will stop playback when credits starts.
# if set to seek it will
check_credits_action = seek
# This will start the next available episode
## NOTE: check_credits_action need to be `stop` for this to work.
check_credits_start_next_ep = False
credits_delay = 4
check_credits_sec = 120
check_for_theme_sec = 600
check_intro_ffmpeg_sec = 600
process_recently_added = True
process_deleted = False
# Options: 'all', 'tvtunes', 'plex', 'youtube'
theme_source = all
words = previously on, last season, last episode
create_edl = False
edl_action_type = 3
create_chapters = False

[movie]
check_credits = False
check_credits_action = 
check_credits_sec = 600
credits_delay = 0
check_intro_ffmpeg_sec = 600
process_recently_added = False
process_deleted = False
create_edl = False
edl_action_type = 3
create_chapters = False

[hashing]
check_frames = False
#every_n = not in use atm.

# remaps can use used to location set a partial location
# this is usefull if bw_plex is running on another computer.
# the key is the path plex user and the value is the computer running
# bw_plex. Ex:
# /tvseries/ = W:\
[remaps]

Here's the log after restarting bw_plex then starting playback of a movie:

2020-01-06 14:39:18,005 :: bw_plex :: INFO :: __init__.py:172 :: Using bw_plex version 0.1.dev1+gd2ce7ed
2020-01-06 14:39:18,011 :: bw_plex :: INFO :: __init__.py:173 :: default folder set to /config
2020-01-06 14:39:23,047 :: bw_plex :: INFO :: plex.py:1387 :: Added signal handler.
2020-01-06 14:39:23,112 :: bw_plex :: DEBUG :: misc.py:64 :: Getting server NAS
2020-01-06 14:39:23,114 :: bw_plex :: DEBUG :: misc.py:572 :: Getting hashtable
2020-01-06 14:39:24,256 :: bw_plex :: INFO :: misc.py:658 :: Loading existing files in db
Watching for media on NAS
2020-01-06 14:39:27,146 :: bw_plex :: DEBUG :: misc.py:587 :: Files in the hashtable
2020-01-06 14:39:27,150 :: bw_plex :: DEBUG :: plex.py:1315 :: ws event Ready(response=<response HTTP/1.1 101 Switching Protocols>, protocol=None, extensions=set())
2020-01-06 14:39:44,366 :: bw_plex :: DEBUG :: plex.py:1235 :: Failed to find ratingkey 58058 in the db
2020-01-06 14:39:44,526 :: bw_plex :: DEBUG :: plex.py:1095 :: Found <MOVIE_TITLE>
2020-01-06 14:39:44,529 :: bw_plex :: DEBUG :: plex.py:148 :: Started to process <MOVIE_TITLE>
2020-01-06 14:39:44,530 :: bw_plex :: DEBUG :: plex.py:886 :: Checking if we can reach <MOVIE_TITLE> directly
2020-01-06 14:39:44,531 :: bw_plex :: DEBUG :: plex.py:896 :: Found /path/to/movie.mkv directly
2020-01-06 14:39:44,532 :: bw_plex :: DEBUG :: misc.py:283 :: Calling find_offset_ffmpeg with command ffmpeg -i /path/to/movie.mkv -t 600 -vf blackdetect=d=0.5:pix_th=0.1 -af silencedetect=n=-50dB:d=0.3 -f null -
gadgetusaf commented 4 years ago

I am seeing this too