forked from clara-j/media_cleaner
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Behavioral Statement Breakdown
terrelsa13 edited this page Aug 17, 2024
·
7 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
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
BehavioralControl = (user_conditional and played_conditional)
- When action is delete, BehavioralControl evaluates to
true
, and action_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
- No action taken on media_item
-
No action taken on True; No action taken on False (disabled)
- When action is delete, BehavioralControl evaluates to
true
, and action_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
- No action taken on media_item
-
No action taken on True; Action taken on False
- When action is delete, BehavioralControl evaluates to
true
, and action_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
- No action taken on media_item
-
No action taken on True; Opposite action taken on False
- When action is delete, BehavioralControl evaluates to
true
, and action_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
- Action taken on media_item
-
Action taken on True; No action taken on False (recommended)
- When action is delete, BehavioralControl evaluates to
true
, and action_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 remain not in the delete list
- Action taken on media_item
-
Action taken on True; Action taken on False
- When action is delete, BehavioralControl evaluates to
true
, and action_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 remain not in the delete list
- Action taken on media_item
-
Action taken on True; Opposite action taken on False (recommended)
- When action is delete, BehavioralControl evaluates to
true
, and action_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
- Opposite action taken on media_item
-
Opposite action taken on True; No action taken on False
- When action is delete, BehavioralControl evaluates to
true
, and action_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
- Opposite action taken on media_item
-
Opposite action taken on True; Action taken on False
- When action is delete, BehavioralControl evaluates to
true
, and action_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
- Opposite action taken on media_item
-
Opposite action taken on True; Opposite action taken on False
- When action is delete, BehavioralControl evaluates to
false
, and action_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
- No action taken on media_item
- No action taken on True; No action taken on False (disabled)
- When action is delete, BehavioralControl evaluates to
false
, and action_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
- Action taken on media_item
- No action taken on True; Action taken on False
- When action is delete, BehavioralControl evaluates to
false
, and action_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
- Opposite action taken on media_item
- No action taken on True; Opposite action taken on False
- When action is delete, BehavioralControl evaluates to
false
, and action_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
- No action taken on media_item
- Action taken on True; No action taken on False (recommended)
- When action is delete, BehavioralControl evaluates to
false
, and action_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
- Action taken on media_item
- Action taken on True; Action taken on False
- When action is delete, BehavioralControl evaluates to
false
, and action_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
- Opposite action taken on media_item
- Action taken on True; Opposite action taken on False (recommended)
- When action is delete, BehavioralControl evaluates to
false
, and action_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
- No action taken on media_item
- Opposite action taken on True; No action taken on False
- When action is delete, BehavioralControl evaluates to
false
, and action_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
- Action taken on media_item
- Opposite action taken on True; Action taken on False
- When action is delete, BehavioralControl evaluates to
false
, and action_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
- Opposite action taken on media_item
- Opposite action taken on True; Opposite action taken on False
- When action is keep, BehavioralControl evaluates to
true
, and action_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
- No action taken on media_item
-
No action taken on True; No action taken on False (disabled)
- When action is keep, BehavioralControl evaluates to
true
, and action_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
- No action taken on media_item
-
No action taken on True; Action taken on False
- When action is keep, BehavioralControl evaluates to
true
, and action_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
- No action taken on media_item
-
No action taken on True; Opposite action taken on False
- When action is keep, BehavioralControl evaluates to
true
, and action_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
- Action taken on media_item
-
Action taken on True; No action taken on False (recommended)
- When action is keep, BehavioralControl evaluates to
true
, and action_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
- Action taken on media_item
-
Action taken on True; Action taken on False
- When action is keep, BehavioralControl evaluates to
true
, and action_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
- Action taken on media_item
-
Action taken on True; Opposite action taken on False (recommended)
- When action is keep, BehavioralControl evaluates to
true
, and action_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
- Opposite action taken on media_item
-
Opposite action taken on True; No action taken on False
- When action is keep, BehavioralControl evaluates to
true
, and action_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
- Opposite action taken on media_item
-
Opposite action taken on True; Action taken on False
- When action is keep, BehavioralControl evaluates to
true
, and action_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
- Opposite action taken on media_item
-
Opposite action taken on True; Opposite action taken on False
- When action is keep, BehavioralControl evaluates to
false
, and action_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
- No action taken on media_item
- No action taken on True; No action taken on False (disabled)
- When action is keep, BehavioralControl evaluates to
false
, and action_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
- Action taken on media_item
- No action taken on True; Action taken on False
- When action is keep, BehavioralControl evaluates to
false
, and action_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
- Opposite action taken on media_item
- No action taken on True; Opposite action taken on False
- When action is keep, BehavioralControl evaluates to
false
, and action_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
- No action taken on media_item
- Action taken on True; No action taken on False (recommended)
- When action is keep, BehavioralControl evaluates to
false
, and action_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
- Action taken on media_item
- Action taken on True; Action taken on False
- When action is keep, BehavioralControl evaluates to
false
, and action_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
- Opposite action taken on media_item
- Action taken on True; Opposite action taken on False (recommended)
- When action is keep, BehavioralControl evaluates to
false
, and action_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
- No action taken on media_item
- Opposite action taken on True; No action taken on False
- When action is keep, BehavioralControl evaluates to
false
, and action_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
- Action taken on media_item
- Opposite action taken on True; Action taken on False
- When action is keep, BehavioralControl evaluates to
false
, and action_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
- Opposite action taken on media_item
- Opposite action taken on True; Opposite action taken on False
Additional Information - MUMC extras.
- MUMC wiki
- Install
- Files & Directories
- First Run
- Scheduled Run
- Terminology
- Configuration File Examples
- Configuration Tree
-
Additional Information
- OS Permissions
- User And Library Builder
- 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
- Command-Line Options
- Make MUMC Run FASTERRRRRR!!!
- Known Limitations