#133 only include users who have active shares
This commit is contained in:
parent
70accd1767
commit
1409209e58
@ -127,7 +127,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()]
|
||||
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}
|
||||
filter_lst = list(set([y for x in sections if x.type != 'photo' for y in x.ALLOWED_FILTERS]))
|
||||
|
Loading…
Reference in New Issue
Block a user