aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/Games/GameSystemXmlProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Providers/Games/GameSystemXmlProvider.cs')
-rw-r--r--MediaBrowser.Providers/Games/GameSystemXmlProvider.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Providers/Games/GameSystemXmlProvider.cs b/MediaBrowser.Providers/Games/GameSystemXmlProvider.cs
index 3e74f4c32..9efa93dfa 100644
--- a/MediaBrowser.Providers/Games/GameSystemXmlProvider.cs
+++ b/MediaBrowser.Providers/Games/GameSystemXmlProvider.cs
@@ -17,14 +17,14 @@ namespace MediaBrowser.Providers.Games
_logger = logger;
}
- protected override void Fetch(GameSystem item, string path, CancellationToken cancellationToken)
+ protected override void Fetch(LocalMetadataResult<GameSystem> result, string path, CancellationToken cancellationToken)
{
- new GameSystemXmlParser(_logger).Fetch(item, path, cancellationToken);
+ new GameSystemXmlParser(_logger).Fetch(result.Item, path, cancellationToken);
}
- protected override FileInfo GetXmlFile(ItemInfo info)
+ protected override FileInfo GetXmlFile(ItemInfo info, IDirectoryService directoryService)
{
- return new FileInfo(Path.Combine(info.Path, "gamesystem.xml"));
+ return directoryService.GetFile(Path.Combine(info.Path, "gamesystem.xml"));
}
}
}