Update plex_api_parental_control.py
This commit is contained in:
parent
a96794ad4e
commit
3869c85fe7
@ -61,7 +61,7 @@ def share(user, libraries):
|
|||||||
|
|
||||||
|
|
||||||
def unshare(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))
|
print('Unshared libraries: {libraries} from {user}.'.format(libraries=libraries, user=user))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user