mirror of
https://github.com/derrod/legendary.git
synced 2025-08-26 20:11:04 +00:00
added stuff to TODO
This commit is contained in:
parent
fc429502a3
commit
f299346e16
|
@ -59,6 +59,7 @@ class log_dlm:
|
|||
def update_gui(self_log_dlm, self, perc, processed_chunks, num_chunk_tasks, rt_hours, rt_minutes, rt_seconds, hours, minutes, seconds, total_dl, total_write, total_used, dl_speed, dl_unc_speed, w_speed, r_speed, bar):
|
||||
bar.set_fraction(perc)
|
||||
bar.set_text(f"{dl_speed / 1024 / 1024:.02f} MiB/s - {(perc*100):.02f}% - ETA: {hours:02d}:{minutes:02d}:{seconds:02d}")
|
||||
bar.set_tooltip_text("") # show all infos that are also in update_cli()
|
||||
print(bar.get_text())
|
||||
|
||||
def update_cli(self_log_dlm, self, perc, processed_chunks, num_chunk_tasks, rt_hours, rt_minutes, rt_seconds, hours, minutes, seconds, total_dl, total_write, total_used, dl_speed, dl_unc_speed, w_speed, r_speed):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
# TODO: fix progress bar
|
||||
# TODO: fix progress bar, games' contextual menu, tooltip show all info progress bar
|
||||
|
||||
import sys
|
||||
# insert at 1, 0 is the script path (or '' in REPL)
|
||||
|
|
Loading…
Reference in a new issue