blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.64k stars 305 forks source link

Issue with sync_watch_status.py #389

Closed boivinx7 closed 11 months ago

boivinx7 commented 11 months ago

Im sure im just missing something dumb

Tautulli Notifiers :: Script error: Traceback (most recent call last): File "/root/snap/tautulli/common/Tautulli/Scripts/sync_watch_status.py", line 504, in plexTo.append([user, check_users_access(plex_access, user, server_name, libraries)]) File "/root/snap/tautulli/common/Tautulli/Scripts/sync_watch_status.py", line 337, in check_users_access for access in _user['access']: TypeError: 'NoneType' object is not subscriptable

boivinx7 commented 11 months ago

welp yes was dumb

boivinx7 commented 11 months ago

I was not using it correctly

sync_watch_status.py --userFrom USER1=Server1 --userTo USER2=Server1 --libraries Movies USER1 = usersname Server1 = name of the plex server

I was doing something like USER1=PlexMediaHome without changing the USER1 to a real value