This commit is contained in:
1 parent
d92c7a1964
commit
31f94997d5
13 files changed
+255
-9
No files matched your search
@@ -62,18 +62,19 @@ def main():
|
||||
steamid = recent[0]["steamid"]
|
||||
|
||||
roots = steam_source.library_roots(root)
|
||||
lib_ids = steam_source.library_appids(root)
|
||||
cached_ids = steam_source.library_appids(root)
|
||||
installed = steam_source.installed_apps(roots)
|
||||
lib_ids = sorted(set(cached_ids) | set(installed))
|
||||
if not lib_ids:
|
||||
raise SystemExit(f"Empty library cache under {root}\\appcache\\librarycache")
|
||||
|
||||
print(f"Steam: {root}")
|
||||
print(f"User: {steamid}")
|
||||
print(f"Libraries: {', '.join(roots)}")
|
||||
print(f"Apps in library cache: {len(lib_ids)}")
|
||||
print(f"Apps: {len(lib_ids)} (cache: {len(cached_ids)}, installed: {len(installed)})")
|
||||
|
||||
appinfo = steam_source.read_appinfo(root)
|
||||
playtime = steam_source.read_playtime(root, steamid)
|
||||
installed = steam_source.installed_apps(roots)
|
||||
|
||||
con = db.connect(args.db)
|
||||
db.init(con)
|
||||
|
||||
Reference in new issue
Block a user