BootBlock / FileSieve

The official repository for the FileSieve application that sorts files using a variety of options.
https://filesieve.com
3 stars 0 forks source link

Add a "transient" bucket-sorting mode #95

Open BootBlock opened 3 years ago

BootBlock commented 3 years ago

~To be written as it can be a complicated idea.~

Thinking about this more, this should be done in a generic way such as the way the Modifier works. A Modifier runs after the main file sorting, but this new addition would have to be done before the file sorting is performed as to allow all existing Methods to continue to function and also maximise flexibility.

This may have to be a v5.00 (#82) feature and it'll require a new step within the processing core; biggest and most messy would be all the UI elements and it would be another violation of DRY.

BootBlock commented 3 years ago

For more information on the "transient bucket-sorting mode"...

Say you have the following files, in the form of emulation ROMs to use a real world example:

Without direct scripting, how would you pick out the most relevant version of each game? "Relevant" in this case is a game that has (U) [!] in its filename, with fall-back support for each respective game if those characters aren't present; a priority system would be required.

FileSieve can perform folder-level picking for a single target but not within a single folder with multiple pick targets.

The alternative for this would be to just write this as a Method that would work within the current version of FileSieve but wouldn't work in tandem with other Methods, which may actually be fine in the end. Maybe use a Method for v4.xx but a pre-sorting "Modifier" for v5.00.