mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
fix for #31
This commit is contained in:
parent
f25a13982d
commit
31c66b3c66
1 changed files with 4 additions and 3 deletions
|
@ -316,10 +316,11 @@ 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")
|
||||
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)
|
||||
item_original_title = item.originalTitle if self.is_movie else item._data.attrib.get("originalTitle")
|
||||
add_edit("original_title", item_original_title, 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)
|
||||
item_tagline = item.tagline if self.is_movie else item._data.attrib.get("tagline")
|
||||
add_edit("tagline", item_tagline, self.metadata[m], value=tagline)
|
||||
add_edit("summary", item.summary, self.metadata[m], value=summary)
|
||||
if len(edits) > 0:
|
||||
logger.debug("Details Update: {}".format(edits))
|
||||
|
|
Loading…
Reference in a new issue