From 782f681f467222c41fbbcf3e8c6c7c5089d20fd3 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 21 Apr 2023 19:24:01 -0400 Subject: [PATCH] [29] add sort_title and sort_prefix to separators --- VERSION | 2 +- defaults/templates.yml | 4 +++- docs/defaults/separators.md | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 0f65f946..df4a349b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.0-develop28 +1.19.0-develop29 diff --git a/defaults/templates.yml b/defaults/templates.yml index 36ef8b16..0452106b 100644 --- a/defaults/templates.yml +++ b/defaults/templates.yml @@ -5,6 +5,8 @@ templates: sep_style: orig collection_section: "00" url_poster_<>: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/separators/<>/<>.jpg + sort_prefix: "!" + sort_title: <><>_!<> optional: - use_separator - collection_mode @@ -27,7 +29,7 @@ templates: value: false run_definition: <<use_separator>> collection_mode: <<collection_mode>> - sort_title: "!<<collection_section>>_!<<title>>" + sort_title: <<sort_title>> tmdb_movie: <<placeholder_tmdb_movie>> tvdb_show: <<placeholder_tvdb_show>> imdb_id: <<placeholder_imdb_id>> diff --git a/docs/defaults/separators.md b/docs/defaults/separators.md index ef0b3642..e2129032 100644 --- a/docs/defaults/separators.md +++ b/docs/defaults/separators.md @@ -47,6 +47,8 @@ Note that the `template_variables:` section only needs to be used if you do want |:-------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `use_separator` | **Description:** Turn the [Separator Collection](#use-separators) off.<br>**Values:** `false` to turn of the collection | | `sep_style` | **Description:** Choose the [Separator Style](#separator-styles).<br>**Default:** `orig`<br>**Values:** `orig`, `red`, `blue`, `green`, `gray`, `purple`, or `stb` | +| `sort_prefix` | **Description:** Changes the prefix of the sort title.<br>**Default:** `!`<br>**Values:** Any String | +| `sort_title` | **Description:** Changes the sort title of all collections.<br>**Default:** `<<sort_prefix>><<collection_section>>_!<<title>>`<br>**Values:** Any String | | `placeholder_tmdb_movie` | **Description:** Add a placeholder Movie to the Separator.<br>**Values:** TMDb Movie ID | | `placeholder_tvdb_show` | **Description:** Add a placeholder Show to the Separator.<br>**Values:** TVDb Show ID | | `placeholder_imdb_id` | **Description:** Add a placeholder Movie/Show to the Separator.<br>**Values:** IMDb ID |