mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli/core] Add some more logging
This commit is contained in:
parent
20a477d20f
commit
261d0c636f
|
@ -272,6 +272,7 @@ class LegendaryCLI:
|
||||||
else:
|
else:
|
||||||
base_game = None
|
base_game = None
|
||||||
|
|
||||||
|
logger.info('Preparing download...')
|
||||||
# todo use status queue to print progress from CLI
|
# 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,
|
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,
|
force=args.force, max_shm=args.shared_memory,
|
||||||
|
|
|
@ -387,6 +387,7 @@ class LegendaryCore:
|
||||||
new_manifest_data, _base_urls = self.get_cdn_manifest(game, platform_override)
|
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)
|
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)
|
new_manifest = self.load_manfiest(new_manifest_data)
|
||||||
self.log.debug(f'Base urls: {base_urls}')
|
self.log.debug(f'Base urls: {base_urls}')
|
||||||
self.lgd.save_manifest(game.app_name, new_manifest_data)
|
self.lgd.save_manifest(game.app_name, new_manifest_data)
|
||||||
|
|
Loading…
Reference in a new issue