Add Fat32 removable device to index through IPC

Plug-in and third party software discussion.
Post Reply
jams
Posts: 34
Joined: Thu Mar 27, 2014 8:36 am
Contact:

Add Fat32 removable device to index through IPC

Post by jams » Sat Apr 25, 2020 10:12 pm

Hi,

What would be the best way to add a removable device (usb, sdcard ...) to the index when Everything is used without UI (through IPC calls)?
I guess I could modify the ini file through code, but it also means I need to stop/restart Everything?
Is there another way? Could the API be updated to support such a scenario?

Thanks.

void
Site Admin
Posts: 5459
Joined: Fri Oct 16, 2009 11:31 pm

Re: Add Fat32 removable device to index through IPC

Post by void » Mon Apr 27, 2020 1:35 am

Currently, you would have to modify your Everything.ini while Everything is not running.

I'll look into adding support to the Everything IPC to modify your index.
Thank you for the suggestion.

jams
Posts: 34
Joined: Thu Mar 27, 2014 8:36 am
Contact:

Re: Add Fat32 removable device to index through IPC

Post by jams » Mon Apr 27, 2020 7:22 pm

Thanks for your answer, it would be a great addition.
As a side question, in Everything windows when a new folder is added to index the database is automatically rebuild.
When doing the same through code I guess when I restart Everything (with -startup) I need to explicitly ask for a rebuild?

void
Site Admin
Posts: 5459
Joined: Fri Oct 16, 2009 11:31 pm

Re: Add Fat32 removable device to index through IPC

Post by void » Tue Apr 28, 2020 1:13 am

It is automated.

If you have modified the Everything.ini and started Everything, Everything will automatically pick up the new folder indexes and perform a quick reindex.

Post Reply