From 486006e5045318286adeb6a63d0c98a922405497 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 11 Feb 2021 00:35:47 -0500 Subject: [PATCH] remove original_title use for shows --- modules/plex.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/plex.py b/modules/plex.py index 8c73e7ce..d366bc8e 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -294,7 +294,10 @@ class PlexAPI: add_edit("originally_available", str(item.originallyAvailableAt)[:-9], self.metadata[m], key="originallyAvailableAt", value=originally_available) add_edit("rating", item.rating, self.metadata[m], value=rating) add_edit("content_rating", item.contentRating, self.metadata[m], key="contentRating") - add_edit("original_title", item.originalTitle, self.metadata[m], key="originalTitle", value=original_title) + if self.is_movie: + add_edit("original_title", item.originalTitle, self.metadata[m], key="originalTitle", value=original_title) + elif "original_title" in self.metadata[m]: + logger.error("Metadata Error: original_title does not work with shows") add_edit("studio", item.studio, self.metadata[m], value=studio) add_edit("tagline", item.tagline, self.metadata[m], value=tagline) add_edit("summary", item.summary, self.metadata[m], value=summary)