diff --git a/assets/broadcast_logos/nfln.png b/assets/broadcast_logos/nfln.png index 433ab8d2..4f427cd1 100644 Binary files a/assets/broadcast_logos/nfln.png and b/assets/broadcast_logos/nfln.png differ diff --git a/assets/broadcast_logos/paramount-plus.png b/assets/broadcast_logos/paramount-plus.png new file mode 100644 index 00000000..30ee8c3e Binary files /dev/null and b/assets/broadcast_logos/paramount-plus.png differ diff --git a/assets/sports/ncaa_fbs_logos/Loodibee_Web_X2_White.png b/assets/sports/ncaa_fbs_logos/Loodibee_Web_X2_White.png deleted file mode 100644 index fa38d0be..00000000 Binary files a/assets/sports/ncaa_fbs_logos/Loodibee_Web_X2_White.png and /dev/null differ diff --git a/assets/sports/ncaa_fbs_logos/TEX.png b/assets/sports/ncaa_fbs_logos/TEX.png index a700263d..9fdd4b68 100644 Binary files a/assets/sports/ncaa_fbs_logos/TEX.png and b/assets/sports/ncaa_fbs_logos/TEX.png differ diff --git a/assets/sports/ncaa_fbs_logos/UNT.png b/assets/sports/ncaa_fbs_logos/UNT.png new file mode 100644 index 00000000..a700263d Binary files /dev/null and b/assets/sports/ncaa_fbs_logos/UNT.png differ diff --git a/assets/sports/ncaa_fbs_logos/UT.png b/assets/sports/ncaa_fbs_logos/UT.png deleted file mode 100644 index 9fdd4b68..00000000 Binary files a/assets/sports/ncaa_fbs_logos/UT.png and /dev/null differ diff --git a/src/nba_managers.py b/src/nba_managers.py index f097c8c9..8f3ae15f 100644 --- a/src/nba_managers.py +++ b/src/nba_managers.py @@ -63,13 +63,9 @@ class BaseNBAManager: # Set logging level to INFO to reduce noise self.logger.setLevel(logging.INFO) - # Get display dimensions from config - display_config = config.get("display", {}) - hardware_config = display_config.get("hardware", {}) - cols = hardware_config.get("cols", 64) - chain = hardware_config.get("chain_length", 1) - self.display_width = int(cols * chain) - self.display_height = hardware_config.get("rows", 32) + # Get display dimensions from matrix + self.display_width = self.display_manager.matrix.width + self.display_height = self.display_manager.matrix.height # Cache for loaded logos self._logo_cache = {} diff --git a/src/ncaa_fb_managers.py b/src/ncaa_fb_managers.py index e48c5b51..8642e6bf 100644 --- a/src/ncaa_fb_managers.py +++ b/src/ncaa_fb_managers.py @@ -91,12 +91,8 @@ class BaseNCAAFBManager: # Renamed class self.logger.setLevel(logging.INFO) - display_config = config.get("display", {}) - hardware_config = display_config.get("hardware", {}) - cols = hardware_config.get("cols", 64) - chain = hardware_config.get("chain_length", 1) - self.display_width = int(cols * chain) - self.display_height = hardware_config.get("rows", 32) + self.display_width = self.display_manager.matrix.width + self.display_height = self.display_manager.matrix.height self._logo_cache = {} diff --git a/src/ncaam_basketball_managers.py b/src/ncaam_basketball_managers.py index 3e7798f6..66107571 100644 --- a/src/ncaam_basketball_managers.py +++ b/src/ncaam_basketball_managers.py @@ -63,13 +63,9 @@ class BaseNCAAMBasketballManager: # Set logging level to INFO to reduce noise self.logger.setLevel(logging.INFO) - # Get display dimensions from config - display_config = config.get("display", {}) - hardware_config = display_config.get("hardware", {}) - cols = hardware_config.get("cols", 64) - chain = hardware_config.get("chain_length", 1) - self.display_width = int(cols * chain) - self.display_height = hardware_config.get("rows", 32) + # Get display dimensions from matrix + self.display_width = self.display_manager.matrix.width + self.display_height = self.display_manager.matrix.height # Cache for loaded logos self._logo_cache = {} diff --git a/src/nfl_managers.py b/src/nfl_managers.py index 1763932d..5d2f7ac2 100644 --- a/src/nfl_managers.py +++ b/src/nfl_managers.py @@ -62,12 +62,8 @@ class BaseNFLManager: # Renamed class self.logger.setLevel(logging.INFO) - display_config = config.get("display", {}) - hardware_config = display_config.get("hardware", {}) - cols = hardware_config.get("cols", 64) - chain = hardware_config.get("chain_length", 1) - self.display_width = int(cols * chain) - self.display_height = hardware_config.get("rows", 32) + self.display_width = self.display_manager.matrix.width + self.display_height = self.display_manager.matrix.height self._logo_cache = {} diff --git a/src/nhl_managers.py b/src/nhl_managers.py index 0e34872a..e39cf966 100644 --- a/src/nhl_managers.py +++ b/src/nhl_managers.py @@ -63,13 +63,9 @@ class BaseNHLManager: # Set logging level to DEBUG to see all messages self.logger.setLevel(logging.DEBUG) - # Get display dimensions from config - display_config = config.get("display", {}) - hardware_config = display_config.get("hardware", {}) - cols = hardware_config.get("cols", 64) - chain = hardware_config.get("chain_length", 1) - self.display_width = int(cols * chain) - self.display_height = hardware_config.get("rows", 32) + # Get display dimensions from matrix + self.display_width = self.display_manager.matrix.width + self.display_height = self.display_manager.matrix.height # Cache for loaded logos self._logo_cache = {} diff --git a/src/soccer_managers.py b/src/soccer_managers.py index dd2c29f9..a5bde061 100644 --- a/src/soccer_managers.py +++ b/src/soccer_managers.py @@ -84,12 +84,8 @@ class BaseSoccerManager: self.team_map_file = self.soccer_config.get("team_map_file", "assets/data/team_league_map.json") self.team_map_update_days = self.soccer_config.get("team_map_update_days", 7) # How often to update the map - display_config = config.get("display", {}) - hardware_config = display_config.get("hardware", {}) - cols = hardware_config.get("cols", 64) - chain = hardware_config.get("chain_length", 1) - self.display_width = int(cols * chain) - self.display_height = hardware_config.get("rows", 32) + self.display_width = self.display_manager.matrix.width + self.display_height = self.display_manager.matrix.height self._logo_cache = {} diff --git a/test/broadcast_logo_analysis.json b/test/broadcast_logo_analysis.json index fab9ffb8..d2501555 100644 --- a/test/broadcast_logo_analysis.json +++ b/test/broadcast_logo_analysis.json @@ -1,319 +1,774 @@ { "total_mappings": 44, - "existing_logos": [], - "missing_logos": [], - "problematic_logos": [ + "existing_logos": [ { "broadcast_name": "ACC Network", "logo_filename": "accn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\accn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 150 + ], + "mode": "RGBA", + "file_size": 6772, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "ACCN", "logo_filename": "accn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\accn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 150 + ], + "mode": "RGBA", + "file_size": 6772, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "ABC", "logo_filename": "abc", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\abc.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 511 + ], + "mode": "P", + "file_size": 21748, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "BTN", "logo_filename": "btn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\btn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true - }, - { - "broadcast_name": "CBS", - "logo_filename": "cbs", - "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 309 + ], + "mode": "P", + "file_size": 4281, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "CBSSN", "logo_filename": "cbssn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbssn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 111 + ], + "mode": "RGBA", + "file_size": 16230, + "is_problematic": false, + "issues": [ + "Extreme aspect ratio: 4.61" + ], + "recommendations": [ + "Consider using a more square logo", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "CBS Sports Network", "logo_filename": "cbssn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbssn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 111 + ], + "mode": "RGBA", + "file_size": 16230, + "is_problematic": false, + "issues": [ + "Extreme aspect ratio: 4.61" + ], + "recommendations": [ + "Consider using a more square logo", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "ESPN", "logo_filename": "espn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 512 + ], + "mode": "RGBA", + "file_size": 7391, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "ESPN2", "logo_filename": "espn2", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn2.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 97 + ], + "mode": "P", + "file_size": 3996, + "is_problematic": false, + "issues": [ + "Extreme aspect ratio: 5.28" + ], + "recommendations": [ + "Consider using a more square logo", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "ESPN3", "logo_filename": "espn3", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn3.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 101 + ], + "mode": "P", + "file_size": 4221, + "is_problematic": false, + "issues": [ + "Extreme aspect ratio: 5.07" + ], + "recommendations": [ + "Consider using a more square logo", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "ESPNU", "logo_filename": "espnu", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espnu.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 147 + ], + "mode": "RGBA", + "file_size": 6621, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "ESPNEWS", "logo_filename": "espn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 512 + ], + "mode": "RGBA", + "file_size": 7391, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "ESPN+", "logo_filename": "espn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 512 + ], + "mode": "RGBA", + "file_size": 7391, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "ESPN Plus", "logo_filename": "espn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 512 + ], + "mode": "RGBA", + "file_size": 7391, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "FOX", "logo_filename": "fox", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\fox.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 307 + ], + "mode": "RGBA", + "file_size": 94499, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "FS1", "logo_filename": "fs1", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\fs1.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 257 + ], + "mode": "RGBA", + "file_size": 8139, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "FS2", "logo_filename": "fs2", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\fs2.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 256 + ], + "mode": "RGBA", + "file_size": 8204, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "MLBN", "logo_filename": "mlbn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\mlbn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 528 + ], + "mode": "RGBA", + "file_size": 42129, + "is_problematic": false, + "issues": [ + "Very large dimensions: 512x528" + ], + "recommendations": [ + "Consider optimizing logo size for better performance", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "MLB Network", "logo_filename": "mlbn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\mlbn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 528 + ], + "mode": "RGBA", + "file_size": 42129, + "is_problematic": false, + "issues": [ + "Very large dimensions: 512x528" + ], + "recommendations": [ + "Consider optimizing logo size for better performance", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "MLB.TV", "logo_filename": "mlbn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\mlbn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 528 + ], + "mode": "RGBA", + "file_size": 42129, + "is_problematic": false, + "issues": [ + "Very large dimensions: 512x528" + ], + "recommendations": [ + "Consider optimizing logo size for better performance", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "NBC", "logo_filename": "nbc", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\nbc.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true - }, - { - "broadcast_name": "NFLN", - "logo_filename": "nfln", - "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\nfln.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true - }, - { - "broadcast_name": "NFL Network", - "logo_filename": "nfln", - "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\nfln.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 479 + ], + "mode": "RGBA", + "file_size": 15720, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "PAC12", "logo_filename": "pac12n", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\pac12n.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 645 + ], + "mode": "RGBA", + "file_size": 84038, + "is_problematic": false, + "issues": [ + "Very large dimensions: 512x645" + ], + "recommendations": [ + "Consider optimizing logo size for better performance", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "Pac-12 Network", "logo_filename": "pac12n", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\pac12n.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 645 + ], + "mode": "RGBA", + "file_size": 84038, + "is_problematic": false, + "issues": [ + "Very large dimensions: 512x645" + ], + "recommendations": [ + "Consider optimizing logo size for better performance", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "SECN", "logo_filename": "espn-sec-us", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn-sec-us.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 718 + ], + "mode": "RGBA", + "file_size": 87531, + "is_problematic": false, + "issues": [ + "Very large dimensions: 512x718" + ], + "recommendations": [ + "Consider optimizing logo size for better performance", + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "TBS", "logo_filename": "tbs", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\tbs.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true - }, - { - "broadcast_name": "TNT", - "logo_filename": "tnt", - "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\tnt.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 276 + ], + "mode": "RGBA", + "file_size": 61816, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "truTV", "logo_filename": "tru", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\tru.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 198 + ], + "mode": "RGBA", + "file_size": 11223, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "Peacock", "logo_filename": "nbc", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\nbc.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true - }, - { - "broadcast_name": "Paramount+", - "logo_filename": "cbs", - "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 479 + ], + "mode": "RGBA", + "file_size": 15720, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "Hulu", "logo_filename": "espn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 512 + ], + "mode": "RGBA", + "file_size": 7391, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "Disney+", "logo_filename": "espn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 512 + ], + "mode": "RGBA", + "file_size": 7391, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "Apple TV+", "logo_filename": "nbc", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\nbc.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true - }, - { - "broadcast_name": "MASN", - "logo_filename": "cbs", - "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true - }, - { - "broadcast_name": "MASN2", - "logo_filename": "cbs", - "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true - }, - { - "broadcast_name": "MAS+", - "logo_filename": "cbs", - "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 479 + ], + "mode": "RGBA", + "file_size": 15720, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "SportsNet", "logo_filename": "nbc", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\nbc.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 479 + ], + "mode": "RGBA", + "file_size": 15720, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "FanDuel SN", "logo_filename": "fox", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\fox.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 307 + ], + "mode": "RGBA", + "file_size": 94499, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "FanDuel SN DET", "logo_filename": "fox", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\fox.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 307 + ], + "mode": "RGBA", + "file_size": 94499, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "FanDuel SN FL", "logo_filename": "fox", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\fox.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 307 + ], + "mode": "RGBA", + "file_size": 94499, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "SportsNet PIT", "logo_filename": "nbc", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\nbc.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 479 + ], + "mode": "RGBA", + "file_size": 15720, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "Padres.TV", "logo_filename": "espn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 512 + ], + "mode": "RGBA", + "file_size": 7391, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] }, { "broadcast_name": "CLEGuardians.TV", "logo_filename": "espn", "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\espn.png", - "error": "Failed to analyze image: 'Stat' object has no attribute 'min'", - "is_problematic": true + "dimensions": [ + 512, + 512 + ], + "mode": "RGBA", + "file_size": 7391, + "is_problematic": false, + "issues": [], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] + } + ], + "missing_logos": [], + "problematic_logos": [ + { + "broadcast_name": "CBS", + "logo_filename": "cbs", + "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", + "dimensions": [ + 512, + 512 + ], + "mode": "P", + "file_size": 9339, + "is_problematic": true, + "issues": [ + "Image appears to be mostly white", + "Very low content density: 0.0%" + ], + "recommendations": [ + "Logo has transparency - ensure proper background handling", + "Logo may appear as a white box - check content" + ] + }, + { + "broadcast_name": "NFLN", + "logo_filename": "nfln", + "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\nfln.png", + "dimensions": [ + 512, + 201 + ], + "mode": "RGBA", + "file_size": 16372, + "is_problematic": true, + "issues": [ + "Image appears to be mostly white" + ], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] + }, + { + "broadcast_name": "NFL Network", + "logo_filename": "nfln", + "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\nfln.png", + "dimensions": [ + 512, + 201 + ], + "mode": "RGBA", + "file_size": 16372, + "is_problematic": true, + "issues": [ + "Image appears to be mostly white" + ], + "recommendations": [ + "Logo has transparency - ensure proper background handling" + ] + }, + { + "broadcast_name": "TNT", + "logo_filename": "tnt", + "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\tnt.png", + "dimensions": [ + 512, + 512 + ], + "mode": "P", + "file_size": 6131, + "is_problematic": true, + "issues": [ + "Image appears to be mostly white", + "Very low content density: 0.0%" + ], + "recommendations": [ + "Logo has transparency - ensure proper background handling", + "Logo may appear as a white box - check content" + ] + }, + { + "broadcast_name": "Paramount+", + "logo_filename": "cbs", + "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", + "dimensions": [ + 512, + 512 + ], + "mode": "P", + "file_size": 9339, + "is_problematic": true, + "issues": [ + "Image appears to be mostly white", + "Very low content density: 0.0%" + ], + "recommendations": [ + "Logo has transparency - ensure proper background handling", + "Logo may appear as a white box - check content" + ] + }, + { + "broadcast_name": "MASN", + "logo_filename": "cbs", + "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", + "dimensions": [ + 512, + 512 + ], + "mode": "P", + "file_size": 9339, + "is_problematic": true, + "issues": [ + "Image appears to be mostly white", + "Very low content density: 0.0%" + ], + "recommendations": [ + "Logo has transparency - ensure proper background handling", + "Logo may appear as a white box - check content" + ] + }, + { + "broadcast_name": "MASN2", + "logo_filename": "cbs", + "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", + "dimensions": [ + 512, + 512 + ], + "mode": "P", + "file_size": 9339, + "is_problematic": true, + "issues": [ + "Image appears to be mostly white", + "Very low content density: 0.0%" + ], + "recommendations": [ + "Logo has transparency - ensure proper background handling", + "Logo may appear as a white box - check content" + ] + }, + { + "broadcast_name": "MAS+", + "logo_filename": "cbs", + "path": "C:\\Users\\Charles\\Documents\\GitHub\\LEDMatrix\\assets\\broadcast_logos\\cbs.png", + "dimensions": [ + 512, + 512 + ], + "mode": "P", + "file_size": 9339, + "is_problematic": true, + "issues": [ + "Image appears to be mostly white", + "Very low content density: 0.0%" + ], + "recommendations": [ + "Logo has transparency - ensure proper background handling", + "Logo may appear as a white box - check content" + ] } ], "recommendations": [ - "Fix 44 problematic logos", + "Fix 8 problematic logos", "Consider mapping 1 orphaned logo files", "Ensure all logos are PNG format with transparency support", "Use consistent dimensions (preferably 64x64 or 128x128 pixels)",