bumped PlexAPI version

pull/76/head
meisnate12 4 years ago
parent ac0d707e27
commit c20459421f

@ -3,7 +3,8 @@ from datetime import datetime, timedelta
from modules import util from modules import util
from modules.util import Failed from modules.util import Failed
from plexapi.exceptions import BadRequest, NotFound, Unauthorized from plexapi.exceptions import BadRequest, NotFound, Unauthorized
from plexapi.library import Collections, MovieSection, ShowSection from plexapi.library import MovieSection, ShowSection
from plexapi.collection import Collections
from plexapi.server import PlexServer from plexapi.server import PlexServer
from plexapi.video import Movie, Show from plexapi.video import Movie, Show
from retrying import retry from retrying import retry
@ -267,8 +268,7 @@ class PlexAPI:
add_edit("originally_available", str(item.originallyAvailableAt)[:-9], self.metadata[m], key="originallyAvailableAt", value=originally_available) 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("rating", item.rating, self.metadata[m], value=rating)
add_edit("content_rating", item.contentRating, self.metadata[m], key="contentRating") add_edit("content_rating", item.contentRating, self.metadata[m], key="contentRating")
item_original_title = item.originalTitle if self.is_movie else item._data.attrib.get("originalTitle") add_edit("original_title", item.originalTitle, self.metadata[m], key="originalTitle", value=original_title)
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("studio", item.studio, self.metadata[m], value=studio)
item_tagline = item.tagline if self.is_movie else item._data.attrib.get("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("tagline", item_tagline, self.metadata[m], value=tagline)

@ -1,7 +1,7 @@
# Remove # Remove
# Less common, pinned # Less common, pinned
PlexAPI==4.3.1
tmdbv3api==1.7.3 tmdbv3api==1.7.3
PlexAPI==4.4.0
trakt.py==4.2.0 trakt.py==4.2.0
# More common, flexible # More common, flexible
lxml lxml

Loading…
Cancel
Save