question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement download progress indicator for individual media

See original GitHub issue

On PlaylistDownloadScreen, implement the download circular progress indicator for individual media items:

Screen Shot 2022-09-01 at 08 44 29

The UI model DownloadMediaUiModel already contains the progress information in field Downloading.progress, and the screen is already displaying the progress label (“68% of 13MB” or “Waiting…”).

If Downloading.progress is Waiting then it should display an indeterminate circular progress indicator:

Screen Shot 2022-09-01 at 08 49 38

If Downloading.progress is InProgress then it should display a determinate circular progress indicator, using the InProgress.progress field as value:

Screen Shot 2022-09-01 at 08 49 27

InProgress.progress is currently defined as String, it would be nice to change it to Float and adapt the code accordingly.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
luizgrpcommented, Sep 20, 2022
1reaction
oas004commented, Sep 21, 2022

Sweet! Thanks for looking into this @luizgrp 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to write a download progress indicator in Python?
The progressbar module is very easy to use, yet very powerful. ... Using a single carriage return at the beginning of your string...
Read more >
Custom Progress Indicator/Stepper for upload, download and ...
A CSS and Javascript walkthrough on how to create a simple progress indicator that can be used for upload and download than another...
Read more >
Flutter Download Progress Indicator || Essential - YouTube
In this tutorial, I demonstrate how to create download progress indictor in Flutter.With help of dio and path_provider library we can ...
Read more >
Tracking Download Progress with ... - Medium
Let's start! We start by creating a single view iOS application in Xcode. What this app is going to do is: download an...
Read more >
How can I add a progress bar to track download ... - Reddit
How can I add a progress bar here? I tried tqdm and python-progressbar, but neither worked. import requests, re link = "https://web.archive.org/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found