From 5a69849423e6fb728f4f57c63c62ce6a75b6450c Mon Sep 17 00:00:00 2001 From: InsertDisc <31751462+InsertDisc@users.noreply.github.com> Date: Mon, 13 Nov 2023 23:53:45 -0500 Subject: [PATCH] Update pattrmm.py --- pattrmm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pattrmm.py b/pattrmm.py index e52982c..1afab53 100644 --- a/pattrmm.py +++ b/pattrmm.py @@ -297,6 +297,7 @@ def settings(self): options['sort_title'] = '"' + options['sort_title'] + '"' except KeyError: options = {} + poster_url = f'"https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/chart/This%20{self.range.capitalize()}%20in%20History.jpg"' self.meta = {} self.meta['collections'] = {} self.meta['collections'][self.collection_title] = {} @@ -305,7 +306,7 @@ def settings(self): self.meta['collections'][self.collection_title]['visible_shared'] = 'true' self.meta['collections'][self.collection_title]['collection_order'] = 'custom' self.meta['collections'][self.collection_title]['sync_mode'] = 'sync' - self.meta['collections'][self.collection_title]['url_poster'] = 'https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/chart/This%20' + self.range.capitalize() + '%20in%20History.jpg' + self.meta['collections'][self.collection_title]['url_poster'] = poster_url self.meta['collections'][self.collection_title].update(options) except Exception as e: