kieraneglin / pinchflat

Your next YouTube media manager
GNU Affero General Public License v3.0
1.26k stars 23 forks source link

[FR] Default Download CutOff and Retention Values #451

Open warieon opened 1 week ago

warieon commented 1 week ago

Is your feature request related to a problem? Please describe. When setting up pinchflat and adding sources, a user may want to set up multiple channels, and have those use the same / set a default date for the cut off date and use the same / a default retention period.

Describe the solution you'd like Allow a cut off date options of "This month" or "Last 2/3 months" or similar - providing a rolling cut off date of the same interval period. Could also be weeks where the user can define default cut off date of last 6 weeks, enabling comparison of current date to determine the cut off date for the series.

The retention period should be able to be configured in Settings.

Both of these should be able to be defined in the Settings - perhaps the first source configured on initial app setup can pre-populate the default values in the Settings.

Describe alternatives you've considered A user may want to define a specific cut off date; however, this could be a changing/moving date in a year's time (ie, today I want 2024-10-30, but next year, I might want 2025-05-30 because I only want to pull videos from the last month when creating the source.

kieraneglin commented 1 week ago

Hey there! Thanks for the request (:

I think I understand what you're looking for, but I have a few questions to make sure I'm looking at this the right way:

warieon commented 1 week ago

Hey, No problem - thanks for the project - it may be alpha, but it looks really promising!

The goal is: Streamline the process of adding new sources by pre-populating commonly used settings.

The Download CutOff Date is where it would be good to have the quick select options - I'm particularly wondering if this field is auto-defaulted as per the above goal, then a user opting to not set a retention period could end up downloading all videos for a channel from that date, when perhaps they didn't intend to. For example, today I configured a couple sources and set them to 1/11/2024 as the cut off date. If this date is saved as this date, then next year when I add another source, I don't want the cut off date to be 1/11/24 - I'll want the date to be 1 week before the source was added.

I agree that the two features can be added separately - there's also the feature for the retention period to be saved and prepopulated. Happy to separate that out as a separate issue if you'd like.

Could also have a "preference setting" for the fast indexing of sources to be another pre-populated setting, but that perhaps should be a separate feature? (although does fall under the same goal above)

kieraneglin commented 1 week ago

Got it! Focusing on just the quick-select options for now, I think that's something that makes total sense and would be easy enough to add. I'll add that to the list and then we can go from there with the other suggestions!