EchterAlsFake / Porn_Fetch

Cross-Platform Porn (Hub) downloader with Account Login and Searching support
GNU General Public License v3.0
132 stars 22 forks source link

[Feature Requests] Sort by duration #37

Open efraxs opened 6 months ago

efraxs commented 6 months ago

Hello ill like to be able to sort by duration and have some options when i use select like more than X time Duration and first or last X

EchterAlsFake commented 6 months ago

Thanks for your ideas. I'll implement them the next days and let you know when it's done :)

EchterAlsFake commented 6 months ago

So I've implemented it now.

The time sorting works now by checking the checkbox at the top of the tree widget. After that sorting is enabled for the length, title and author. Just click on the length to sort from lowest -> maximum and click again to reverse it.

The range selecting now works by clicking the button "Select a range of videos". It will open another widget with two boxes, where you can specify the start end the end. All videos between this will be checked.

Thanks for your ideas. I've added you into the credits. Have an awesome day :)

Edit: I wasn't able to implement your original approach with "slect more than x time" or something similar. Please sort by time instead and then use the range selector. This is basically the same, but easier to implement for me.

So if you want to check all videos between 10 minutes and 20 minutes you first sort by time, and then look which videos are between that and write the index to it.

(I just need to redraw the indexes real quick)

EchterAlsFake commented 6 months ago

Update:

So I now implemented your original approach xD. You can use the range selector and apply a starting time and an end time. All videos between that will be checked.

I hope this is how you wanted it to be :)

Maybe you can test it out and tell me if I should change thins or if it's okay as it is.

efraxs commented 6 months ago

It looks good just a lil confusing how to check time but i know it will be optimize in future updates

EchterAlsFake commented 6 months ago

Thanks for your feedback. I'll make it simpler in the next release :)