mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-13 23:47:06 +00:00
fix Collection posters method's key
This commit is contained in:
parent
0b4b9c452e
commit
d69760e3e5
1 changed files with 1 additions and 1 deletions
|
@ -1073,7 +1073,7 @@ class Collections(PlexObject):
|
|||
def posters(self):
|
||||
""" Returns list of available poster objects. :class:`~plexapi.media.Poster`. """
|
||||
|
||||
return self.fetchItems('%s/posters' % self.key)
|
||||
return self.fetchItems('/library/metadata/%s/posters' % self.ratingKey)
|
||||
|
||||
def uploadPoster(self, url=None, filepath=None):
|
||||
""" Upload poster from url or filepath. :class:`~plexapi.media.Poster` to :class:`~plexapi.video.Video`. """
|
||||
|
|
Loading…
Reference in a new issue