Plex-Meta-Manager/defaults/templates.yml
2023-02-27 11:53:54 -05:00

245 lines
6.8 KiB
YAML

templates:
separator:
default:
sep_style: orig
collection_section: "00"
url_poster_<<key>>: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/separators/<<sep_style>>/<<separator>>.jpg
optional:
- use_separator
- collection_mode
- placeholder_tmdb_movie
- placeholder_tvdb_show
- placeholder_imdb_id
conditionals:
use_blank:
default: true
conditions:
- placeholder_tmdb_movie.exists: true
value: false
- placeholder_tvdb_show.exists: true
value: false
- placeholder_imdb_id.exists: true
value: false
run_definition: <<use_separator>>
collection_mode: <<collection_mode>>
sort_title: "!<<collection_section>>_!<<collection_name>>"
tmdb_movie: <<placeholder_tmdb_movie>>
tvdb_show: <<placeholder_tvdb_show>>
imdb_id: <<placeholder_imdb_id>>
blank_collection: <<use_blank>>
url_poster: <<url_poster_<<key>>>>
shared:
default:
collection_section: "00"
sort: <<collection_name>>
key: <<collection_name>>
pre: "_"
order: ""
order_<<key>>: <<order>>
item_radarr_tag_<<key>>: <<item_radarr_tag>>
item_sonarr_tag_<<key>>: <<item_sonarr_tag>>
url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/<<image>>.jpg
url_poster_<<key>>: <<url_poster>>
visible_library_<<key>>: <<visible_library>>
visible_home_<<key>>: <<visible_home>>
visible_shared_<<key>>: <<visible_shared>>
minimum_items_<<key>>: <<minimum_items>>
optional:
- use_<<key>>
- allowed_libraries
- collection_mode
- visible_library
- visible_home
- visible_shared
- item_radarr_tag
- item_sonarr_tag
- trakt_list
- image
- ignore_ids
- ignore_imdb_ids
- minimum_items
run_definition:
- <<use_<<key>>>>
- <<allowed_libraries>>
ignore_ids: <<ignore_ids>>
ignore_imdb_ids: <<ignore_imdb_ids>>
trakt_list: <<trakt_list>>
ignore_blank_results: true
collection_mode: <<collection_mode>>
visible_library: <<visible_library_<<key>>>>
visible_home: <<visible_home_<<key>>>>
visible_shared: <<visible_shared_<<key>>>>
item_radarr_tag: <<item_radarr_tag_<<key>>>>
item_sonarr_tag: <<item_sonarr_tag_<<key>>>>
sort_title: "!<<collection_section>><<pre>><<order_<<key>>>><<sort>>"
url_poster: <<url_poster_<<key>>>>
minimum_items: <<minimum_items_<<key>>>>
trakt:
optional:
- trakt_list
trakt_list: <<trakt_list>>
imdb:
optional:
- imdb_list
imdb_list: <<imdb_list>>
tmdb_person:
default:
url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-People-<<style>>/master/<<key_name_first_letter>>/Images/<<key_encoded>><<extra>>.jpg
url_poster_<<key>>: <<url_poster>>
optional:
- tmdb_person
- tmdb_person_offset
tmdb_person: <<tmdb_person>>
tmdb_person_offset: <<tmdb_person_offset>>
url_poster: <<url_poster_<<key>>>>
conditionals:
extra:
default: ""
conditions:
- tmdb_person_offset.exists: true
tmdb_person_offset.not: 0
value: " (<<tmdb_person_offset>>)"
smart_filter:
default:
sort_by: release.desc
sort_by_<<key>>: <<sort_by>>
limit_<<key>>: <<limit>>
search_value: <<value>>
optional:
- search_term2
- search_value2
- limit
- type
smart_filter:
sort_by: <<sort_by_<<key>>>>
limit: <<limit_<<key>>>>
type: <<type>>
any:
<<search_term>>: <<search_value>>
<<search_term2>>: <<search_value2>>
filter:
default:
sync_mode: sync
sync_mode_<<key>>: <<sync_mode>>
sort_by: release.desc
sort_by_<<key>>: <<sort_by>>
limit_<<key>>: <<limit>>
optional:
- limit
smart_label:
sort_by: <<sort_by_<<key>>>>
limit: <<limit_<<key>>>>
all:
label: <<smart_label>>
sync_mode: <<sync_mode_<<key>>>>
plex_all: true
filters:
<<filter_term>>: <<value>>
mdb_smart:
default:
sync_mode: sync
sync_mode_<<key>>: <<sync_mode>>
sort_by: release.desc
sort_by_<<key>>: <<sort_by>>
cache_builders: 1
smart_label: <<sort_by_<<key>>>>
sync_mode: <<sync_mode_<<key>>>>
mdblist_list: <<mdblist_list>>
arr:
default:
key: <<collection_name>>
radarr_add_missing_<<key>>: <<radarr_add_missing>>
sonarr_add_missing_<<key>>: <<sonarr_add_missing>>
radarr_folder_<<key>>: <<radarr_folder>>
sonarr_folder_<<key>>: <<sonarr_folder>>
radarr_tag_<<key>>: <<radarr_tag>>
sonarr_tag_<<key>>: <<sonarr_tag>>
radarr_monitor_<<key>>: <<radarr_monitor>>
sonarr_monitor_<<key>>: <<sonarr_monitor>>
optional:
- radarr_add_missing
- sonarr_add_missing
- radarr_folder
- sonarr_folder
- radarr_tag
- sonarr_tag
- radarr_monitor
- sonarr_monitor
radarr_add_missing: <<radarr_add_missing_<<key>>>>
sonarr_add_missing: <<sonarr_add_missing_<<key>>>>
radarr_folder: <<radarr_folder_<<key>>>>
sonarr_folder: <<sonarr_folder_<<key>>>>
radarr_tag: <<radarr_tag_<<key>>>>
sonarr_tag: <<sonarr_tag_<<key>>>>
radarr_monitor: <<radarr_monitor_<<key>>>>
sonarr_monitor: <<sonarr_monitor_<<key>>>>
custom:
default:
sync_mode: sync
sync_mode_<<key>>: <<sync_mode>>
collection_order: custom
collection_order_<<key>>: <<collection_order>>
cache_builders: 1
collection_order: <<collection_order_<<key>>>>
sync_mode: <<sync_mode_<<key>>>>
cache_builders: <<cache_builders>>
other_collection:
default:
collection_section: "00"
sort: <<collection_name>>
pre: "_~"
optional:
- use_other
run_definition: <<use_other>>
sort_title: "!<<collection_section>><<pre>><<sort>>"
use_year_collections:
optional:
- use_year_collections
run_definition: <<use_year_collections>>
translation:
default:
summary_<<key>>: <<<<translation_key>>_summary>>
name_<<key>>: <<<<translation_key>>_name>>
optional:
- <<translation_key>>_summary
- <<translation_key>>_name
summary: <<summary_<<key>>>>
name: <<name_<<key>>>>
images:
optional:
- file
- url
- git
- repo
- style
conditionals:
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: images/<<set>>/<<style>>
mapping_id: <<id>>
run_definition:
- <<use_<<set>>>>
image_set:
pmm: <<pmm>>
file: <<file>>
url: <<url>>
git: <<git>>
repo: <<repo>>