add log statements

This commit is contained in:
Georges-Antoine Assi
2025-09-21 13:34:03 -04:00
parent 0bd5653f3a
commit 5b3b146039
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,6 @@ class GiantBombHandler(MetadataHandler):
@classmethod
def is_enabled(cls) -> bool:
"""Return whether this metadata handler is enabled."""
return GIANTBOMB_API_ENABLED
def get_platform(self, slug: str) -> GiantBombPlatform:

View File

@@ -146,7 +146,7 @@ def extract_metadata_from_igdb_rom(rom: dict[str, Any]) -> IGDBMetadata:
def extract_metadata_from_giantbomb_rom(rom: dict) -> GiantBombMetadata:
print(rom)
print(f"GIANTBOMB ROM: {rom}")
return GiantBombMetadata(
{
"guid": rom.get("guid", ""),
@@ -184,7 +184,6 @@ class HasheousHandler(MetadataHandler):
@classmethod
def is_enabled(cls) -> bool:
"""Return whether this metadata handler is enabled."""
return HASHEOUS_API_ENABLED
async def _request(
@@ -446,6 +445,8 @@ class HasheousHandler(MetadataHandler):
log.debug(f"No Hasheous game found for GiantBomb GUID 3030-{giantbomb_id}.")
return hasheous_rom
log.info(f"GiantBomb game: {giantbomb_game}")
return HasheousRom(
{
**hasheous_rom,