From c7ad9df6a5e597cd30db32efc60c324d6ffcf6fc Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 27 Jun 2022 14:33:54 -0400 Subject: [PATCH] [65] flip .rated --- VERSION | 2 +- docs/metadata/overlay.md | 2 +- modules/builder.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index ff795259..01a48f78 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.0-develop64 +1.17.0-develop65 diff --git a/docs/metadata/overlay.md b/docs/metadata/overlay.md index 65de3a7b..aeb2797a 100644 --- a/docs/metadata/overlay.md +++ b/docs/metadata/overlay.md @@ -69,7 +69,7 @@ There are many attributes available when using overlays to edit how they work. | Attribute | Description | Required | |:---------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------:| -| `name` | Name of the overlay. Each overlay name should be unique. | ✅ | +| `name` | Name of the overlay. | ✅ | | `file` | Local location of the Overlay Image. | ❌ | | `url` | URL of Overlay Image Online. | ❌ | | `git` | Location in the [Configs Repo](https://github.com/meisnate12/Plex-Meta-Manager-Configs) of the Overlay Image. | ❌ | diff --git a/modules/builder.py b/modules/builder.py index 7de6c40b..5002f9f8 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1803,7 +1803,7 @@ class CollectionBuilder: elif attr == "duration" and modifier in [".gt", ".gte", ".lt", ".lte"]: results, display_add = build_url_arg(validation * 60000) elif modifier == ".rated": - results, display_add = build_url_arg(-1, mod="%3D" if validation else "!%3D", arg_s="Rated", mod_s="is" if validation else "is not") + results, display_add = build_url_arg(-1, mod="!" if validation else "", arg_s="Rated", mod_s="is" if validation else "is not") elif attr in plex.boolean_attributes: bool_mod = "" if validation else "!" bool_arg = "true" if validation else "false"