From 261d0c636f6ca9a6173f14b066726e71f3bee3ab Mon Sep 17 00:00:00 2001 From: derrod Date: Fri, 1 May 2020 19:57:42 +0200 Subject: [PATCH] [cli/core] Add some more logging --- legendary/cli.py | 1 + legendary/core.py | 1 + 2 files changed, 2 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 4cfc36e..897dea6 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -272,6 +272,7 @@ class LegendaryCLI: else: base_game = None + logger.info('Preparing download...') # todo use status queue to print progress from CLI dlm, analysis, igame = self.core.prepare_download(game=game, base_game=base_game, base_path=args.base_path, force=args.force, max_shm=args.shared_memory, diff --git a/legendary/core.py b/legendary/core.py index 7fc7798..38b62d5 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -387,6 +387,7 @@ class LegendaryCore: new_manifest_data, _base_urls = self.get_cdn_manifest(game, platform_override) base_urls.extend(i for i in _base_urls if i not in base_urls) + self.log.info('Parsing game manifest...') new_manifest = self.load_manfiest(new_manifest_data) self.log.debug(f'Base urls: {base_urls}') self.lgd.save_manifest(game.app_name, new_manifest_data)