forked from clara-j/media_cleaner
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Behavioral Statement Breakdown
terrelsa13 edited this page Jul 4, 2025
·
10 revisions
- Specify the
action
MUMC will take when abehavioral_statement
is evaluated. - The goal of a behavioral statement is to determine which of the 3 possible actions to take:
- Delete - Add media_item to the list of items to be deleted.
- Keep - Remove media_item from the list of items to be deleted.
-
No Action - Do nothing to the media_item.
- Do not add media_item to the list of items to be deleted.
- Do not remove media_item from the list of items to be deleted.
advance_settings:
behavioral_statements:
media_type:
conditional_behavior: string
action: string
user_conditional: string
played_conditional: string
action_control: integer
dynamic_behavior: boolean
conditional_behaviors
can be one of the following:
- favorite
- whitetag
- blacktag
- whitelist
- blacklist
action
is either:
- delete
- keep
user_conditional
is either:
- all : Every monitored_user meets the conditional_behavior for the media_item
- any : One or more monitored_users meet the conditional_behavior for the media_item
played_conditional
can be one of the following:
-
all_all
- Every monitored_user meets the
count
andcount equality
of both the played filter_statement and created filter_statement
- Every monitored_user meets the
-
any_any
- One or more monitored_users meet the
count
andcount equality
of either the played filter_statement or created filter_statement
- One or more monitored_users meet the
-
all_any
- Every monitored_user meets the
count
andcount equality
of either the played filter_statement or created filter_statement
- Every monitored_user meets the
-
any_all
- One or more monitored_users meet the
count
andcount equality
of both the played filter_statement and created filter_statement
- One or more monitored_users meet the
-
all_played
- Every monitored_user meets the
count
andcount equality
of the played filter_statement - Ignore the
count
andcount equality
of the created filter_statement
- Every monitored_user meets the
-
any_played
- One or more monitored_users meet the
count
andcount equality
of the played filter_statement - Ignore the
count
andcount equality
of the created filter_statement
- One or more monitored_users meet the
-
all_created
- Every monitored_user meets the
count
andcount equality
of the created filter_statement - Ignore the
count
andcount equality
of the played filter_statement
- Every monitored_user meets the
-
any_created
- One or more monitored_users meet the
count
andcount equality
of the created filter_statement - Ignore the
count
andcount equality
of the played filter_statement
- One or more monitored_users meet the
-
ignore
- Ignore the
count
andcount equality
of both the played filter_statement and created filter_statement
- Ignore the
action_control
can be the following:
- 0 : No action taken on True; No action taken on False (disabled)
- 1 : No action taken on True; Action taken on False
- 2 : No action taken on True; Opposite action taken on False
- 3 : Action taken on True; No action taken on False (recommended)
- 4 : Action taken on True; Action taken on False
- 5 : Action taken on True; Opposite action taken on False (recommended)
- 6 : Opposite action taken on True; No action taken on False
- 7 : Opposite action taken on True; Action taken on False
- 8 : Opposite action taken on True; Opposite action taken on False
dynamic_behavior
can be the follwing:
-
false : Every monitored_user is taken into account during the evaluation of
played_conditional
-
true : Only monitored_users with a matching
conditional_behavior
are taken into account during the evaluation ofplayed_conditional
BehavioralControl = (user_conditional and played_conditional)
- When
action
is delete,BehavioralControl
evaluates totrue
, andaction_control
is 0-
No action taken on True; No action taken on False (disabled)
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
-
No action taken on True; No action taken on False (disabled)
- When
action
is delete,BehavioralControl
evaluates totrue
, andaction_control
is 1-
No action taken on True; Action taken on False
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
-
No action taken on True; Action taken on False
- When
action
is delete,BehavioralControl
evaluates totrue
, andaction_control
is 2-
No action taken on True; Opposite action taken on False
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
-
No action taken on True; Opposite action taken on False
- When
action
is delete,BehavioralControl
evaluates totrue
, andaction_control
is 3-
Action taken on True; No action taken on False (recommended)
- Action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added the delete list
- If
- Action taken on
-
Action taken on True; No action taken on False (recommended)
- When
action
is delete,BehavioralControl
evaluates totrue
, andaction_control
is 4-
Action taken on True; Action taken on False
- Action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Action taken on
-
Action taken on True; Action taken on False
- When
action
is delete,BehavioralControl
evaluates totrue
, andaction_control
is 5-
Action taken on True; Opposite action taken on False (recommended)
- Action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Action taken on
-
Action taken on True; Opposite action taken on False (recommended)
- When
action
is delete,BehavioralControl
evaluates totrue
, andaction_control
is 6-
Opposite action taken on True; No action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Opposite action taken on
-
Opposite action taken on True; No action taken on False
- When
action
is delete,BehavioralControl
evaluates totrue
, andaction_control
is 7-
Opposite action taken on True; Action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Opposite action taken on
-
Opposite action taken on True; Action taken on False
- When
action
is delete,BehavioralControl
evaluates totrue
, andaction_control
is 8-
Opposite action taken on True; Opposite action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Opposite action taken on
-
Opposite action taken on True; Opposite action taken on False
- When
action
is delete,BehavioralControl
evaluates tofalse
, andaction_control
is 0- No action taken on True; No action taken on False (disabled)
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
- No action taken on True; No action taken on False (disabled)
- When
action
is delete,BehavioralControl
evaluates tofalse
, andaction_control
is 1- No action taken on True; Action taken on False
- Action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to he delete list
- If
- Action taken on
- No action taken on True; Action taken on False
- When
action
is delete,BehavioralControl
evaluates tofalse
, andaction_control
is 2- No action taken on True; Opposite action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Opposite action taken on
- No action taken on True; Opposite action taken on False
- When
action
is delete,BehavioralControl
evaluates tofalse
, andaction_control
is 3- Action taken on True; No action taken on False (recommended)
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
- Action taken on True; No action taken on False (recommended)
- When
action
is delete,BehavioralControl
evaluates tofalse
, andaction_control
is 4- Action taken on True; Action taken on False
- Action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Action taken on
- Action taken on True; Action taken on False
- When
action
is delete,BehavioralControl
evaluates tofalse
, andaction_control
is 5- Action taken on True; Opposite action taken on False (recommended)
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Opposite action taken on
- Action taken on True; Opposite action taken on False (recommended)
- When
action
is delete,BehavioralControl
evaluates tofalse
, andaction_control
is 6- Opposite action taken on True; No action taken on False
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
- Opposite action taken on True; No action taken on False
- When
action
is delete,BehavioralControl
evaluates tofalse
, andaction_control
is 7- Opposite action taken on True; Action taken on False
- Action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Action taken on
- Opposite action taken on True; Action taken on False
- When
action
is delete,BehavioralControl
evaluates tofalse
, andaction_control
is 8- Opposite action taken on True; Opposite action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Opposite action taken on
- Opposite action taken on True; Opposite action taken on False
- When
action
is keep,BehavioralControl
evaluates totrue
, andaction_control
is 0-
No action taken on True; No action taken on False (disabled)
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
-
No action taken on True; No action taken on False (disabled)
- When
action
is keep,BehavioralControl
evaluates totrue
, andaction_control
is 1-
No action taken on True; Action taken on False
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
-
No action taken on True; Action taken on False
- When
action
is keep,BehavioralControl
evaluates totrue
, andaction_control
is 2-
No action taken on True; Opposite action taken on False
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
-
No action taken on True; Opposite action taken on False
- When
action
is keep,BehavioralControl
evaluates totrue
, andaction_control
is 3-
Action taken on True; No action taken on False (recommended)
- Action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Action taken on
-
Action taken on True; No action taken on False (recommended)
- When
action
is keep,BehavioralControl
evaluates totrue
, andaction_control
is 4-
Action taken on True; Action taken on False
- Action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Action taken on
-
Action taken on True; Action taken on False
- When
action
is keep,BehavioralControl
evaluates totrue
, andaction_control
is 5-
Action taken on True; Opposite action taken on False (recommended)
- Action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Action taken on
-
Action taken on True; Opposite action taken on False (recommended)
- When
action
is keep,BehavioralControl
evaluates totrue
, andaction_control
is 6-
Opposite action taken on True; No action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Opposite action taken on
-
Opposite action taken on True; No action taken on False
- When
action
is keep,BehavioralControl
evaluates totrue
, andaction_control
is 7-
Opposite action taken on True; Action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Opposite action taken on
-
Opposite action taken on True; Action taken on False
- When
action
is keep,BehavioralControl
evaluates totrue
, andaction_control
is 8-
Opposite action taken on True; Opposite action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Opposite action taken on
-
Opposite action taken on True; Opposite action taken on False
- When
action
is keep,BehavioralControl
evaluates tofalse
, andaction_control
is 0- No action taken on True; No action taken on False (disabled)
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
- No action taken on True; No action taken on False (disabled)
- When
action
is keep,BehavioralControl
evaluates tofalse
, andaction_control
is 1- No action taken on True; Action taken on False
- Action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Action taken on
- No action taken on True; Action taken on False
- When
action
is keep,BehavioralControl
evaluates tofalse
, andaction_control
is 2- No action taken on True; Opposite action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Opposite action taken on
- No action taken on True; Opposite action taken on False
- When
action
is keep,BehavioralControl
evaluates tofalse
, andaction_control
is 3- Action taken on True; No action taken on False (recommended)
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
- Action taken on True; No action taken on False (recommended)
- When
action
is keep,BehavioralControl
evaluates tofalse
, andaction_control
is 4- Action taken on True; Action taken on False
- Action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Action taken on
- Action taken on True; Action taken on False
- When
action
is keep,BehavioralControl
evaluates tofalse
, andaction_control
is 5- Action taken on True; Opposite action taken on False (recommended)
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Opposite action taken on
- Action taken on True; Opposite action taken on False (recommended)
- When
action
is keep,BehavioralControl
evaluates tofalse
, andaction_control
is 6- Opposite action taken on True; No action taken on False
- No action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- No action taken on
- Opposite action taken on True; No action taken on False
- When
action
is keep,BehavioralControl
evaluates tofalse
, andaction_control
is 7- Opposite action taken on True; Action taken on False
- Action taken on
media_item
- If
media_item
is in the delete list; it will be removed from the delete list - If
media_item
is not in the delete list; it will remain not in the delete list
- If
- Action taken on
- Opposite action taken on True; Action taken on False
- When
action
is keep,BehavioralControl
evaluates tofalse
, andaction_control
is 8- Opposite action taken on True; Opposite action taken on False
- Opposite action taken on
media_item
- If
media_item
is in the delete list; it will remain in the delete list - If
media_item
is not in the delete list; it will be added to the delete list
- If
- Opposite action taken on
- Opposite action taken on True; Opposite action taken on False
Additional Information - MUMC extras.
- MUMC wiki
- Install
- Files & Directories
- Terminology
- Configuration File Examples
- Configuration Tree
-
Additional Information
- OS Permissions
- Configuration Builder/Editor
- Played And Created Filter Statement Breakdown
- Played And Created Filter Tag Breakdown
- Dangerous Filter Statements
- Behavioral Statement Breakdown
- Behavioral Tag Breakdown
- Blacklisting vs Whitelisting
- Blacktagging vs Whitetagging
- Library Matching byId vs byPath vs byNetworkPath
- Minimum Episodes vs Minium Played Episodes
- Conditional Behavior Priorities
- Media Mangers
- Command-Line Arguments
- Make MUMC Run FASTERRRRRR!!!
- Known Limitations