From 67858259c285cce13a753324930eefd8e4060805 Mon Sep 17 00:00:00 2001 From: InsertDisc <31751462+InsertDisc@users.noreply.github.com> Date: Mon, 13 Nov 2023 23:56:44 -0500 Subject: [PATCH] Update vars.py --- vars.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vars.py b/vars.py index 145a75b..698e302 100644 --- a/vars.py +++ b/vars.py @@ -138,6 +138,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] = {} @@ -146,7 +147,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: