(Automatic/one-tap) Photo upload to Owncloud
Hi,
I'm trying to work out a procedure for the easiest possible way to automate upload of pictures taken with the Jolla to an Owncloud server. We currently have no native application that can do it. What we do have is Rsync, and some powerful command line tools and Linux packages. With Rsync and the ShellEx application, we can reduce the effort needed to upload all new pics to Owncloud to one tap. What's stopping me right now is the problem: Where do I rsync to? Webdav is the only recommended upload solution for OC besides sync clients/apps and the web interface. Owncloud's webdav share needs to be mounted somewhere in order to have a target to rsync to. We currently cannot mount the share on the phone itself, although we have davfs2 on Openrepos. It won't install on my Jolla because of a dependencies error (maybe NielDK can shed some more light on this issue). If you have a root server that is always on and is not your Owncloud server, it should be easy for you to mount the OC webdav share there and rsync your Jolla pics to it. However, I have only my OC machine with an open internet port, so I have to mount the webdav to that. It's not working for me though, so I was hoping you guys could help me work out the proper mount options for a share *on the server that it comes from*. I have unsolved threads here and here. I know this part is not exactly a Jolla/SailfishOS topic, but it's part of the procedure that we could use with the tools we have at our disposal already and post it on TJC as a wiki, once all the details are clear. If I succeed to mount the share on the OC server and the channel is open, the next step could be some sort of daemon that monitors the folder where the camera saves the pics, and triggers the rsync command whenever a picture is taken. Suggestions for this are welcome. |
Re: (Automatic/one-tap) Photo upload to Owncloud
Just a suggestion: You could rip out the WebDAV implementation from Cargo Dock and use that. It shouldn't be too dependent on the UI, if at all.
https://github.com/pycage/cargodock/...api/davapi.cpp |
Re: (Automatic/one-tap) Photo upload to Owncloud
Quote:
http://talk.maemo.org/showpost.php?p...61&postcount=8 |
Re: (Automatic/one-tap) Photo upload to Owncloud
Quote:
Maybe someone who does can try and take a look? |
Re: (Automatic/one-tap) Photo upload to Owncloud
Quote:
|
Re: (Automatic/one-tap) Photo upload to Owncloud
Quote:
|
Re: (Automatic/one-tap) Photo upload to Owncloud
Quote:
No need for any kind of GUI there. [*] actually I am of a mind that less GUI-tweaking you need to do, the smarter your device is... |
Re: (Automatic/one-tap) Photo upload to Owncloud
can you have services on the Jolla? I thought it wasn't possible due to API restrictions and wakelocks?
|
Re: (Automatic/one-tap) Photo upload to Owncloud
Quote:
For example cron is one of most valuable things that I have in my device. |
Re: (Automatic/one-tap) Photo upload to Owncloud
Quote:
|
All times are GMT. The time now is 19:51. |
vBulletin® Version 3.8.8