Grayjay.Desktop
Grayjay.Desktop copied to clipboard
Bug: UMP downloads show incorrect file sizes and percent complete
Reproduction steps
- Find a YouTube video to download (preferably a longer one; longer than 20 minutes).
- Click the kebab icon, and select "Download Video."
- Wait for the download dialog window to finish loading. If the download type is not UMP, close the dialog window, and watch a few YouTube videos until YouTube forces GrayJay to use UMP.
- Select a download resolution of at least HD, or the highest resolution available, if HD is not available.
- Go to the Downloads screen by clicking the icon in the left navigation bar.
- Once the download has started, note the file size and monitor the percent complete for the downloading video.
Actual result
- The expected file size is impossibly small (and occasionally changes as download continues).
- The download percent complete climbs quickly and continues past 100%.
- The download speed is impossibly high (in the tens of GB per second on a max 500 Mbps connection).
- Eventually, the download will fail, but no failure is indicated by GrayJay. The download stats simply stop updating, and GrayJay thinks the file download is ongoing.
In the example image below, the actual downloaded file size is around 6.5 GB.
Expected result
- The expected size of the complete downloaded file is shown in the lower-left of the video thumbnail
- The download percent complete is shown in the lower-right.
- The true speed of the download is displayed in the lower-right.
- Download failure is indicated by GrayJay as a failure.
Grayjay Version
9
What plugins are you seeing the problem on?
Youtube
Plugin Version
279
Which operating system are you using?
Linux
Which OS version are you using?
Ubuntu 22.04.5
Are you using flatpak?
- [ ] Check this if you installed flatpak version for Linux. If unsure, leave blank.
When do you experience the issue?
- [x] While logged in
- [x] While logged out
- [ ] N/A
Are you using a VPN?
No
References
No response
Relevant log output
Fixed in v11.