Comments (6)
Is there a way/option to set the maximum concurrent downloads?
There isn't currently, but I've been slowly building towards this feature. In the next update, downloads will be tracked by the server, and there will be a downloads manager where you can see the progress of each download and any errors if they occur. This is the first iteration, so it only works for downloads from the home page (not subscriptions). There's also no queue yet. It'll require a refactor of the current system to support that, but about half of the work has already been done.
As this is a background downloader, it's okay to have as low as one active video download to avoid OOS situation on the server and not to overload the Internet line.
You're absolutely right. While you can control how often subscriptions get checked, there's no download-limiter which can cause issues, I've gotten these 429 errors from youtube-dl which is basically YouTube blocking your IP from downloading videos for a day because of the volume of traffic.
I want to end up with a system that's easy to control. Allowing people to set the --sleep-interval SECONDS
parameter comes to mind. When used with a channel/playlist it delays each video downloaded by the given amount. That, combined with a visible (and maybe editable?) queue where you can set maximum concurrent downloads (channels/playlists would be considered 1 download).
There are some videos that only the beginning few minutes are playable, the rest of them are choppy or even unwatchable. Seems like that some partitions of the videos are not downloaded correctly. Is there an option to report such error and control the number of retries for failed segment?
There's a delete and re-download button if it's a subscription file. Just click on the 3 dots on the top-right of the video card, the option should show. I haven't experienced your problem, however, so that might be a bug to look into. Let me know if you see any patterns or errors regarding the file corruption.
from youtubedl-material.
That definitely sounds possible. Maybe in the upgraded downloads system the server can periodically check the current downloads for any signs of errors (such as any files with the string .f*.mp*
in them).
Hopefully redownloading the videos can serve as a workaround until this better downloads management system gets implemented.
from youtubedl-material.
I noticed that for playlist/channel download. The video that appear corrupted will have a .mp4 file and a smaller .mp4.f140 file saved to the folder. The data in .f140 file is MP4 video data. It looks like it's a segment of video data that didn't get merged into the final MP4.
from youtubedl-material.
Hmm that sounds like the downloads are just getting cut off at some point, not sure if it's youtube-dl or YouTube doing it. Is it usually for large playlists/channels or are small ones affected as well? I'm wondering if it's the many concurrent downloads that's causing them to fail.
from youtubedl-material.
It happened to a playlist with 18 videos so the list doesn't need to be very big to trigger this situation. Is it possible to check for those .f140 files as a hint of failure? On the same list, videos without the .f140 files plays without any issue.
from youtubedl-material.
Closing this issue as I'm consolidating related feature requests to #411 and #397!
from youtubedl-material.
Related Issues (20)
- Support for newer npm/node? HOT 3
- [BUG] Default MP3 Audio Arguments Persists Despite Global/Custom Arguments
- [BUG] unable to get it working HOT 1
- [BUG] Download only mode downloads videos twice HOT 1
- [FEATURE] Notifiarr support
- Gluetun Docker Support
- "Subscription: getting list of videos" takes long time HOT 3
- [FEATURE] Is it possible to override the download path for subscription
- [BUG] Container will not be able to run properly non-privileged HOT 1
- [FEATURE] Set default max quality in config
- How to reset Users account ?
- [BUG] Content does not refresh when switching between subs using side menu
- [BUG] Scheduling a task hangs application, won't start fully HOT 1
- [FEATURE] Make mounted folders paths configurable using environment variable
- [BUG]
- [BUG] Searching goes on forever HOT 2
- YoutubeDl material doesnt download a subscription. HOT 2
- [BUG] pm2 not declared as dependency
- [BUG] Skipping player responses from android clients HOT 1
- [BUG] Can't add subscriptions. It just loads forever and never adds the channel.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtubedl-material.