Subj : FileBase - Add to batch downloads?
To   : Digital Man
From : Nightfox
Date : Wed Jan 26 2022 09:31 am

Hi DM,

Synchronet's JS object model has had bbs.batch_add_list() for a while now. With each file in the list, it has to search the whole file database to see if and where the file exists in the filebases.

Now that there is a FileBase class, I'm wondering if it would make sense for the FileBase class to have a similar batch_add function, for files just within that filebase?  I've been working on a lightbar file lister, and if the user wants to add one of the files in that filebase to their batch download queue, I was thinking it might make sense for the FileBase class to have its own batch_add function, so that Synchronet wouldn't have to search through all of the filebases for that file.

If there already is such a function in the FileBase class, I'm not seeing it in the current documentation..  Maybe I missed it?
http://www.synchro.net/docs/jsobjs.html#FileBase_class

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com