youtube-dl
youtube-dl copied to clipboard
WebUI: Progress display for running downloads
There's currently no way to tell whether a download is still actually running or has stalled in the background. A simple way of displaying running downloads would be to trawl the downloads directory for .ytdl
files and simply displaying the current_fragment
stat from the JSON within, updating it every second or two. This won't help with seeing total progress, but it'll at least give an indicator whether a download is still moving along.
More advanced implementation ideas:
- keep track of currently running download processes and allow users to view the stdout logs for each
- run a no-download process on the URL to find the number of fragments, then use that and the
current_fragment
stat to display a rough progress percentage (with video/audio being 50% each? separate progress bars for either?)
seconded this. Recently found your project and it's by far the simplest and cleanest ytdl implementation. Love it. It's just missing some essential functions that hurt it a lot. mainly that there is NO way to tell what it's doing. don't even need something fancy like a progress bar; all it needs is a log view/tab. for example if I add a new channel to the list and save, I can't tell if it runs immediately or will just check it on the next interval.
also it might be good to add --embed-thumbnail and --embed-chapters to the default list.