#3783 - Import from filesystem

This is a spacer post for a website comment topic. The content this topic relates to: #3783 - Import from filesystem
Actually on discussing this (https://compo.sr/forum/topicview/browse/deploying/installer-fails-to.htm?post_id=5672&topic_id=1310&timestamp=1551294888&redirected=1#post_5672) I can see some system that does this dynamically would be better. People aren't going to want to import media libraries and then stop editing filesystem structure.

A better way to do it would be to implement some kind of scanner hook system. When you go to a gallery, it may be bound to a directory path based on a hook's determination. That would then rebuild that gallery based on disk contents. Any images/videos that no longer existed would be unvalidated. Any images/videos that previously existed would be re-validated. This way comments would persist. Depending on exactly how the hook was written, we might migrate old image/video entries to a new gallery, if we detect a file has moved.
We could ship a default hook with some inbuilt assumptions.

Some kind of proxying script may also be needed, if the bound directory is not web accessible.

Possibly we'd do this for galleries too, in addition, or instead of, the import process.
0 guests and 0 members have recently viewed this.