From 294a88bd193120c0e96c337eb84b35a5fa31b8ec Mon Sep 17 00:00:00 2001 From: blacktwin Date: Sun, 2 Oct 2022 16:25:47 -0400 Subject: [PATCH] friend attribute no longer relevant --- fun/playlist_manager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fun/playlist_manager.py b/fun/playlist_manager.py index 58af8f3..75eea43 100644 --- a/fun/playlist_manager.py +++ b/fun/playlist_manager.py @@ -181,8 +181,7 @@ if sess.verify is False: plex = PlexServer(PLEX_URL, PLEX_TOKEN, session=sess) account = plex.myPlexAccount() - -user_lst = [x.title for x in plex.myPlexAccount().users() if x.servers and x.friend] +user_lst = [x.title for x in plex.myPlexAccount().users() if x.servers] sections = plex.library.sections() sections_dict = {x.key: x.title for x in sections} filters_lst = list(set([y.key for x in sections if x.type != 'photo' for y in x.listFields()]))