forked from Kometa-Team/Community-Configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyear.yml
65 lines (61 loc) · 2.51 KB
/
year.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#############################################################
# Dynamic Year Collections #
# Created by Yozora, Bullmoose20, & Sohjiro #
#############################################################
# Call this from your config.yml (Movie or Show) #
# If nothing is specified these are the defaults #
# #
# metadata_path: #
# - git: PMM/year #
# template_variables: #
# # Turn the separator collection on/off #
# use_separator: true #
# # Separator style (red, blue, green, gray, #
# purple, stb, orig) #
# sep_style: orig #
# # Turn the other collection on/off #
# use_other: true #
# # Sets how the collection is sorted #
# sort_by: critic_rating.desc #
# # Sets the collection mode of the collection #
# collection_mode: #
# # Sets the value at the start of the sort title #
# collection_section: 13 #
# # Sets the number of items per collection #
# limit: 10 #
# # Radarr Tag for existing items #
# item_radarr_tag: #
# # Sonarr Tag for existing items #
# item_sonarr_tag: #
#############################################################
external_templates:
repo: PMM/templates
template_variables:
collection_section: 13
templates:
year_dynamic:
default:
limit: 10
sort_by: critic_rating.desc
url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/year/best/<<key>>.jpg
smart_filter:
sort_by: <<sort_by>>
any:
year: <<key>>
limit: <<limit>>
collections:
Year Collections:
template:
- name: separator
separator: year
dynamic_collections:
Year:
type: number
title_format: Best of <<key_name>>
sync: true
data:
starting: current_year-10
ending: current_year
template:
- year_dynamic
- shared