Skip to content

Commit ca06ca6

Browse files
authored
Merge pull request #775 from JonnyWong16/bugfix/playlists
Fix playlist copyToUser
2 parents 0f854b0 + a353df1 commit ca06ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/playlist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def copyToUser(self, user):
390390
user (str): Username, email or user id of the user to copy the playlist to.
391391
"""
392392
userServer = self._server.switchUser(user)
393-
return self.create(userServer, self.title, self.items())
393+
return self.create(server=userServer, title=self.title, items=self.items())
394394

395395
def sync(self, videoQuality=None, photoResolution=None, audioBitrate=None, client=None, clientId=None, limit=None,
396396
unwatched=False, title=None):

0 commit comments

Comments
 (0)