lespas icon indicating copy to clipboard operation
lespas copied to clipboard

Extract media from les pas private storage ("export all"-) option #FeatureRequest

Open raphaelporsche opened this issue 2 years ago • 4 comments

Hi @scubajeff,

I know, that you probably thought about this a lot, since you mentioned your reasoning (privacy) in the readme file, but I wanted to give you 2 arguments for giving the user the option to store media in an external directory.

  1. Preventing data loss. Uninstalling les pas would no longer remove all users media (see https://github.com/scubajeff/lespas/issues/56).
  2. Decoupling from nextcloud backend. Les pas could be used as a local gallery and album manager and the external media directory could be synced for example through syncthing (p2p) or foldersync (FTP, SSH, Samba, Webdav, a lot of cloud providers).

I'm curious about your opinion.

raphaelporsche avatar May 07 '22 14:05 raphaelporsche

All your points are valid. But there is a technical reason why the change is not a easy jump. Les Pas saves all local image files in a single folder and name them with a unique internal id, the actual folder/file structure map is stored in a database. I would say it's nearly impossible to do the refractoring.

scubajeff avatar May 07 '22 15:05 scubajeff

Okay, now I understand your decision (of course my first point would still be valid in this case). I think les pas needs a way to export all media from les pas private directory in that case (something like a new hamburger-menu entry point "Export all local media"). It would definetly feel more safe to move (instead of copy) media to les pas, then.

raphaelporsche avatar May 07 '22 17:05 raphaelporsche

I would rather pay more attention on fixing the 'waggy' sync

scubajeff avatar May 08 '22 11:05 scubajeff

Since les pas saves media in its private storage and currently there is no way to extract them (but going in each album individually and selecting each image individually and then share them to a file app), I think, there should be a better way to extract images without having access to nextcloud. Without this it is dangerous to move files to les pas.

raphaelporsche avatar May 09 '22 11:05 raphaelporsche