Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for other online storage #10

Open
eephyne opened this issue Jul 29, 2015 · 6 comments
Open

support for other online storage #10

eephyne opened this issue Jul 29, 2015 · 6 comments

Comments

@eephyne
Copy link

eephyne commented Jul 29, 2015

I see there is facebook and flickr sync but could it be possible to add more of self hosted online storage?

I use owncloud so I'm mainly talking about webdav but samba share is also a good idea.

I know I can mount them in the system but I prefer not and let the app directly connect to it (I found this proper and safer).

If you think this is a good idea but you don't have the time to do it, maybe you could help me do it

@spillz
Copy link
Owner

spillz commented Jul 29, 2015

Yes, this is something that needs to be done. Facebook and to a lesser
extent flickr are walled gardens, and their companies are not interested in
really supporting sync from third party apps. As a result, this feature
doesn't work very well for either. (Its basically non-functional for
Facebook.) In the past I had a plugin that just supported basic upload to
these more difficult services. Maybe I need to go back that that and save
the browsing feature for something like Dropbox and self hosted clouds.

Unfortunately I don't know a lot about either WebDAV or Samba and how one
would go about managing a photo collection through them. It would take some
research on my or your end. I am guessing that if this is something people
do that there is a python lib for it somewhere!

Another option might be to make an interface with an open source web-based
photo manager app. Gallery ( http://galleryproject.org ) recently stopped
development but maybe there are others?
On Jul 29, 2015 5:41 AM, "eephyne" notifications@github.com wrote:

I see there is facebook and flickr sync but could it be possible to add
more of self hosted online storage?

I use owncloud so I'm mainly talking about webdav but samba share is also
a good idea.

I know I can mount them in the system but I prefer not and let the app
directly connect to it (I found this proper and safer).

If you think this is a good idea but you don't have the time to do it,
maybe you could help me do it


Reply to this email directly or view it on GitHub
#10.

@eephyne
Copy link
Author

eephyne commented Jul 29, 2015

I use piwigo for self hosted gallery and I think they have an api to access it

@spillz
Copy link
Owner

spillz commented Jul 29, 2015

Looking at the API here: http://piwigo.org/demo/tools/ws.htm#top

It looks picty could use "pwg.categories.getImages
http://piwigo.org/demo/tools/ws.htm#top" with an empty category id to get
the list images to enable browsing and there are methods for
adding/removing/modifying/retrieving images and metadata just like there is
for flickr. But I don't see an way easy to get the changeset for
added/deleted/updated images from a given date, which makes client side
caching more difficult and slow. (I have the same problems with Flickr and
Facebook.)

On Wed, Jul 29, 2015 at 8:48 AM, eephyne notifications@github.com wrote:

I use piwigo for self hosted gallery and I think they have an api to
access it


Reply to this email directly or view it on GitHub
#10 (comment).

@spillz
Copy link
Owner

spillz commented Jul 29, 2015

For what it's worth, dropbox has a method called "delta" in its python
library. It retrieves a changeset for a path, which makes syncing much
easier: https://www.dropbox.com/developers/core/docs/python

On Wed, Jul 29, 2015 at 1:30 PM, Damien Moore damienlmoore@gmail.com
wrote:

Looking at the API here: http://piwigo.org/demo/tools/ws.htm#top

It looks picty could use "pwg.categories.getImages
http://piwigo.org/demo/tools/ws.htm#top" with an empty category id to
get the list images to enable browsing and there are methods for
adding/removing/modifying/retrieving images and metadata just like there is
for flickr. But I don't see an way easy to get the changeset for
added/deleted/updated images from a given date, which makes client side
caching more difficult and slow. (I have the same problems with Flickr and
Facebook.)

On Wed, Jul 29, 2015 at 8:48 AM, eephyne notifications@github.com wrote:

I use piwigo for self hosted gallery and I think they have an api to
access it


Reply to this email directly or view it on GitHub
#10 (comment).

@eephyne
Copy link
Author

eephyne commented Jul 30, 2015

I looked into webav client myself and the issue I see is that you need to retrieve each image to get the thumb.
So we need to find another way to get it or disable it for online storage like that. (Piwigo can bypass that I guess since they provide thumb ).

Anyway that look a lot more difficult to do that I imagined since it implies a change in the core of picty

@eephyne
Copy link
Author

eephyne commented Jul 30, 2015

It's maybe overkill but a lead could be to add your own daemon to the online server. A headless picty used to communicate with the local one.
Of course this method is not possible with mutualized hosting but it's a start (or we can code the daemon in a php way but it force to have a web server daemon running)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants