From f4d3dac701dd47eba918fbfc9656a087098fcf2d Mon Sep 17 00:00:00 2001 From: Jam <1347620+JamsRepos@users.noreply.github.com> Date: Tue, 7 May 2024 20:01:21 +0100 Subject: [PATCH] fix: :ambulance: Changed friends route to the new v2 sharings route --- plexapi/myplex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexapi/myplex.py b/plexapi/myplex.py index 8d6979245..740b23982 100644 --- a/plexapi/myplex.py +++ b/plexapi/myplex.py @@ -99,7 +99,7 @@ class MyPlexAccount(PlexObject): EXISTINGUSER = 'https://plex.tv/api/home/users?invitedEmail={username}' # post with data FRIENDSERVERS = 'https://plex.tv/api/servers/{machineId}/shared_servers/{serverId}' # put with data PLEXSERVERS = 'https://plex.tv/api/servers/{machineId}' # get - FRIENDUPDATE = 'https://plex.tv/api/friends/{userId}' # put with args, delete + FRIENDUPDATE = 'https://plex.tv/api/v2/sharings/{userId}' # put with args, delete HOMEUSER = 'https://plex.tv/api/home/users/{userId}' # delete, put MANAGEDHOMEUSER = 'https://plex.tv/api/v2/home/users/restricted/{userId}' # put SIGNIN = 'https://plex.tv/api/v2/users/signin' # post with auth