From d27d466b3a22dea9e6eabe6db0314a9666e800b1 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 2 Apr 2024 15:25:41 -0400 Subject: [PATCH] [55] allow backdrop overlays when using align --- README.md | 3 +-- VERSION | 2 +- docs/files/overlays.md | 10 +++++----- modules/overlay.py | 4 ++++ 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9f5f290f..218666d0 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,7 @@ Transform your media library with Plex Meta Manager and discover its full potent The below YouTube video has been created by one of our community members to showcase some of the things that Plex Meta Manager can do for you. - - +[![Plex Meta Manager](https://img.youtube.com/vi/nTfCUtKWTYI/0.jpg)](https://www.youtube.com/watch?v=nTfCUtKWTYI "Plex Meta Manager") ## Example Plex Meta Manager Libraries diff --git a/VERSION b/VERSION index 5df8cbdf..d0c5e03a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.20.0-develop54 +1.20.0-develop55 diff --git a/docs/files/overlays.md b/docs/files/overlays.md index 9cf6faf6..4fda5744 100644 --- a/docs/files/overlays.md +++ b/docs/files/overlays.md @@ -271,7 +271,7 @@ overlays: name: backdrop back_color: "#00000099" back_height: 100 - vertical_position: top + vertical_align: top plex_all: true ``` @@ -298,7 +298,7 @@ overlays: name: backdrop back_color: "#00000099" back_height: 100 - vertical_position: top + vertical_align: top plex_all: true mytext: overlay: @@ -413,7 +413,7 @@ overlays: name: backdrop back_color: "#00000099" back_height: 100 - vertical_position: top + vertical_align: top plex_all: true mytext: overlay: @@ -444,7 +444,7 @@ overlays: name: backdrop back_color: "#00000099" back_height: 100 - vertical_position: top + vertical_align: top plex_all: true mytext: overlay: @@ -469,7 +469,7 @@ overlays: name: backdrop back_color: "#00000099" back_height: 100 - vertical_position: top + vertical_align: top plex_all: true season_episode_info: builder_level: episode diff --git a/modules/overlay.py b/modules/overlay.py index 5342bd38..4c9bf46c 100644 --- a/modules/overlay.py +++ b/modules/overlay.py @@ -292,6 +292,10 @@ class Overlay: self.backdrop_text = self.name[5:-1] elif self.name.startswith("backdrop"): self.backdrop_box = self.back_box + if self.horizontal_offset is None: + self.horizontal_offset = 0 + if self.vertical_offset is None: + self.vertical_offset = 0 else: if not self.path: clean_name, _ = util.validate_filename(self.name)