updated PlexAPI to 4.4.1

pull/103/head
meisnate12 4 years ago
parent bde79acc8a
commit 6e0b4bb8fa

@ -692,8 +692,7 @@ class Config:
if url_parsed.scheme == "tmdb": tmdb_id = int(url_parsed.netloc)
elif url_parsed.scheme == "imdb": imdb_id = url_parsed.netloc
elif item_type == "plex" and check_id == "show":
item.reload()
for guid_tag in item.findItems(item._data, Guid):
for guid_tag in item.guids:
url_parsed = requests.utils.urlparse(guid_tag.id)
if url_parsed.scheme == "tvdb": tvdb_id = int(url_parsed.netloc)
elif url_parsed.scheme == "imdb": imdb_id = url_parsed.netloc

@ -295,8 +295,7 @@ class PlexAPI:
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)
add_edit("studio", item.studio, self.metadata[m], value=studio)
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("tagline", item.tagline, self.metadata[m], value=tagline)
add_edit("summary", item.summary, self.metadata[m], value=summary)
if len(edits) > 0:
logger.debug(f"Details Update: {edits}")

@ -1,6 +1,6 @@
# Remove
# Less common, pinned
PlexAPI==4.4.0
PlexAPI==4.4.1
tmdbv3api==1.7.5
trakt.py==4.2.0
# More common, flexible

Loading…
Cancel
Save