mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
Update video.py: self.key already contains slash
self.key already contains a leading slash therefore this call to the Plex server will fail with 404 not found. When the slash from the query location is removed, the call will succeed.
This commit is contained in:
parent
e34f8cdbd4
commit
bd47ea157d
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class Video(PlexPartialObject):
|
|||
client.playMedia(self)
|
||||
|
||||
def refresh(self):
|
||||
self.server.query('/%s/refresh' % self.key, method=put)
|
||||
self.server.query('%s/refresh' % self.key, method=put)
|
||||
|
||||
|
||||
class Movie(Video):
|
||||
|
|
Loading…
Reference in a new issue