kannagi0303/yt-dlp-gui

Strange behavior with "Elapsed Time"

bashekis opened this issue · 2 comments

The "Elapsed" area, when downloading, doesn't actually show how much time has elapsed. Instead, it rapidly cycles through seemingly random amounts of time, as shown in the video I attached.
https://github.com/kannagi0303/yt-dlp-gui/assets/88009182/859d58e3-07e1-43f3-94ef-55f89e317a0f

The GUI simply displays the messages generated by executing the command line, so I cannot determine the issue from this.

@kannagi0303 Raising an old issue, I believe the "Elapsed" field should be renamed to "ETA", as that is what is being reported by the YT-DLP command line. Sure this is based on average speed and may jump around based on chunk sizes, but the ETA is being reported not the Elapsed time since start.

Data.DNStatus_Infos["Elapsed"] = d.GetValueOrDefault("eta", "0s");