media-import
media-import copied to clipboard
Remember media directory
It would be great if the add-on could somehow remember where my local pictures are stored.
I always import from (mostly) the same directory, but every time I open the Meadi Import dialog it at /home/nicolas/Anki/User 1/collection.media
. I guess nobody import pictures from that folder.
Thanks! :-)
You can specify you own initial dir, just find in mediaimport.py
line
QFileDialog.getExistingDirectory(mw, "Import Directory"))
and add third parameter in it like this:
QFileDialog.getExistingDirectory(mw, "Import Directory", 'c:/Users/nicolas/Documents'))
@ankitest : Thanks for the workaround, that works! :-)
You can also drag and drop a directory into the "Look in:" section on the left so it becomes permanent (or maybe this is only a Qt/KDE thing).
A permanent solution would be to store the chosen path in a preference.