diff --git a/cpt-kuesel/metadata/admin/_templates.yml b/cpt-kuesel/metadata/admin/_templates.yml index 02761a6..3278f65 100644 --- a/cpt-kuesel/metadata/admin/_templates.yml +++ b/cpt-kuesel/metadata/admin/_templates.yml @@ -1,47 +1,65 @@ templates: ol_builder: + ignore_blank_results: true optional: - overlay_level collection_level: <> + conditionals: + ol_folder: + default: _posters + conditions: + - overlay_level: episode + value: _titlecards overlay: - name: <>_<>_<>_<> + name: <>_<>_<> file: overlays/<>/<>.png queue: <> weight: <> it_items: + ignore_blank_results: true optional: - it_language - it_uhd - it_hdr - - it_queue - default: - it_default: "bottom, up_corners, down_corners, left_side, right_side, sides" # list of comma separated labels used to change overlay positions, call as null when using one of those labels with it_queue + - it_pos + conditionals: + it_pos_filter: # labels used to change overlay positions + default: "Bottom, Up_corners, Down_corners, Left_side, Right_side, Sides" + conditions: + - it_pos: Bottom + value: "Up_corners, Down_corners, Left_side, Right_side, Sides" + - it_pos: Up_corners + value: "Bottom, Down_corners, Left_side, Right_side, Sides" + - it_pos: Down_corners + value: "Bottom, Up_corners, Left_side, Right_side, Sides" + - it_pos: Left_side + value: "Bottom, Up_corners, Down_corners, Right_side, Sides" + - it_pos: Right_side + value: "Bottom, Up_corners, Down_corners, Left_side, Sides" + - it_pos: Sides + value: "Bottom, Up_corners, Down_corners, Left_side, Right_side" plex_search: all: audio_language: <> resolution: <> hdr: <> - label: <> - label.not: <> + label: <> + label.not: <> lbxd_list: + ignore_blank_results: true optional: - lbxd_order - lbxd_smart default: lbxd_user: cpt_kuesel lbxd_sort: <> - letterboxd_list: https://letterboxd.com/<>/list/<>/ - collection_order: <> - smart_label: <> - sort_title: <> - lbxd_wlist: - optional: - - lbxd_order - - lbxd_smart - default: - lbxd_user: cpt_kuesel - lbxd_sort: <> - letterboxd_list: https://letterboxd.com/<>/watchlist/ + conditionals: + lboxd_url: + default: https://letterboxd.com/<>/list/<>/ + conditions: + - lboxd_list: watchlist + value: https://letterboxd.com/<>/<>/ + letterboxd_list: <> collection_order: <> smart_label: <> sort_title: <> diff --git a/cpt-kuesel/metadata/admin/core.yml b/cpt-kuesel/metadata/admin/core.yml index 15a56f8..a609e8f 100644 --- a/cpt-kuesel/metadata/admin/core.yml +++ b/cpt-kuesel/metadata/admin/core.yml @@ -6,14 +6,17 @@ templates: label_collector: true allowed_library_types: <> german_metadata: + ignore_blank_results: true default: german_metadata: true allowed_library_types: <> non_german_metadata: + ignore_blank_results: true default: non_german_metadata: true allowed_library_types: <> local_only: + ignore_blank_results: true default: local_only: false allowed_library_types: <> @@ -38,7 +41,7 @@ collections: plex_search: all: audio_language: de - label: non_german_metadata + label: Non_german_metadata item_label.remove: Non_german_metadata remove_german_metadata: template: {name: german_metadata} @@ -46,7 +49,7 @@ collections: plex_search: all: audio_language.not: de - label: german_metadata + label: German_metadata item_label.remove: German_metadata german_metadata: template: {name: german_metadata} @@ -54,28 +57,24 @@ collections: plex_search: all: audio_language: de - label.not: german_metadata + label.not: German_metadata item_metadata_language: de-DE item_label: German_metadata - item_label.remove: Non_german_metadata non_german_metadata: template: {name: non_german_metadata} build_collection: false plex_search: all: audio_language.not: de - label.not: non_german_metadata + label.not: Non_german_metadata item_metadata_language: en-US item_label: Non_german_metadata - item_label.remove: German_metadata local_only: template: - name: local_only - - name: it_items - it_default: local_only - it_resolution: 4k - - name: it_items - it_default: local_only - it_hdr: true + plex_search: + any: + - resolution: 4k + - hdr: true build_collection: false item_label: Local_only