blawar / nut

GNU General Public License v3.0
1.09k stars 189 forks source link

[Feature] Auto scan intervals #367

Open scottybuk opened 2 years ago

scottybuk commented 2 years ago

Hi, I use NUT on my windows server with gdrive mounted to that machine to serv the files remotely to my tinfoil at home.

I have to manually press the scan button every day to pick up new files, an option to have this automatically rescan would be awesome, thanks.

scottybuk commented 2 years ago

Call the scan api periodically https://github.com/blawar/nut/blob/master/Server/Controller/Api.py#L84 after looking into this some, I see what you mean. i will see if I can do this via a timed batch file, thanks.

i think the API requests should be documented more <3

falnos24865 commented 2 years ago

I'll second adding autoscan. Having to run an external script to trigger scanning is not always feasible.