This commit is contained in:
Luigi311
2023-01-27 15:04:16 -07:00
parent 404089dfca
commit 1ee055faf5

View File

@@ -130,6 +130,7 @@ def check_whitelist_logic(
return skip_reason return skip_reason
def show_title_dict(user_list: dict): def show_title_dict(user_list: dict):
try: try:
show_output_dict = {} show_output_dict = {}
@@ -156,6 +157,7 @@ def show_title_dict(user_list: dict):
logger("Generating show_output_dict failed, skipping", 1) logger("Generating show_output_dict failed, skipping", 1)
return {} return {}
def episode_title_dict(user_list: dict): def episode_title_dict(user_list: dict):
try: try:
episode_output_dict = {} episode_output_dict = {}
@@ -180,6 +182,7 @@ def episode_title_dict(user_list: dict):
logger("Generating episode_output_dict failed, skipping", 1) logger("Generating episode_output_dict failed, skipping", 1)
return {} return {}
def movies_title_dict(user_list: dict): def movies_title_dict(user_list: dict):
try: try:
movies_output_dict = {} movies_output_dict = {}
@@ -198,6 +201,7 @@ def movies_title_dict(user_list: dict):
logger("Generating movies_output_dict failed, skipping", 1) logger("Generating movies_output_dict failed, skipping", 1)
return {} return {}
def generate_library_guids_dict(user_list: dict): def generate_library_guids_dict(user_list: dict):
# Handle the case where user_list is empty or does not contain the expected keys and values # Handle the case where user_list is empty or does not contain the expected keys and values
if not user_list: if not user_list: