From 0db841d5fea9c3d826cef7284c2016dfe0b8b95a Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 27 Apr 2023 09:55:47 -0400 Subject: [PATCH] [38] update CHANGELOG --- CHANGELOG | 78 ++++++--------------------- VERSION | 2 +- docs/defaults/collection_variables.md | 8 +++ requirements.txt | 2 +- 4 files changed, 25 insertions(+), 65 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 616d6ae6..425be542 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,73 +1,25 @@ -# New Translation Portal - -New Translation Portal located at [translations.metamanager.wiki](https://translations.metamanager.wiki/projects/plex-meta-manager/defaults/). If anyone is willing to help fill in what we have or add your own language feel free to sign up. If you have questions either contact us on Discord or in the Discussions on GitHub. - -# New PMM Companion Scripts - -[PMM Overlay Reset](https://metamanager.wiki/en/latest/home/scripts/overlay-reset.html): Script to Hard Reset PMM Overlays back to Default. -[Plex Image Cleanup](https://metamanager.wiki/en/latest/home/scripts/image-cleanup.html): Script to clean up Old Uploaded Images in Plex. # Requirements Update (requirements will need to be reinstalled) -Updated pillow requirement to 9.5.0 -Updated plexapi requirement to 4.13.4 -New requirement GitPython version 3.1.31 +Updated schedule requirement to 1.2.0 +Updated tmdbapis requirement to 1.2.0 +Updated requests requirement to 2.29.0 # New Features -Added `episode_year` as a dynamic collection option. -Added `mass_studio_update` [library operation](https://metamanager.wiki/en/latest/config/operations.html#mass-studio-update). -Changes Environment Variable/Run Argument list separator from `,` to `|`. -Added `PMM_LOG_REQUESTS`/`--log-requests` Environment Variable/Run Argument which will log every single HTTP request in the log. -Added EXIF Tags to Overlayed Images to be able to determine if they have an overlay or not. -Added `anidb`, `anidb_3_0`, `anidb_2_5`, `anidb_2_0`, `anidb_1_5`, `anidb_1_0`, `anidb_0_5` options to the [`mass_genre_update` Library Operation](https://metamanager.wiki/en/latest/config/operations.html#mass-genre-update). -Added `ignore_cache` to [`radarr`](https://metamanager.wiki/en/latest/config/radarr.html) and [`sonarr`](https://metamanager.wiki/en/latest/config/sonarr.html) Settings and `radarr_ignore_cache` and `sonarr_ignore_cache` to [Radarr/Sonarr Definition Settings](https://metamanager.wiki/en/latest/metadata/details/arr.html). -Closes #1286 Updates Synology Walkthrough with DSM7 images. -Closes #1159 Adds support for official trakt lists. -Closes #1251 When resetting Overlays Seasons where theres no poster will use the show poster. -Templates can now be used with metadata updates. -`allowed_library_types` Definition Setting has been changed to `run_definition` the old attribute will still work in the same way. -Added `mapping_id`, `run_definition`, `update_seasons`, and `update_episodes` to Metadata definitions. -Added a [Ratings Explained](https://metamanager.wiki/en/latest/home/guides/ratings.html) page to the Wiki to help explain how PMM interacts with the various Ratings. -Add more options to the [`mass_imdb_parental_labels` Library Operation](https://metamanager.wiki/en/latest/config/operations.html#mass-imdb-parental-labels). -Added `imdb_keyword` as a [Tag Filter](https://metamanager.wiki/en/latest/metadata/filters.html#tag-filters). -Added `has_edition` as a [Boolean Filter](https://metamanager.wiki/en/latest/metadata/filters.html#boolean-filters). -Added `has_stinger` and `stinger_rating` as [Filters](https://metamanager.wiki/en/latest/metadata/filters.html) based on http://www.mediastinger.com -When editing episode metadata the key can now be either episode number, episode title, or episodeoriginally released date. -The Collectionless builder now can work with other builders. -Added `country` as an option for Shows when using the builders `plex_search` and `smart_filter`. -Added [Config Secrets](https://metamanager.wiki/en/latest/home/environmental.html#config-secrets) and the ability to load Environment Variables using a `.env` File inside your config folder. +Added `tmdb_vote_average` as a [Filter](https://metamanager.wiki/en/nightly/metadata/filters.html#id7). thanks @tenshiak +Added `tmdb_birthday` [Detail](https://metamanager.wiki/en/nightly/metadata/details/metadata.html) which controls if a collection is visible based on a `tmdb_person`'s birthday. # New Defaults Features -Removed Translations from the defaults directory and in to their own [repo](https://github.com/meisnate12/PMM-Translations) which is managed at [translations.metamanager.wiki](https://translations.metamanager.wiki/projects/plex-meta-manager/defaults/). -Added `minimum_rating`, `fresh_rating`, and `maximum_rating` as template variable options to the [Ratings Overlays](https://metamanager.wiki/en/latest/defaults/overlays/ratings.html) to control which ratings get displayed. -Added the ability to update Overlay Defaults Positioning with just setting the alignment variables. -Added [Based On...](https://metamanager.wiki/en/latest/defaults/both/based.html) Collection Default. -Added Signature Style, DIIIVOY Style, and DIIIVOY Color Style to [`actor`](https://metamanager.wiki/en/latest/defaults/both/actor.html), [`directors`](https://metamanager.wiki/en/latest/defaults/movie/director.html), [`producers`](https://metamanager.wiki/en/latest/defaults/movie/producer.html), and [`writers`](https://metamanager.wiki/en/latest/defaults/movie/writer.html). -Added new editions to the [editions Overlay File](https://metamanager.wiki/en/latest/defaults/overlays/resolution.html). -Added `delete_playlist` and `delete_playlist_<>` as template variable options to the [Playlist Default](https://metamanager.wiki/en/latest/defaults/playlist.html). -Added `region` as a template variable options to the [`streaming` Overlay](https://metamanager.wiki/en/latest/defaults/overlays/streaming.html) and [`streaming` Collection](https://metamanager.wiki/en/latest/defaults/both/streaming.html) to allow these lists to show items in that region. -Added AppleTV to te [FlixPatrol Default](https://metamanager.wiki/en/latest/defaults/overlays/flixpatrol.html). -Added `radarr_search` and `sonarr_search` as template variable options to all Collection Defaults. -Updated `network` and `franchise` defaults. -Added `include` as a template variable options to the people collections ([`actor`](https://metamanager.wiki/en/latest/defaults/both/actor.html), [`director`](https://metamanager.wiki/en/latest/defaults/movie/director.html), [`producer`](https://metamanager.wiki/en/latest/defaults/movie/producer.html), [`writer`](https://metamanager.wiki/en/latest/defaults/movie/writer.html)) to specifically include the list of actors. +New Default Translations of Danish, Dutch, Italian, Norwegian Bokmål, Portuguese (Brazil), and Spanish. +New [Network](https://metamanager.wiki/en/nightly/defaults/overlays/network.html) Default Overlay. +New [Content Rating US]() and [Content Rating UK]() Default Overlay. +Add `file_poster`, `file_poster_<>`, `url_background`, `url_background_<>`, `file_background`, `file_background_<>`, `sort_prefix`, `sort_title`, and `name_mapping` as [Collection Variables](https://metamanager.wiki/en/nightly/defaults/collection_variables.html). +Added new Separator Color Styles. # Bug Fixes -Fixes Bug with `--time` that caused the times not to display correctly. -Fixes `mal_search` search bug. -Fixes #1277 corrects bug setting TMDb region. -Fixes a Bug where missing items items wouldn't be sent to radarr if no items were found in the library. -Fixes a Bug with template conditionals causing them to sometimes use the wrong result. -Fixes #1285 Wiki error. -Fixes a Bug with the `mass_poster_update` and `mass_background_update` Library Operations where they would sometimes throw a 406 Error. -Fixes a Bug with the `mass_poster_update` Library Operation where it would also update backgrounds in addition to posters. -Fixes multiple unnecessary items loads from plex. -Fixes a Bug with using year filters with no modifier. -Fixes a Bug where the `dimensional_asset_rename` Setting would rename title cards and season posters to show posters. -Fixes [`trakt_userlist` Builder](https://metamanager.wiki/en/latest/metadata/builders/trakt.html#trakt-userlist) where option `recommended` should have been `recommendations`. -Fixes overlay remove/reset operations. -Closes #1325 Fixes a Bug where `tmdb_vote_count` would be rejected as a filter. -Closes #1189 Fixes a Bug in the Resolution Default where the position would be completely off when changed. -Closes #1336 Fixed "Mass Originally Available Update" attribute name within the wiki. -Closes #1327 Fixed an issue where searching for item assets could take longer than expected. -Closes #1346 Fixed an issue where using `PMM_TIME` with multiple times could ignore all but the last specified time. +Fixes #1379 Fixes a Docstring. +Fixes bug where TMDb Filters using a modifier were ignored. +Fixes bug with `mal_search` when using the `sfw` attribute +Fixes bug where sorting a collection would fail if the collection name had a `,` in it. +Fixes run_end webhooks. Various other Minor Fixes \ No newline at end of file diff --git a/VERSION b/VERSION index f5d6d0c6..1eaf5cba 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.0-develop37 +1.19.0-develop38 diff --git a/docs/defaults/collection_variables.md b/docs/defaults/collection_variables.md index 495859d7..b54452f6 100644 --- a/docs/defaults/collection_variables.md +++ b/docs/defaults/collection_variables.md @@ -15,13 +15,21 @@ Below are the available variables which can be used to customize the file. | `collection_section` | **Description:** Changes the sort order of the collection sections against other default collection sections.
**Values:** Any number | | `sort_prefix` | **Description:** Changes the prefix of the sort title.
**Default:** `!`
**Values:** Any String | | `sort_title` | **Description:** Changes the sort title of all collections.
**Default:** `<><><
><>>><>`<br>**Values:** Any String                                                                                                                                                                                                                            |
+| `name_mapping`                           | **Description:** Changes the `name_mapping` of all collections.<br>**Default:** `<<title>>`<br>**Values:** Any String with `<<key_name>>` in it.                                                                                                                                                                                                                                                          |
 | `order_<<key>>`<sup>1</sup>              | **Description:** Controls the sort order of the collections in their collection section.<br>**Values:** Any number                                                                                                                                                                                                                                                                                        |
 | `collection_mode`                        | **Description:** Controls the collection mode of all collections in a Defaults file.<br>**Values:**<table class="clearTable"><tr><td>`default`</td><td>Library default</td></tr><tr><td>`hide`</td><td>Hide Collection</td></tr><tr><td>`hide_items`</td><td>Hide Items in this Collection</td></tr><tr><td>`show_items`</td><td>Show this Collection and its Items</td></tr></table>                     |
 | `ignore_ids`                             | **Description:** Set a list or comma-separated string of TMDb/TVDb IDs to ignore in all collections.<br>**Values:** List or comma-separated string of TMDb/TVDb IDs                                                                                                                                                                                                                                       |
 | `ignore_imdb_ids`                        | **Description:** Set a list or comma-separated string of IMDb IDs to ignore in all collections.<br>**Values:** List or comma-separated string of IMDb IDs                                                                                                                                                                                                                                                 |
 | `minimum_items`                          | **Description:** Set the number of minimum items for a collection to be created for all collections.<br>**Values:** Any Number greater then 0                                                                                                                                                                                                                                                             |
 | `minimum_items_<<key>>`<sup>1</sup>      | **Description:** Set the number of minimum items for a collection to be created for the specified key's collection.<br>**Values:** Any Number greater then 0                                                                                                                                                                                                                                              |
