Plex-Meta-Manager/defaults/templates.yml

326 lines
9.7 KiB
YAML
Raw Normal View History

2022-09-27 06:19:29 +00:00
templates:
separator:
default:
2023-09-14 14:09:13 +00:00
key: separator
2022-09-27 06:19:29 +00:00
sep_style: orig
collection_section: "00"
2024-04-22 14:20:12 +00:00
url_poster_<<key>>: https://raw.githubusercontent.com/Kometa-Team/Default-Images/master/separators/<<sep_style>>/<<separator>>.jpg
sort_prefix: "!"
sort_title: <<sort_prefix>><<collection_section>>_!<<title>>
2022-09-27 06:19:29 +00:00
optional:
- use_separator
- collection_mode
2022-11-03 19:44:01 +00:00
- placeholder_tmdb_movie
- placeholder_tvdb_show
- placeholder_imdb_id
- summary_<<key>>
- name_<<key>>
2023-03-30 19:51:04 +00:00
- key_name
- translation_key
2022-11-03 19:44:01 +00:00
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>>
2022-09-27 06:19:29 +00:00
collection_mode: <<collection_mode>>
sort_title: <<sort_title>>
2022-11-03 19:44:01 +00:00
tmdb_movie: <<placeholder_tmdb_movie>>
tvdb_show: <<placeholder_tvdb_show>>
imdb_id: <<placeholder_imdb_id>>
blank_collection: <<use_blank>>
url_poster: <<url_poster_<<key>>>>
2023-03-30 19:51:04 +00:00
translation_key: <<translation_key>>
key_name: <<key_name>>
summary: <<summary_<<key>>>>
name: <<name_<<key>>>>
2022-09-27 06:19:29 +00:00
shared:
2023-04-08 17:26:11 +00:00
conditionals:
name_<<key>>:
conditions:
- dynamic: true
<<translation_key>>_name.exists: true
value: <<<<translation_key>>_name>>
- dynamic: true
key.not: other
2023-04-08 17:26:11 +00:00
value: <<name_format>>
summary_<<key>>:
conditions:
- dynamic: true
<<translation_key>>_summary.exists: true
value: <<<<translation_key>>_summary>>
- dynamic: true
key.not: other
2023-04-08 17:26:11 +00:00
value: <<summary_format>>
url_poster_<<key>>:
conditions:
- file_poster_<<key>>.exists: false
file_poster.exists: false
2023-10-27 19:55:24 +00:00
value: <<url_poster>>
final_use:
conditions:
- use_<<key>>.exists: true
value: <<use_<<key>>>>
- use_all: false
value: false
2022-09-27 06:19:29 +00:00
default:
collection_section: "00"
2023-03-31 14:42:06 +00:00
key: <<mapping_name>>
2022-09-27 06:19:29 +00:00
pre: "_"
2022-10-18 20:54:28 +00:00
order: ""
order_<<key>>: <<order>>
2024-01-02 18:46:33 +00:00
schedule_<<key>>: <<schedule>>
2024-01-07 08:07:13 +00:00
sort: <<title>>
sort_prefix: "!"
2024-01-07 08:07:13 +00:00
sort_title: <<sort_prefix>><<collection_section>><<pre>><<order_<<key>>>><<sort>>
2022-09-27 06:19:29 +00:00
item_radarr_tag_<<key>>: <<item_radarr_tag>>
item_sonarr_tag_<<key>>: <<item_sonarr_tag>>
2024-04-22 14:20:12 +00:00
url_poster: https://raw.githubusercontent.com/Kometa-Team/Default-Images/master/<<image>>.jpg
2023-04-19 01:05:13 +00:00
file_poster_<<key>>: <<file_poster>>
url_background_<<key>>: <<url_background>>
file_background_<<key>>: <<file_background>>
visible_library_<<key>>: <<visible_library>>
visible_home_<<key>>: <<visible_home>>
visible_shared_<<key>>: <<visible_shared>>
2022-12-22 16:38:09 +00:00
minimum_items_<<key>>: <<minimum_items>>
2022-09-27 06:19:29 +00:00
optional:
- use_<<key>>
- allowed_libraries
- collection_mode
- visible_library
- visible_home
- visible_shared
2022-09-27 06:19:29 +00:00
- item_radarr_tag
- item_sonarr_tag
2022-10-01 07:45:58 +00:00
- trakt_list
2022-10-18 20:54:28 +00:00
- image
- ignore_ids
- ignore_imdb_ids
2022-12-22 16:38:09 +00:00
- minimum_items
2023-03-30 19:51:04 +00:00
- summary_format
- name_format
- key_name
- translation_key
2023-04-19 01:05:13 +00:00
- file_poster
- url_background
- file_background
2023-03-30 19:51:04 +00:00
- limit
- name_mapping
- delete_collections_named
2024-01-02 18:46:33 +00:00
- schedule
run_definition:
- <<final_use>>
2022-09-27 06:19:29 +00:00
- <<use_<<key>>>>
- <<allowed_libraries>>
name_mapping: <<name_mapping>>
2023-03-30 19:51:04 +00:00
translation_key: <<translation_key>>
key_name: <<key_name>>
summary: <<summary_<<key>>>>
name: <<name_<<key>>>>
limit: <<limit>>
ignore_ids: <<ignore_ids>>
ignore_imdb_ids: <<ignore_imdb_ids>>
2022-10-01 07:45:58 +00:00
trakt_list: <<trakt_list>>
2022-09-27 06:19:29 +00:00
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: <<sort_title>>
2022-10-12 16:10:38 +00:00
url_poster: <<url_poster_<<key>>>>
2023-04-19 01:05:13 +00:00
file_poster: <<file_poster_<<key>>>>
url_background: <<url_background_<<key>>>>
file_background: <<file_background_<<key>>>>
2022-12-22 16:38:09 +00:00
minimum_items: <<minimum_items_<<key>>>>
delete_collections_named: <<delete_collections_named>>
2024-01-02 18:46:33 +00:00
schedule: <<schedule_<<key>>>>
2022-10-01 07:45:58 +00:00
trakt:
optional:
- trakt_list
trakt_list: <<trakt_list>>
imdb:
optional:
- imdb_list
imdb_list: <<imdb_list>>
2023-12-14 14:52:45 +00:00
imdb_award:
optional:
- award_filter
- category_filter
- winning
imdb_award:
event_id: <<event_id>>
event_year: <<key>>
2023-12-14 14:52:45 +00:00
award_filter: <<award_filter>>
category_filter: <<category_filter>>
winning: <<winning>>
2022-10-01 07:45:58 +00:00
2023-02-07 16:50:18 +00:00
tmdb_person:
default:
2024-04-22 14:20:12 +00:00
url_poster: https://raw.githubusercontent.com/Kometa-Team/People-Images-<<style>>/master/<<key_name_first_letter>>/Images/<<key_encoded>><<extra>>.jpg
2023-02-07 16:50:18 +00:00
url_poster_<<key>>: <<url_poster>>
2023-04-18 13:10:22 +00:00
tmdb_person_offset_<<key>>: <<tmdb_person_offset>>
2023-02-07 16:50:18 +00:00
optional:
- tmdb_person
- tmdb_person_offset
2023-04-18 15:37:05 +00:00
- tmdb_birthday
2023-02-07 16:50:18 +00:00
tmdb_person: <<tmdb_person>>
2023-04-18 15:37:05 +00:00
tmdb_birthday: <<tmdb_birthday>>
2023-04-18 13:10:22 +00:00
tmdb_person_offset: <<tmdb_person_offset_<<key>>>>
2023-04-18 17:50:39 +00:00
delete_not_scheduled: true
2023-02-22 17:13:28 +00:00
url_poster: <<url_poster_<<key>>>>
2023-02-07 16:50:18 +00:00
conditionals:
extra:
default: ""
conditions:
- tmdb_person_offset.exists: true
tmdb_person_offset.not: 0
2023-04-18 13:10:22 +00:00
value: " (<<tmdb_person_offset_<<key>>>>)"
2023-02-07 16:50:18 +00:00
2022-10-01 07:45:58 +00:00
smart_filter:
default:
sort_by: release.desc
2022-10-08 16:31:06 +00:00
sort_by_<<key>>: <<sort_by>>
limit_<<key>>: <<limit>>
2022-10-01 07:45:58 +00:00
search_value: <<value>>
optional:
- search_term2
- search_value2
- limit
- type
smart_filter:
2022-10-08 16:31:06 +00:00
sort_by: <<sort_by_<<key>>>>
limit: <<limit_<<key>>>>
2022-10-01 07:45:58 +00:00
type: <<type>>
any:
<<search_term>>: <<search_value>>
<<search_term2>>: <<search_value2>>
filter:
default:
2022-12-09 16:30:18 +00:00
sync_mode: sync
sync_mode_<<key>>: <<sync_mode>>
2022-10-01 07:45:58 +00:00
sort_by: release.desc
sort_by_<<key>>: <<sort_by>>
2022-10-10 20:56:05 +00:00
limit_<<key>>: <<limit>>
optional:
- limit
smart_label:
sort_by: <<sort_by_<<key>>>>
limit: <<limit_<<key>>>>
all:
label: <<smart_label>>
2022-12-09 16:30:18 +00:00
sync_mode: <<sync_mode_<<key>>>>
2022-10-01 07:45:58 +00:00
plex_all: true
filters:
2022-10-03 19:32:50 +00:00
<<filter_term>>: <<value>>
2022-10-01 07:45:58 +00:00
mdb_smart:
default:
2022-12-09 16:30:18 +00:00
sync_mode: sync
sync_mode_<<key>>: <<sync_mode>>
2022-10-01 07:45:58 +00:00
sort_by: release.desc
sort_by_<<key>>: <<sort_by>>
cache_builders: 1
cache_builders: <<cache_builders>>
2022-10-01 07:45:58 +00:00
smart_label: <<sort_by_<<key>>>>
2022-12-09 16:30:18 +00:00
sync_mode: <<sync_mode_<<key>>>>
2022-10-01 07:45:58 +00:00
mdblist_list: <<mdblist_list>>
2022-09-27 06:19:29 +00:00
arr:
default:
2023-03-31 14:42:06 +00:00
key: <<mapping_name>>
2022-09-27 06:19:29 +00:00
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>>
2022-11-09 02:21:46 +00:00
radarr_monitor_<<key>>: <<radarr_monitor>>
radarr_upgrade_existing_<<key>>: <<radarr_upgrade_existing>>
radarr_monitor_existing_<<key>>: <<radarr_monitor_existing>>
2022-11-09 02:21:46 +00:00
sonarr_monitor_<<key>>: <<sonarr_monitor>>
sonarr_upgrade_existing_<<key>>: <<sonarr_upgrade_existing>>
sonarr_monitor_existing_<<key>>: <<sonarr_monitor_existing>>
radarr_search_<<key>>: <<radarr_search>>
sonarr_search_<<key>>: <<sonarr_search>>
2022-09-27 06:19:29 +00:00
optional:
- radarr_add_missing
- sonarr_add_missing
- radarr_folder
- sonarr_folder
- radarr_tag
- sonarr_tag
2022-11-09 02:21:46 +00:00
- radarr_monitor
- radarr_upgrade_existing
- radarr_monitor_existing
2022-11-09 02:21:46 +00:00
- sonarr_monitor
- sonarr_upgrade_existing
- sonarr_monitor_existing
- radarr_search
- sonarr_search
2022-09-27 06:19:29 +00:00
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>>>>
2022-11-09 02:21:46 +00:00
radarr_monitor: <<radarr_monitor_<<key>>>>
radarr_upgrade_existing: <<radarr_upgrade_existing_<<key>>>>
radarr_monitor_existing: <<radarr_monitor_existing_<<key>>>>
2022-11-09 02:21:46 +00:00
sonarr_monitor: <<sonarr_monitor_<<key>>>>
sonarr_upgrade_existing: <<sonarr_upgrade_existing_<<key>>>>
sonarr_monitor_existing: <<sonarr_monitor_existing_<<key>>>>
radarr_search: <<radarr_search_<<key>>>>
sonarr_search: <<sonarr_search_<<key>>>>
2022-09-27 06:19:29 +00:00
custom:
default:
2022-12-09 16:30:18 +00:00
sync_mode: sync
sync_mode_<<key>>: <<sync_mode>>
2022-09-27 06:19:29 +00:00
collection_order: custom
collection_order_<<key>>: <<collection_order>>
2022-11-30 21:33:43 +00:00
cache_builders: 1
2022-09-27 06:19:29 +00:00
collection_order: <<collection_order_<<key>>>>
2022-12-09 16:30:18 +00:00
sync_mode: <<sync_mode_<<key>>>>
2022-11-30 21:33:43 +00:00
cache_builders: <<cache_builders>>
2022-09-27 06:19:29 +00:00
other_collection:
default:
collection_section: "00"
pre: "_~"
optional:
- use_other
run_definition: <<use_other>>
2023-03-31 14:42:06 +00:00
sort_title: "!<<collection_section>><<pre>><<title>>"
2022-09-27 06:19:29 +00:00
use_year_collections:
conditionals:
final_collection_section:
default: <<collection_section>>
conditions:
- year_collection_section.exists: true
value: <<year_collection_section>>
default:
collection_section: "00"
key: <<mapping_name>>
pre: "_"
order: ""
order_<<key>>: <<order>>
sort_prefix: "!"
sort_title: <<sort_prefix>><<final_collection_section>><<pre>><<order_<<key>>>><<title>>
2022-09-27 06:19:29 +00:00
optional:
- use_year_collections
run_definition: <<use_year_collections>>
sort_title: <<sort_title>>