added stuff to TODO

This commit is contained in:
koraynilay 2021-02-05 01:15:57 +01:00
parent fc429502a3
commit f299346e16
2 changed files with 2 additions and 1 deletions

View file

@ -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):

View file

@ -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)