From bdbb41efcddb605dd7d996326f7124a05ddbe3f9 Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Fri, 20 Oct 2023 16:02:00 -0600 Subject: [PATCH] - Fix missing config file paths - Add decade collections to shows --- plex/pmm/collections/countries/movies.yml | 2 +- plex/pmm/collections/countries/shows.yml | 10 ++++++ plex/pmm/collections/decades/movies.yml | 2 +- plex/pmm/collections/decades/shows.yml | 38 +++++++++++++++++++++++ plex/pmm/collections/genres/movies.yml | 2 +- plex/pmm/collections/holidays/movies.yml | 2 +- plex/pmm/collections/networks/movies.yml | 5 +++ plex/pmm/collections/years/movies.yml | 2 +- 8 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 plex/pmm/collections/decades/shows.yml create mode 100644 plex/pmm/collections/networks/movies.yml diff --git a/plex/pmm/collections/countries/movies.yml b/plex/pmm/collections/countries/movies.yml index 176702e..4fe3bb9 100644 --- a/plex/pmm/collections/countries/movies.yml +++ b/plex/pmm/collections/countries/movies.yml @@ -6,7 +6,7 @@ dynamic_collections: ## Use DC as suffix to avoid name conflicts with static collections ## These get generated in the order they are listed here, so put the more intensive ones at the bottom - Per-Country DC: # mapping name does not matter just needs to be unique + Per-Country DC Movies: # mapping name does not matter just needs to be unique type: country title_format: <> template: diff --git a/plex/pmm/collections/countries/shows.yml b/plex/pmm/collections/countries/shows.yml index d73eb8b..67250af 100644 --- a/plex/pmm/collections/countries/shows.yml +++ b/plex/pmm/collections/countries/shows.yml @@ -1,3 +1,13 @@ external_templates: - repo: templates/collections - repo: templates/dynamic_collections + +dynamic_collections: + ## Use DC as suffix to avoid name conflicts with static collections + ## These get generated in the order they are listed here, so put the more intensive ones at the bottom + + Per-Country DC Shows: # mapping name does not matter just needs to be unique + type: country + title_format: <> + template: + - Per_Country diff --git a/plex/pmm/collections/decades/movies.yml b/plex/pmm/collections/decades/movies.yml index f3bffda..e5b12a2 100644 --- a/plex/pmm/collections/decades/movies.yml +++ b/plex/pmm/collections/decades/movies.yml @@ -6,7 +6,7 @@ dynamic_collections: ## Use DC as suffix to avoid name conflicts with static collections ## These get generated in the order they are listed here, so put the more intensive ones at the bottom - Best of Decade DC: # mapping name does not matter just needs to be unique + Best of Decade DC Movies: # mapping name does not matter just needs to be unique type: custom data: twenties: 1920 diff --git a/plex/pmm/collections/decades/shows.yml b/plex/pmm/collections/decades/shows.yml new file mode 100644 index 0000000..f3bffda --- /dev/null +++ b/plex/pmm/collections/decades/shows.yml @@ -0,0 +1,38 @@ +external_templates: + - repo: templates/collections + - repo: templates/dynamic_collections + +dynamic_collections: + ## Use DC as suffix to avoid name conflicts with static collections + ## These get generated in the order they are listed here, so put the more intensive ones at the bottom + + Best of Decade DC: # mapping name does not matter just needs to be unique + type: custom + data: + twenties: 1920 + thirties: 1930 + forties: 1940 + fifties: 1950 + sixties: 1960 + seventies: 1970 + eighties: 1980 + nineties: 1990 + two_thousands: 2000 + twenty_tens: 2010 + twenty_twenties: 2020 + template_variables: + ending: + twenties: 1929 + thirties: 1939 + forties: 1949 + fifties: 1959 + sixties: 1969 + seventies: 1979 + eighties: 1989 + nineties: 1999 + two_thousands: 2009 + twenty_tens: 2019 + twenty_twenties: 2029 + title_format: Best of the <>s + template: + - Per_Decade diff --git a/plex/pmm/collections/genres/movies.yml b/plex/pmm/collections/genres/movies.yml index 331d4f5..f49497c 100644 --- a/plex/pmm/collections/genres/movies.yml +++ b/plex/pmm/collections/genres/movies.yml @@ -78,7 +78,7 @@ dynamic_collections: ## Use DC as suffix to avoid name conflicts with static collections ## These get generated in the order they are listed here, so put the more intensive ones at the bottom - Per-Genre DC: # mapping name does not matter just needs to be unique + Per-Genre DC Movies: # mapping name does not matter just needs to be unique type: genre exclude: - Talk Show diff --git a/plex/pmm/collections/holidays/movies.yml b/plex/pmm/collections/holidays/movies.yml index 61538b5..6896721 100644 --- a/plex/pmm/collections/holidays/movies.yml +++ b/plex/pmm/collections/holidays/movies.yml @@ -6,7 +6,7 @@ dynamic_collections: ## Use DC as suffix to avoid name conflicts with static collections ## These get generated in the order they are listed here, so put the more intensive ones at the bottom - Per-Holiday DC: # mapping name does not matter just needs to be unique + Per-Holiday DC Movies: # mapping name does not matter just needs to be unique type: custom data: years: New Year's Day diff --git a/plex/pmm/collections/networks/movies.yml b/plex/pmm/collections/networks/movies.yml new file mode 100644 index 0000000..50b4ff0 --- /dev/null +++ b/plex/pmm/collections/networks/movies.yml @@ -0,0 +1,5 @@ +external_templates: + - repo: templates/collections + - repo: templates/dynamic_collections + +collections: diff --git a/plex/pmm/collections/years/movies.yml b/plex/pmm/collections/years/movies.yml index 79c6aa5..cf6965e 100644 --- a/plex/pmm/collections/years/movies.yml +++ b/plex/pmm/collections/years/movies.yml @@ -23,7 +23,7 @@ dynamic_collections: ## Use DC as suffix to avoid name conflicts with static collections ## These get generated in the order they are listed here, so put the more intensive ones at the bottom - Best of Year DC: # mapping name does not matter just needs to be unique + Best of Year DC Movies: # mapping name does not matter just needs to be unique type: number sync: true data: