friend attribute no longer relevant
This commit is contained in:
parent
135d94a283
commit
294a88bd19
@ -181,8 +181,7 @@ if sess.verify is False:
|
|||||||
|
|
||||||
plex = PlexServer(PLEX_URL, PLEX_TOKEN, session=sess)
|
plex = PlexServer(PLEX_URL, PLEX_TOKEN, session=sess)
|
||||||
account = plex.myPlexAccount()
|
account = plex.myPlexAccount()
|
||||||
|
user_lst = [x.title for x in plex.myPlexAccount().users() if x.servers]
|
||||||
user_lst = [x.title for x in plex.myPlexAccount().users() if x.servers and x.friend]
|
|
||||||
sections = plex.library.sections()
|
sections = plex.library.sections()
|
||||||
sections_dict = {x.key: x.title for x in 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()]))
|
filters_lst = list(set([y.key for x in sections if x.type != 'photo' for y in x.listFields()]))
|
||||||
|
Loading…
Reference in New Issue
Block a user