diff --git a/fun/playlist_manager.py b/fun/playlist_manager.py index d4a3351..2f3f5a6 100644 --- a/fun/playlist_manager.py +++ b/fun/playlist_manager.py @@ -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]))