From a0a84955977533389f8168669ef46898b61806b5 Mon Sep 17 00:00:00 2001 From: Michael Green <84688932+michael-j-green@users.noreply.github.com> Date: Thu, 9 Jan 2025 16:22:08 +1100 Subject: [PATCH] WIP --- gaseous-server/Models/PlatformMapping.cs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gaseous-server/Models/PlatformMapping.cs b/gaseous-server/Models/PlatformMapping.cs index c0d978e..338b8fe 100644 --- a/gaseous-server/Models/PlatformMapping.cs +++ b/gaseous-server/Models/PlatformMapping.cs @@ -318,14 +318,15 @@ namespace gaseous_server.Models // get platform data Platform? platform = null; - if (Storage.GetCacheStatus(Communications.MetadataSource, "Platform", IGDBId) == Storage.CacheStatus.NotPresent) - { - //platform = Platforms.GetPlatform(IGDBId, false); - } - else - { - platform = (Platform)Storage.GetCacheValue(Communications.MetadataSource, new Platform(), "id", IGDBId); - } + // if (Storage.GetCacheStatus(HasheousClient.Models.MetadataSources.None, "Platform", IGDBId) == Storage.CacheStatus.NotPresent) + // { + // //platform = Platforms.GetPlatform(IGDBId, false); + // } + // else + // { + // platform = (Platform)Storage.GetCacheValue(HasheousClient.Models.MetadataSources.None, new Platform(), "id", IGDBId); + // } + platform = Platforms.GetPlatform(IGDBId, HasheousClient.Models.MetadataSources.None); if (platform != null) {