diff --git a/plexapi/base.py b/plexapi/base.py index f6a95923..3bbc6dbc 100644 --- a/plexapi/base.py +++ b/plexapi/base.py @@ -445,6 +445,7 @@ class PlexPartialObject(PlexObject): self._server.query(key, method=self._server._session.post, data=data) def setPoster(self, poster): + """ Set . :class:`~plexapi.media.Poster` to :class:`~plexapi.video.Video` """ key = poster._initpath[:-1] data = '%s?url=%s' % (key, quote_plus(poster.ratingKey)) self._server.query(data, method=self._server._session.put)