+| `url_poster`                             | **Description:** Changes the poster url for all collections.<br>**Values:** URL directly to the Image                                                                                                                                                                                                                                                                                                     |
 | `url_poster_<<key>>`<sup>1</sup>         | **Description:** Changes the poster url of the specified key's collection.<br>**Values:** URL directly to the Image                                                                                                                                                                                                                                                                                       |
+| `file_poster`                            | **Description:** Sets the poster filepath for all collections.<br>**Values:** Filepath directly to the Image                                                                                                                                                                                                                                                                                              |
+| `file_poster_<<key>>`<sup>1</sup>        | **Description:** Sets the poster filepath of the specified key's collection.<br>**Values:** Filepath directly to the Image                                                                                                                                                                                                                                                                                |
+| `url_background`                         | **Description:** Sets the background url for all collections.<br>**Values:** URL directly to the Image                                                                                                                                                                                                                                                                                                    |
+| `url_background__<<key>>`<sup>1</sup>    | **Description:** Sets the background url of the specified key's collection.<br>**Values:** URL directly to the Image                                                                                                                                                                                                                                                                                      |
+| `file_background`                        | **Description:** Sets the background filepath for all collections.<br>**Values:** Filepath directly to the Image                                                                                                                                                                                                                                                                                          |
+| `file_background__<<key>>`<sup>1</sup>   | **Description:** Sets the background filepath of the specified key's collection.<br>**Values:** Filepath directly to the Image                                                                                                                                                                                                                                                                            |
 | `visible_library`                        | **Description:** Controls visible on Library Recommended Tab for all collections in a Defaults file. (Only works with Plex Pass)<br>**Values:**<table class="clearTable"><tr><td>`true`</td><td>Visible</td></tr><tr><td>`false`</td><td>Not Visible</td></tr><tr><td>[Any `schedule` Option](../metadata/details/schedule)</td><td>Visible When Scheduled</td></tr></table>                              |
 | `visible_library_<<key>>`<sup>1</sup>    | **Description:** Controls visible on Library Recommended Tab of the specified key's collection. (Only works with Plex Pass)<br>**Default:** `visible_library`<br>**Values:**<table class="clearTable"><tr><td>`true`</td><td>Visible</td></tr><tr><td>`false`</td><td>Not Visible</td></tr><tr><td>[Any `schedule` Option](../metadata/details/schedule)</td><td>Visible When Scheduled</td></tr></table> |
 | `visible_home`                           | **Description:** Controls visible on Home Tab for all collections in a Defaults file. (Only works with Plex Pass)<br>**Values:**<table class="clearTable"><tr><td>`true`</td><td>Visible</td></tr><tr><td>`false`</td><td>Not Visible</td></tr><tr><td>[Any `schedule` Option](../metadata/details/schedule)</td><td>Visible When Scheduled</td></tr></table>                                             |
diff --git a/requirements.txt b/requirements.txt
index b12477f2..cce0e65b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,7 +7,7 @@ pillow==9.5.0
 PlexAPI==4.13.4
 psutil==5.9.5
 python-dotenv==1.0.0
-requests==2.28.2
+requests==2.29.0
 retrying==1.3.4
 ruamel.yaml==0.17.21
 schedule==1.2.0