Create a plugin which behaves like the auto folder creation, but not in a static way. When using the current auto folder feature, folders are created and stored in the db. With this plugin, the folders will be created on the fly depending on what's currently stored in the library.
Information needed to define a AutoFolderPlugin:
- What to use for creating sub-folders? (genres, languages, directors etc.)
- Sort order (ascending, descending)
- Minimum occurrences threshold. This is a new setting. If you e.g. choose to create those folders on director and set the threshold to 2, Only directors where you've got two or more films of in the library will be shown.
- Ideally a sub-folder structure defining how each created folder would contain should be added. E.g. for adding the default Detailed folder to all genre folders