Skip to content

Commit 30165b5

Browse files
committed
media_printer
1 parent 7ba2ae1 commit 30165b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xklb/media/media_printer.py

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ def media_printer(args, data, units=None, media_len=None) -> None:
111111
if "a" in print_args and ("Aggregate" not in media[0].get("path") or ""):
112112
if "count" in media[0]:
113113
D = {"path": "Aggregate", "count": sum(d.get("count") or 0 for d in media)}
114+
elif "exists" in media[0]:
115+
D = {"path": "Aggregate", "count": sum(d.get("exists") or 0 for d in media)}
114116
elif action == SC.download_status and "never_downloaded" in media[0]:
115117
potential_downloads = sum(d["never_downloaded"] + d["retry_queued"] for d in media)
116118
D = {"path": "Aggregate", "count": potential_downloads}

0 commit comments

Comments
 (0)