From 872cf2b1725021dd1f84c8922f4dfdc413117c28 Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Thu, 13 Jan 2022 21:11:57 +0000 Subject: [PATCH 1/5] Create Basic Configurations.md --- yozora/wikitest/Basic Configurations.md | 70 +++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 yozora/wikitest/Basic Configurations.md diff --git a/yozora/wikitest/Basic Configurations.md b/yozora/wikitest/Basic Configurations.md new file mode 100644 index 0000000..80fe2a2 --- /dev/null +++ b/yozora/wikitest/Basic Configurations.md @@ -0,0 +1,70 @@ +Below are example starter configurations to help you get started with Plex Meta Manager. + +For the purpose of this demonstration, the Plex library being used is set up as follows: +![LibraryOverview](https://i.imgur.com/lsNIUMX.png) + +## config.yml + +libraries: # Library mappings must have a colon (:) placed after them + Audiobooks: + metadata_path: + - file: config/Audobooks.yml # This represents a file on the host filesystem + - git: meisnate12/MovieCharts # This represents a file on the GitHub repository + TV Shows: + metadata_path: + - file: config/TV Shows.yml # You can map multiple file/git files + - file: config/TV Charts.yml + - file: config/TV Networks.yml + - git: meisnate12/ShowCharts + TV Shows - Animé: + metadata_path: # No files will skip the connection to this library + Music: + metadata_path: + - file: config/Music.yml +playlist_files: # playlist_files should be at the same indentation as libraries + - file: config/playlists.yml + - git: meisnate12/Playlists + +In the above example, `Movies`, `TV Shows`, `Anime` and `Music` are named to match my libraries within Plex. This is essential to allow Plex Meta Manager to know which library it is connecing to. + +where you see any .yml file underneath a library, that points to either a git location within the [Plex Meta Manager Config Repo](https://github.com/meisnate12/Plex-Meta-Manager-Configs) or a file within your host's filesystem. + +For playlists, you should use the `playlist_files` operator, and it should always be at the same indentation as your `libraries` operator. + + +## Basic Configurations + +The first lesson to learn is that there is often more than one way to achieve the same end results for basic collections. + +The following three collections all use different [Plex Builders](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Plex-Builders) to create a collection of Movies released in the 1990's: + +```yaml +collections: + 90s Movies: + plex_all: true + filters: + decade: 1990 + +``` +```yaml +collections: + 90s Movies: + plex_search: + any: + decade: 1990 +``` +```yaml +collections: + 90s Movies: + smart_filter: + all: + year.gt: 1989 + year.lt: 2000 + sort_by: audience_rating.desc + limit: 20 +``` + +You should see that the first collection uses the [Plex All](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Plex-Builders#plex-all) builder which finds every item in the Plex library and then applies the `decade: 1999` filter, whilst the second collection uses the [Plex Search](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Plex-Builders#plex-search) builder which uses Plex's Advance Filters to find all items based on the search criteria. + +The third collection differs from the first two in a couple ways. Firstly, we have created a Smart Collection. This means that when future films are added to Plex which meets the criteria, they will automatically be added to the collection. In the first two examples, Plex Meta Manager would have to be run again to pick up any new movies which meet the criteria. Additionaly, we have added a `limit` to control how many items the collection has, and we have also added a `sort_by` which will re-arrange the collection to sort the items by audience rating, starting with the highest rated. + From 8c26648db1fed1805d6cf1f9280e5fbc6e243aca Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Thu, 13 Jan 2022 21:13:23 +0000 Subject: [PATCH 2/5] Update Basic Configurations.md --- yozora/wikitest/Basic Configurations.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/yozora/wikitest/Basic Configurations.md b/yozora/wikitest/Basic Configurations.md index 80fe2a2..2574c1b 100644 --- a/yozora/wikitest/Basic Configurations.md +++ b/yozora/wikitest/Basic Configurations.md @@ -1,10 +1,11 @@ Below are example starter configurations to help you get started with Plex Meta Manager. For the purpose of this demonstration, the Plex library being used is set up as follows: + ![LibraryOverview](https://i.imgur.com/lsNIUMX.png) ## config.yml - +``` libraries: # Library mappings must have a colon (:) placed after them Audiobooks: metadata_path: @@ -24,7 +25,7 @@ libraries: # Library mappings must have a c playlist_files: # playlist_files should be at the same indentation as libraries - file: config/playlists.yml - git: meisnate12/Playlists - +``` In the above example, `Movies`, `TV Shows`, `Anime` and `Music` are named to match my libraries within Plex. This is essential to allow Plex Meta Manager to know which library it is connecing to. where you see any .yml file underneath a library, that points to either a git location within the [Plex Meta Manager Config Repo](https://github.com/meisnate12/Plex-Meta-Manager-Configs) or a file within your host's filesystem. From b78b24d8788db4d8a622f79866b653b0c3eccc8b Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Thu, 13 Jan 2022 21:16:58 +0000 Subject: [PATCH 3/5] Update Basic Configurations.md --- yozora/wikitest/Basic Configurations.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yozora/wikitest/Basic Configurations.md b/yozora/wikitest/Basic Configurations.md index 2574c1b..8a39532 100644 --- a/yozora/wikitest/Basic Configurations.md +++ b/yozora/wikitest/Basic Configurations.md @@ -6,16 +6,16 @@ For the purpose of this demonstration, the Plex library being used is set up as ## config.yml ``` -libraries: # Library mappings must have a colon (:) placed after them - Audiobooks: +libraries: + Movies: metadata_path: - - file: config/Audobooks.yml # This represents a file on the host filesystem + - file: config/Movies.yml # This represents a file on the host filesystem - git: meisnate12/MovieCharts # This represents a file on the GitHub repository TV Shows: metadata_path: - file: config/TV Shows.yml # You can map multiple file/git files - file: config/TV Charts.yml - - file: config/TV Networks.yml + - file: config/TV Networks.yml - git: meisnate12/ShowCharts TV Shows - Animé: metadata_path: # No files will skip the connection to this library @@ -23,7 +23,7 @@ libraries: # Library mappings must have a c metadata_path: - file: config/Music.yml playlist_files: # playlist_files should be at the same indentation as libraries - - file: config/playlists.yml + - file: config/playlists.yml - git: meisnate12/Playlists ``` In the above example, `Movies`, `TV Shows`, `Anime` and `Music` are named to match my libraries within Plex. This is essential to allow Plex Meta Manager to know which library it is connecing to. From 2350f16ef8c5b9a10b667a1fb786e13cee8814bf Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Thu, 20 Jan 2022 10:28:07 +0000 Subject: [PATCH 4/5] Add PBS to Networks.yml Add PBS to Networks.yml --- yozora/configs/tv/networks.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yozora/configs/tv/networks.yml b/yozora/configs/tv/networks.yml index f42902c..d41528f 100644 --- a/yozora/configs/tv/networks.yml +++ b/yozora/configs/tv/networks.yml @@ -136,6 +136,10 @@ collections: visible_home: true visible_shared: true + PBS: + template: { name: network, network: "PBS, PBS Kids" } + url_poster: https://imgur.com/a/3yBsyeh + Prime Video Shows: template: { name: network, network: "Amazon, Amazon Prime Video, Prime Video" } url_poster: https://i.imgur.com/5gd7Lyw.jpg From bf41a081395a78c44f87123f11ff651ff69d286d Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Thu, 20 Jan 2022 10:29:04 +0000 Subject: [PATCH 5/5] Delete legacy file Delete legacy file --- yozora/wikitest/Basic Configurations.md | 71 ------------------------- 1 file changed, 71 deletions(-) delete mode 100644 yozora/wikitest/Basic Configurations.md diff --git a/yozora/wikitest/Basic Configurations.md b/yozora/wikitest/Basic Configurations.md deleted file mode 100644 index 8a39532..0000000 --- a/yozora/wikitest/Basic Configurations.md +++ /dev/null @@ -1,71 +0,0 @@ -Below are example starter configurations to help you get started with Plex Meta Manager. - -For the purpose of this demonstration, the Plex library being used is set up as follows: - -![LibraryOverview](https://i.imgur.com/lsNIUMX.png) - -## config.yml -``` -libraries: - Movies: - metadata_path: - - file: config/Movies.yml # This represents a file on the host filesystem - - git: meisnate12/MovieCharts # This represents a file on the GitHub repository - TV Shows: - metadata_path: - - file: config/TV Shows.yml # You can map multiple file/git files - - file: config/TV Charts.yml - - file: config/TV Networks.yml - - git: meisnate12/ShowCharts - TV Shows - Animé: - metadata_path: # No files will skip the connection to this library - Music: - metadata_path: - - file: config/Music.yml -playlist_files: # playlist_files should be at the same indentation as libraries - - file: config/playlists.yml - - git: meisnate12/Playlists -``` -In the above example, `Movies`, `TV Shows`, `Anime` and `Music` are named to match my libraries within Plex. This is essential to allow Plex Meta Manager to know which library it is connecing to. - -where you see any .yml file underneath a library, that points to either a git location within the [Plex Meta Manager Config Repo](https://github.com/meisnate12/Plex-Meta-Manager-Configs) or a file within your host's filesystem. - -For playlists, you should use the `playlist_files` operator, and it should always be at the same indentation as your `libraries` operator. - - -## Basic Configurations - -The first lesson to learn is that there is often more than one way to achieve the same end results for basic collections. - -The following three collections all use different [Plex Builders](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Plex-Builders) to create a collection of Movies released in the 1990's: - -```yaml -collections: - 90s Movies: - plex_all: true - filters: - decade: 1990 - -``` -```yaml -collections: - 90s Movies: - plex_search: - any: - decade: 1990 -``` -```yaml -collections: - 90s Movies: - smart_filter: - all: - year.gt: 1989 - year.lt: 2000 - sort_by: audience_rating.desc - limit: 20 -``` - -You should see that the first collection uses the [Plex All](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Plex-Builders#plex-all) builder which finds every item in the Plex library and then applies the `decade: 1999` filter, whilst the second collection uses the [Plex Search](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Plex-Builders#plex-search) builder which uses Plex's Advance Filters to find all items based on the search criteria. - -The third collection differs from the first two in a couple ways. Firstly, we have created a Smart Collection. This means that when future films are added to Plex which meets the criteria, they will automatically be added to the collection. In the first two examples, Plex Meta Manager would have to be run again to pick up any new movies which meet the criteria. Additionaly, we have added a `limit` to control how many items the collection has, and we have also added a `sort_by` which will re-arrange the collection to sort the items by audience rating, starting with the highest rated. -