Log output is slightly more verbose during downloads and decryption

This commit is contained in:
Campbell 2024-05-07 00:22:17 -04:00
parent 21663babbd
commit 32af83f476
No known key found for this signature in database
GPG Key ID: E543751376940756

View File

@ -337,7 +337,8 @@ class MainWindow(QMainWindow, Ui_MainWindow):
content_list.append(local_file.read())
else:
progress_callback.emit(" - Downloading content " + str(content + 1) + " of " +
str(len(title.tmd.content_records)) + " (" +
str(len(title.tmd.content_records)) + " (Content ID: " +
str(title.tmd.content_records[content].content_id) + ", Size: " +
str(title.tmd.content_records[content].content_size) + " bytes)...")
content_list.append(libWiiPy.download_content(tid, title.tmd.content_records[content].content_id,
wiiu_endpoint=wiiu_nus_enabled))
@ -353,7 +354,8 @@ class MainWindow(QMainWindow, Ui_MainWindow):
try:
for content in range(len(title.tmd.content_records)):
progress_callback.emit(" - Decrypting content " + str(content + 1) + " of " +
str(len(title.tmd.content_records)) + "...")
str(len(title.tmd.content_records)) + " (Content ID: " +
str(title.tmd.content_records[content].content_id) + ")...")
dec_content = title.get_content_by_index(content)
content_file_name = hex(title.tmd.content_records[content].content_id)[2:]
while len(content_file_name) < 8: