Lychee
Lychee copied to clipboard
Add Nextcloud support
Similar to dropbox, there could be an option to import photos from Nextcloud installations.
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:
- upload the picture
- place it in the said folder and delete the tmp_file
- Generate the exif data, dimensions etc
- Generate the Photo object (record in the DB)
- Generate the thumbs.
- Save
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.
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.