diff --git a/utility/plex_api_parental_control.py b/utility/plex_api_parental_control.py index 43c6238..616a236 100644 --- a/utility/plex_api_parental_control.py +++ b/utility/plex_api_parental_control.py @@ -61,7 +61,7 @@ def share(user, libraries): def unshare(user, libraries): - plex.myPlexAccount().updateFriend(user=user, server=plex, removeSections=True) + plex.myPlexAccount().updateFriend(user=user, server=plex, removeSections=True, sections=libraries) print('Unshared libraries: {libraries} from {user}.'.format(libraries=libraries, user=user))