From 809366921cf60736ccf6042ae74d2cc9443efd1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LO=C3=8FC=20RICO?= <65566752+ricoloic@users.noreply.github.com> Date: Fri, 2 Aug 2024 08:00:29 -0400 Subject: [PATCH] Ricoloic (#672) * added base ricoloic config * fix: assets url remove spaces * fix: removed duplicated collection * update new collections * removed unused config --- ricoloic/Collection/Anime/Chart.yml | 6 +- ricoloic/Collection/Anime/Genre.yml | 2 +- ricoloic/Collection/Anime/Season.yml | 4 +- ricoloic/Collection/Movie/Decade.yml | 2 +- ricoloic/Collection/Movie/Genre.yml | 4 +- ricoloic/Collection/Movie/Resolution.yml | 172 ------------------ ricoloic/Collection/Shared/Audio.yml | 209 ++++++++++++++++++++++ ricoloic/Collection/Shared/Resolution.yml | 52 ++++++ ricoloic/Collection/Show/Chart.yml | 2 +- ricoloic/Collection/Show/Genre.yml | 2 +- ricoloic/Collection/Show/Resolution.yml | 172 ------------------ ricoloic/Collection/Show/Studio.yml | 2 +- ricoloic/config.yml.template | 7 +- 13 files changed, 278 insertions(+), 358 deletions(-) delete mode 100644 ricoloic/Collection/Movie/Resolution.yml create mode 100644 ricoloic/Collection/Shared/Audio.yml create mode 100644 ricoloic/Collection/Shared/Resolution.yml delete mode 100644 ricoloic/Collection/Show/Resolution.yml diff --git a/ricoloic/Collection/Anime/Chart.yml b/ricoloic/Collection/Anime/Chart.yml index 8d736fb..f1b1be7 100644 --- a/ricoloic/Collection/Anime/Chart.yml +++ b/ricoloic/Collection/Anime/Chart.yml @@ -3,21 +3,21 @@ templates: anilist_top_rated: 100 collection_order: custom sync_mode: sync - sort_title: +++_Chart_<> + sort_title: " !+++_Chart_<>" url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Anime/Chart/Poster/<>.png summary: <> AniList Popular Anime: anilist_popular: 100 collection_order: custom sync_mode: sync - sort_title: +++_Chart_<> + sort_title: " !+++_Chart_<>" url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Anime/Chart/Poster/<>.png summary: <> AniList Trending Anime: anilist_trending: 100 collection_order: custom sync_mode: sync - sort_title: +++_Chart_<> + sort_title: " !+++_Chart_<>" url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Anime/Chart/Poster/<>.png summary: <> diff --git a/ricoloic/Collection/Anime/Genre.yml b/ricoloic/Collection/Anime/Genre.yml index 571526e..549eafb 100644 --- a/ricoloic/Collection/Anime/Genre.yml +++ b/ricoloic/Collection/Anime/Genre.yml @@ -5,7 +5,7 @@ templates: collection_order: custom collection_mode: hide sync_mode: sync - sort_title: aaa_Genre_<> + sort_title: " !aaa_Genre_<>" url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Anime/Genre/Poster/<>.png summary: <> diff --git a/ricoloic/Collection/Anime/Season.yml b/ricoloic/Collection/Anime/Season.yml index 396fd10..6d7f6d7 100644 --- a/ricoloic/Collection/Anime/Season.yml +++ b/ricoloic/Collection/Anime/Season.yml @@ -9,7 +9,7 @@ templates: limit: 500 sort_by: members sync_mode: sync - sort_title: zzzz_Season_<>_<>_<> + sort_title: "zzzz_Season_<>_<>_<>" summary: Anime airing during <> anime season in <>. smart_label: release.desc @@ -17,7 +17,7 @@ collections: Current Season: ### Always displayed as the first collection. - sort_title: ++++++++++++++++++_Current Season + sort_title: "zzzz_++++++++++++++++++_Current Season" mal_season: sort_by: members limit: 500 diff --git a/ricoloic/Collection/Movie/Decade.yml b/ricoloic/Collection/Movie/Decade.yml index 58191f6..d33ca08 100644 --- a/ricoloic/Collection/Movie/Decade.yml +++ b/ricoloic/Collection/Movie/Decade.yml @@ -7,7 +7,7 @@ templates: sort_by: rating.desc limit: 500 url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Movie/Decade/Poster/<>s.png - sort_title: +07Best<> + sort_title: " !+07Best<>" sync_mode: append collection_order: custom summary: <> diff --git a/ricoloic/Collection/Movie/Genre.yml b/ricoloic/Collection/Movie/Genre.yml index 8b99a6b..5b63614 100644 --- a/ricoloic/Collection/Movie/Genre.yml +++ b/ricoloic/Collection/Movie/Genre.yml @@ -4,7 +4,7 @@ templates: summary: <> default: exclude: Children, Anime - sort_title: +08<> + sort_title: " !+08<>" smart_filter: sort_by: release.desc validate: false @@ -16,7 +16,7 @@ templates: summary: <> sync_mode: append smart_label: release.desc - sort_title: +08<> + sort_title: " !+08<>" collections: Action: diff --git a/ricoloic/Collection/Movie/Resolution.yml b/ricoloic/Collection/Movie/Resolution.yml deleted file mode 100644 index 8dc3283..0000000 --- a/ricoloic/Collection/Movie/Resolution.yml +++ /dev/null @@ -1,172 +0,0 @@ -templates: - Resolution: - optional: - - overlay_level - - use_<> - - use_<> - collection_level: <> - allowed_library_types: - - <>>> - - <>>> - url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Movie/Resolution/Poster/<>.png - NoResolution: - optional: - - overlay_level - - use_<> - - use_<> - default: - horizontal_offset: 15 - horizontal_align: left - vertical_offset: 15 - vertical_align: top - collection_level: <> - allowed_library_types: - - <>>> - - <>>> - -collections: - 4K-DV: - template: - - name: Resolution - weight: 120 - opt1: 4k - opt2: dv - plex_search: - all: - resolution.regex: '(?i)2160|4k' - filters: - has_dolby_vision: true - - 4K-HDR: - template: - - name: Resolution - weight: 110 - opt1: 4k - opt2: hdr - plex_search: - all: - resolution.regex: '(?i)2160|4k' - hdr: true - - 4K: - template: - - name: Resolution - weight: 100 - opt1: 4k - plex_search: - any: - resolution.regex: '(?i)2160|4k' - - 1080P-DV: - template: - - name: Resolution - weight: 90 - opt1: 1080p - opt2: dv - plex_search: - all: - resolution.regex: '(?i)1080|2k' - filters: - has_dolby_vision: true - - 1080P-HDR: - template: - - name: Resolution - weight: 80 - opt1: 1080p - opt2: hdr - plex_search: - all: - resolution.regex: '(?i)1080|2k' - hdr: true - - 1080P: - template: - - name: Resolution - weight: 70 - opt1: 1080p - plex_search: - any: - resolution.regex: '(?i)1080|2k' - - 720P-DV: - template: - - name: Resolution - weight: 60 - opt1: 720p - opt2: dv - plex_search: - all: - resolution.regex: '(?i)720|hd' - filters: - has_dolby_vision: true - - 720P-HDR: - template: - - name: Resolution - weight: 50 - opt1: 720p - opt2: hdr - plex_search: - all: - resolution.regex: '(?i)720|hd' - hdr: true - - 720P: - template: - - name: Resolution - weight: 40 - opt1: 720p - plex_search: - any: - resolution.regex: '(?i)720|hd' - - 480P-DV: - template: - - name: Resolution - weight: 30 - opt1: 480p - opt2: dv - plex_search: - all: - resolution.regex: '(?i)480|sd' - filters: - has_dolby_vision: true - - 480P-HDR: - template: - - name: Resolution - weight: 20 - opt1: 480p - opt2: hdr - plex_search: - all: - resolution.regex: '(?i)480|sd' - hdr: true - - 480P: - template: - - name: Resolution - weight: 10 - opt1: 480p - plex_search: - any: - resolution.regex: '(?i)480|sd' - - DV: - template: - - name: Resolution - weight: 5 - opt1: dv - plex_all: true - filters: - has_dolby_vision: true - - HDR: - template: - - name: Resolution - weight: 1 - opt1: hdr - plex_search: - all: - hdr: true \ No newline at end of file diff --git a/ricoloic/Collection/Shared/Audio.yml b/ricoloic/Collection/Shared/Audio.yml new file mode 100644 index 0000000..413cdd4 --- /dev/null +++ b/ricoloic/Collection/Shared/Audio.yml @@ -0,0 +1,209 @@ +############################################################################## +# Audio Language Collections # +# Created by Yozora, Bullmoose20, & Sohjiro # +# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL # +# https://kometa.wiki/en/latest/defaults/both/audio_language # +############################################################################## + +external_templates: + default: templates + template_variables: + collection_section: "090" + +dynamic_collections: + Audio Language: + type: audio_language + title_format: <> Audio + other_name: Other Audio + template: + - smart_filter + - shared + other_template: + - other_collection + - smart_filter + - shared + template_variables: + search_term: + default: audio_language + image: + default: audio_language/<> + translation_key: + default: audio_language + other: audio_language_other + dynamic: + default: true + url_poster: + default: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Shared/Audio/Poster/<>.png + include: + - ab # Abkhazian + - aa # Afar + - af # Afrikaans + - ak # Akan + - sq # Albanian + - am # Amharic + - ar # Arabic + - an # Aragonese + - hy # Armenian + - as # Assamese + - av # Avaric + - ae # Avestan + - ay # Aymara + - az # Azerbaijani + - bm # Bambara + - ba # Bashkir + - eu # Basque + - be # Belarusian + - bn # Bengali + - bi # Bislama + - bs # Bosnian + - br # Breton + - bg # Bulgarian + - my # Burmese + - ca # Catalan + - ch # Chamorro + - ce # Chechen + - ny # Chichewa + - zh # Chinese + - cv # Chuvash + - kw # Cornish + - co # Corsican + - cr # Cree + - hr # Croatian + - cs # Czech + - da # Danish + - dv # Divehi + - nl # Dutch + - dz # Dzongkha + - en # English + - eo # Esperanto + - et # Estonian + - ee # Ewe + - fo # Faroese + - fj # Fijian + - fil # Filipino + - fi # Finnish + - fr # French + - ff # Fulah + - gd # Gaelic + - gl # Galician + - lg # Ganda + - ka # Georgian + - de # German + - el # Greek + - gn # Guarani + - gu # Gujarati + - ht # Haitian + - ha # Hausa + - he # Hebrew + - hz # Herero + - hi # Hindi + - hu # Hungarian + - is # Icelandic + - io # Ido + - ig # Igbo + - id # Indonesian + - ia # Interlingua + - ie # Interlingue + - iu # Inuktitut + - ik # Inupiaq + - ga # Irish + - it # Italian + - ja # Japanese + - jv # Javanese + - kl # Kalaallisut + - kn # Kannada + - kr # Kanuri + - ks # Kashmiri + - kk # Kazakh + - ki # Kikuyu + - rw # Kinyarwanda + - ky # Kirghiz + - kv # Komi + - kg # Kongo + - ko # Korean + - kj # Kuanyama + - ku # Kurdish + - lo # Lao + - la # Latin + - lv # Latvian + - li # Limburgan + - ln # Lingala + - lt # Lithuanian + - lu # Luba-Katanga + - lb # Luxembourgish + - mk # Macedonian + - mg # Malagasy + - ms # Malay + - ml # Malayalam + - mt # Maltese + - gv # Manx + - mi # Maori + - mr # Marathi + - mh # Marshallese + - mn # Mongolian + - na # Nauru + - nv # Navajo + - ng # Ndonga + - ne # Nepali + - no # Norwegian + - oc # Occitan + - oj # Ojibwa + - or # Oriya + - om # Oromo + - os # Ossetian + - pi # Pali + - ps # Pashto + - fa # Persian + - pl # Polish + - pt # Portuguese + - pa # Punjabi + - qu # Quechua + - ro # Romanian + - rm # Romansh + - rom # Romany + - rn # Rundi + - ru # Russian + - sm # Samoan + - sg # Sango + - sa # Sanskrit + - sc # Sardinian + - sr # Serbian + - sn # Shona + - sd # Sindhi + - si # Sinhala + - sk # Slovak + - sl # Slovenian + - so # Somali + - su # Sundanese + - sw # Swahili + - ss # Swati + - sv # Swedish + - tl # Tagalog + - ty # Tahitian + - tai # Tai + - tg # Tajik + - ta # Tamil + - tt # Tatar + - te # Telugu + - th # Thai + - bo # Tibetan + - ti # Tigrinya + - to # Tonga + - ts # Tsonga + - tn # Tswana + - tr # Turkish + - tk # Turkmen + - tw # Twi + - uk # Ukrainian + - ur # Urdu + - uz # Uzbek + - ve # Venda + - vi # Vietnamese + - vo # Volapük + - wa # Walloon + - cy # Welsh + - wo # Wolof + - xh # Xhosa + - yi # Yiddish + - yo # Yoruba + - zu # Zulu \ No newline at end of file diff --git a/ricoloic/Collection/Shared/Resolution.yml b/ricoloic/Collection/Shared/Resolution.yml new file mode 100644 index 0000000..0784f67 --- /dev/null +++ b/ricoloic/Collection/Shared/Resolution.yml @@ -0,0 +1,52 @@ +templates: + Resolution: + optional: + - overlay_level + - use_<> + - use_<> + collection_level: <> + allowed_library_types: + - <>>> + - <>>> + url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Shared/Resolution/Poster/<>.png + +collections: + 4K: + template: + - name: Resolution + weight: 100 + opt1: 4k + plex_search: + any: + resolution.regex: '(?i)2160|4k' + sort_title: zzzzzz_a4k + + 1080P: + template: + - name: Resolution + weight: 70 + opt1: 1080p + plex_search: + any: + resolution.regex: '(?i)1080|2k' + sort_title: zzzzzz_b1080p + + 720P: + template: + - name: Resolution + weight: 40 + opt1: 720p + plex_search: + any: + resolution.regex: '(?i)720|hd' + sort_title: zzzzzz_c720p + + 480P: + template: + - name: Resolution + weight: 10 + opt1: 480p + plex_search: + any: + resolution.regex: '(?i)480|sd' + sort_title: zzzzzz_d480p diff --git a/ricoloic/Collection/Show/Chart.yml b/ricoloic/Collection/Show/Chart.yml index 5de2a13..c20a983 100644 --- a/ricoloic/Collection/Show/Chart.yml +++ b/ricoloic/Collection/Show/Chart.yml @@ -2,7 +2,7 @@ templates: Chart: collection_order: custom sync_mode: sync - sort_title: ++_<> + sort_title: " !++_<>" url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Show/Chart/Poster/<>.png collections: diff --git a/ricoloic/Collection/Show/Genre.yml b/ricoloic/Collection/Show/Genre.yml index 8af27b0..00788b2 100644 --- a/ricoloic/Collection/Show/Genre.yml +++ b/ricoloic/Collection/Show/Genre.yml @@ -4,7 +4,7 @@ templates: summary: <> default: exclude: Children, Anime - sort_title: +08<> + sort_title: " !+08<>" smart_filter: sort_by: release.desc validate: false diff --git a/ricoloic/Collection/Show/Resolution.yml b/ricoloic/Collection/Show/Resolution.yml deleted file mode 100644 index aa80037..0000000 --- a/ricoloic/Collection/Show/Resolution.yml +++ /dev/null @@ -1,172 +0,0 @@ -templates: - Resolution: - optional: - - overlay_level - - use_<> - - use_<> - collection_level: <> - allowed_library_types: - - <>>> - - <>>> - url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Show/Resolution/Poster/<>.png - NoResolution: - optional: - - overlay_level - - use_<> - - use_<> - default: - horizontal_offset: 15 - horizontal_align: left - vertical_offset: 15 - vertical_align: top - collection_level: <> - allowed_library_types: - - <>>> - - <>>> - -collections: - 4K-DV: - template: - - name: Resolution - weight: 120 - opt1: 4k - opt2: dv - plex_search: - all: - resolution.regex: '(?i)2160|4k' - filters: - has_dolby_vision: true - - 4K-HDR: - template: - - name: Resolution - weight: 110 - opt1: 4k - opt2: hdr - plex_search: - all: - resolution.regex: '(?i)2160|4k' - hdr: true - - 4K: - template: - - name: Resolution - weight: 100 - opt1: 4k - plex_search: - any: - resolution.regex: '(?i)2160|4k' - - 1080P-DV: - template: - - name: Resolution - weight: 90 - opt1: 1080p - opt2: dv - plex_search: - all: - resolution.regex: '(?i)1080|2k' - filters: - has_dolby_vision: true - - 1080P-HDR: - template: - - name: Resolution - weight: 80 - opt1: 1080p - opt2: hdr - plex_search: - all: - resolution.regex: '(?i)1080|2k' - hdr: true - - 1080P: - template: - - name: Resolution - weight: 70 - opt1: 1080p - plex_search: - any: - resolution.regex: '(?i)1080|2k' - - 720P-DV: - template: - - name: Resolution - weight: 60 - opt1: 720p - opt2: dv - plex_search: - all: - resolution.regex: '(?i)720|hd' - filters: - has_dolby_vision: true - - 720P-HDR: - template: - - name: Resolution - weight: 50 - opt1: 720p - opt2: hdr - plex_search: - all: - resolution.regex: '(?i)720|hd' - hdr: true - - 720P: - template: - - name: Resolution - weight: 40 - opt1: 720p - plex_search: - any: - resolution.regex: '(?i)720|hd' - - 480P-DV: - template: - - name: Resolution - weight: 30 - opt1: 480p - opt2: dv - plex_search: - all: - resolution.regex: '(?i)480|sd' - filters: - has_dolby_vision: true - - 480P-HDR: - template: - - name: Resolution - weight: 20 - opt1: 480p - opt2: hdr - plex_search: - all: - resolution.regex: '(?i)480|sd' - hdr: true - - 480P: - template: - - name: Resolution - weight: 10 - opt1: 480p - plex_search: - any: - resolution.regex: '(?i)480|sd' - - DV: - template: - - name: Resolution - weight: 5 - opt1: dv - plex_all: true - filters: - has_dolby_vision: true - - HDR: - template: - - name: Resolution - weight: 1 - opt1: hdr - plex_search: - all: - hdr: true \ No newline at end of file diff --git a/ricoloic/Collection/Show/Studio.yml b/ricoloic/Collection/Show/Studio.yml index 15cffa4..85eaac8 100644 --- a/ricoloic/Collection/Show/Studio.yml +++ b/ricoloic/Collection/Show/Studio.yml @@ -23,7 +23,7 @@ templates: - network tmdb_network: <> url_poster: https://theposterdb.com/api/assets/<> - sort_title: +++_<> + sort_title: " !+++_<>" collection_mode: hide sync_mode: sync diff --git a/ricoloic/config.yml.template b/ricoloic/config.yml.template index 103fc23..ee7d871 100644 --- a/ricoloic/config.yml.template +++ b/ricoloic/config.yml.template @@ -5,21 +5,24 @@ libraries: - file: config/Collection/Anime/Chart.yml - file: config/Collection/Anime/Genre.yml - file: config/Collection/Anime/Season.yml + - file: config/Collection/Shared/Audio.yml Movies: remove_overlays: true collection_files: - - file: config/Collection/Movie/Resolution.yml - file: config/Collection/Movie/Decade.yml - file: config/Collection/Movie/Genre.yml + - file: config/Collection/Shared/Audio.yml + - file: config/Collection/Shared/Resolution.yml TV Shows: remove_overlays: true collection_files: - - file: config/Collection/Show/Resolution.yml - file: config/Collection/Show/Studio.yml - file: config/Collection/Show/Genre.yml - file: config/Collection/Show/Chart.yml + - file: config/Collection/Shared/Audio.yml + - file: config/Collection/Shared/Resolution.yml settings: cache: true