This commit is contained in:
Luigi311
2022-12-23 23:10:51 -07:00
parent 1a4e3f4ec4
commit 111e284cc8
3 changed files with 3 additions and 6 deletions

View File

@@ -286,7 +286,7 @@ class Jellyfin:
logger(
f"Jellyfin: {user_watched[user_name][library_title]}", 3
)
return user_watched
except Exception as e:
logger(

View File

@@ -323,9 +323,6 @@ def main_loop():
# Start server_2 at the next server in the list
for server_2 in servers[servers.index(server_1) + 1 :]:
server_1_connection = server_1[1]
server_2_connection = server_2[1]
# Create users list
logger("Creating users list", 1)
server_1_users, server_2_users = setup_users(

View File

@@ -1,4 +1,4 @@
import re, requests, json
import re, requests
from urllib3.poolmanager import PoolManager
from plexapi.server import PlexServer
@@ -106,7 +106,7 @@ def get_user_library_watched(user, user_plex, library):
logger(f"Plex: Got watched for {user_name} in library {library.title}", 1)
if library.title in user_watched[user_name]:
logger(f"Plex: {user_watched[user_name][library.title]}", 3)
return user_watched
except Exception as e:
logger(