tubearchivist / tubearchivist

Your self hosted YouTube media server

Home Page:https://www.tubearchivist.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Schedule to allow changes in download speed

Marthisdil opened this issue · comments

For example, during the work day/evenings, I want to limit it to say, 300KB/sec. However, starting at 10PM (after I've gone to bed and such), I'd like to uncap it (or change it to 1500KB/sec, etc) and have it be uncapped until say, 6AM the next morning.

commented

Hmm, that could come in handy, especially with limited bandwidth and multiple users in the network.

Will need some thinking on how that input would look like, and probably will have some limitations, probably wouldn't be able to change the speed during downloading of a video, but when starting the next in the queue.

Hmm, that could come in handy, especially with limited bandwidth and multiple users in the network.

Will need some thinking on how that input would look like, and probably will have some limitations, probably wouldn't be able to change the speed during downloading of a video, but when starting the next in the queue.

yeah - could look at it one of two ways:

  1. way tartube does it. can set a time range and speed limit (or no limit) during that time and any video passed to yt-dl/yt-dlp in that time period is changed from the default download speed limit

  2. full scheduler method - where you have the default speed, and then a scheduler speed...and then have a checkbox type 24x7 box where you can highlight where you want the scheduled speed to take effect.

commented

image

I've always been a huge fan of the qBittorrent scheduler, obviously that a little more advanced, but it is something to consider.

commented

@Marthisdil Hey, it's time to join us in realizing some of your ideas! We also need people who can help develop these things.

commented

I just discovered this project today, and this feature is the first thing I came looking for! I have a very poor rural internet connection, so a primary appeal of downloading yt content is to function as a cache that fills while my household sleeps so that those videos are ready to play with no delay and without using precious bandwidth while the household is awake. qBittorrent's implementation is great, but anything along these lines would be an excellent addition and I hope to see it remain a priority for future development.

As mentioned in #388, it would be a nice temporary solution to have a "stop queue schedule". Since we already have a start schedule that would allow for some basic scheduling of large download queues.

That has been sitting here for a long time, nobody wanted to take this on. Unlikely that this will been worked on anytime soon. If you really need it, feel free to implement it.

Alternatively there are other methods of bandwidth control, some router offer that functionality, a proxy container could work too, iptables offers that functionality aswell. Plus in the future config values will be exposed through the API allowing you to implement that through that as well.