kieraneglin / pinchflat

Your next YouTube media manager
GNU Affero General Public License v3.0
973 stars 20 forks source link

Disable all automated tasks during peek hours #406

Open 007-mark opened 1 week ago

007-mark commented 1 week ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

kieraneglin commented 1 week ago

Hey there! Thanks for the report (:

I'm not sure if/how this would fit in to the current downloading paradigm, but I'll look into it! Do you have any examples of other apps that do this that I can look into for inspiration?

007-mark commented 6 days ago

Hi,

Thank you for your reply!

I don't really know how to advise you since I don't know Elixir. What I can say is that I really like what you have created. All I can think of for now is to override job intervals to 'hourly' and skip tasks when needed. That should be fairly easy to implement, not break backward compatibility nor generate a huge overload. If that is an option, then a from and an until time interval field is all the web interface really needs. If set, these jobs run hourly but don't really do anything most of the time. Not the most elegant solution, I agree.

I can't really come up with good free web based examples for you to look at, qBittorrent allows you to define max time based upload and download speeds, But that's a lot more complicated to achieve. I guess a bit overkill though youtube might like lower download speeds.

Thank you for all the work you already have put into this project.

Nicely done!

kieraneglin commented 5 days ago

Thank you for the update! I just wanted to let you know that I'll be (mostly) out of cell service for just over a week starting tomorrow. But I'll keep thinking about this and see what I can come up with once I'm back!