[55] fix playlist users

pull/1429/head
meisnate12 2 years ago
parent f9b1fb5bd2
commit 139555bf63

@ -1 +1 @@
1.19.0-develop54
1.19.0-develop55

@ -1,8 +1,8 @@
##############################################################################
# animes_studios Overlay #
# Studio Overlay #
# Created by Yozora, Bullmoose20, Arialz & Sohjiro #
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
# https://metamanager.wiki/en/latest/defaults/overlays/animes_studios.html #
# https://metamanager.wiki/en/latest/defaults/overlays/studios.html #
##############################################################################
external_templates:

@ -533,7 +533,8 @@ class CollectionBuilder:
if str(self.sync_to_users) == "all":
self.valid_users = [p for p in plex_users if p not in self.exclude_users]
else:
for user in util.get_list(self.sync_to_users):
user_list = self.sync_to_users if isinstance(self.sync_to_users, list) else util.get_list(self.sync_to_users)
for user in user_list:
if user not in plex_users:
raise Failed(f"Playlist Error: User: {user} not found in plex\nOptions: {plex_users}")
if user not in self.exclude_users:

@ -7,8 +7,8 @@ pillow==9.5.0
PlexAPI==4.13.4
psutil==5.9.5
python-dotenv==1.0.0
requests==2.29.0
requests==2.30.0
retrying==1.3.4
ruamel.yaml==0.17.21
ruamel.yaml==0.17.26
schedule==1.2.0
tmdbapis==1.2.0
Loading…
Cancel
Save