(user, sections)
| 257 | |
| 258 | |
| 259 | def unshare(user, sections): |
| 260 | plex.myPlexAccount().updateFriend(user=user, server=plex, removeSections=True, sections=sections) |
| 261 | print('Unshared all libraries from {user}.'.format(user=user)) |
| 262 | |
| 263 | |
| 264 | def add_to_dictlist(d, key, val): |