Open ezzra opened 6 years ago
Hello, Do you plan to propose a patch to implement that?
Any news ? If not closing in a few weeks.
I guess webdav support would be needed first
I think all that'd be needed is a full local directory sync (using inotify or some such). No need to deal with webdav.
I think I've read somewhere that local directory sync is in the plan/works, @ildyria can you confirm?
I think all that'd be needed is a full local directory sync (using inotify or some such). No need to deal with webdav.
I think I've read somewhere that local directory sync is in the plan/works, @ildyria can you confirm?
I was going to work on that but hadn't gotten around to it. We're now on the verge of releasing v4 (Lychee-Laravel) and I have yet to look into how to implement it there. From early research it should be fairly straightforward though.
I started having a quick look. Sadly I won't have the time to dive deeper.
Aside from getting the Storage::put()
to work this will require a lot of refactoring. The reason being that currently we:
Basically this requires to move the thumbnail generation before the Generation of the photo object. This will require significant rewrite of the code which I don't have the time at the moment.
I am currently doing a huge refactoring of the code, which hopefully will simplify this part.
Rather than trying to directly integrate with NextCloud, could Lychee be configured to look for photos in a local folder? That path could be pointed to the NC Data folder that contains the Photos and then when you upload a photo to NC, it could be detected and added to the Lychee Library?
PhotoView uses this type of functionality, so you can continue using NC to manage your files and PhotoView gives you a "separate" gallery to view them in a nice way.
could Lychee be configured to look for photos in a local folder?
Essentially, yes.
Rather than trying to directly integrate with NextCloud, could Lychee be configured to look for photos in a local folder? That path could be pointed to the NC Data folder that contains the Photos and then when you upload a photo to NC, it could be detected and added to the Lychee Library?
PhotoView uses this type of functionality, so you can continue using NC to manage your files and PhotoView gives you a "separate" gallery to view them in a nice way.
I like that, but i was aiming on some UI integration over maybe WebDAV and also have the auto scan manageable from the UI itself and not Cron...
manageable from the UI itself
Not automated, but just to mention that there's also "Import from server" in the UI that does the same as the CLI command.
What about the long running Lycheesync? It has been around forever and serves the purpose of adding an arbitrary directory to lychee. Coded in Python.
What about the long running Lycheesync? It has been around forever and serves the purpose of adding an arbitrary directory to lychee. Coded in Python.
That only works with Lychee v3
Similar to dropbox, there could be an option to import photos from Nextcloud installations.