media-import
media-import copied to clipboard
Importing individual files?
I'd like to create a new deck with only some pictures from inside the folder. Is there a solution to select only a group of individual files?
I'm afraid there isn't a built-in way to do this. You will have to move them into separate directories.
Thanks! Is this a technical obstacle or maybe too difficult too implement?
It's mainly a UI problem and that it would take an amount of work that I'm not willing to spend to do it, mainly because there is already a solution available (move them to another directory).
If you're offering to contribute a solution, then:
I imagine we'd have to add an input to specify a string to match against, or to provide a regex, and maybe a way to preview which files matched so you don't have to keep retrying until it works as expected (I expect most people won't get the right pattern from the first try, and the add-on clears your mappings and creates a deck after you submit, which you'd want to delete). I'd also want this hidden until an option or advanced
toggle is selected to keep complex things off the main screen.
I have implemented a multifile selection.
I have not yet implemented a Regex search for the moment. Tell me what you think!
https://github.com/hssm/media-import/pull/12
I guess I misunderstood what you initially meant. I may have overcomplicated it because the subject of using regex has come up before and it's the first thing I thought of.
There is probably no need to show a preview of selected files if we are choosing them manually. Besides that, I'd need the file selection to be hidden by default, or placed somewhere that makes it clear you are choosing one mode over the other. Something like a small clickable link below the top row.
So something like this: Import mode: Folder. Switch to file selection. Import mode: Files. Switch to folder selection.
With the second bold part as clickable.