mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
fixed for #3
This commit is contained in:
parent
dc93cbd65d
commit
df2f771779
1 changed files with 2 additions and 4 deletions
|
@ -294,10 +294,8 @@ 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")
|
||||
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")
|
||||
originalTitle = item.originalTitle if self.is_movie else item._data.attrib.get("originalTitle")
|
||||
add_edit("original_title", originalTitle, self.metadata[m], key="originalTitle", value=original_title)
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue