2014-03-04 21:25:10 +00:00
|
|
|
|
|
|
|
Picasa Importer
|
|
|
|
===============
|
|
|
|
|
2018-01-30 11:02:56 +00:00
|
|
|
This is a working Perkeep importer for Picasa. So far it can import
|
2014-03-04 21:25:10 +00:00
|
|
|
all photos but not their metadata.
|
|
|
|
|
|
|
|
To use:
|
|
|
|
|
|
|
|
1) Retrieve an api credential from a project of you from
|
|
|
|
https://console.developers.google.com/
|
|
|
|
Select/create a project, then under APIs & auth / Credentials, create a new
|
|
|
|
web application client id.
|
|
|
|
|
|
|
|
2a) Start the devcam server with picasakey flag:
|
|
|
|
$ devcam server -verbose -picasakey='Client ID:Client secret'
|
|
|
|
|
|
|
|
2b) Place the Client ID and the Client secret in your (low-level) server-config.json:
|
|
|
|
|
|
|
|
"/importer-picasa/": {
|
|
|
|
"handler": "importer-picasa",
|
|
|
|
"handlerArgs": {
|
|
|
|
"apiKey": "Client ID:Client secret"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
and start your camlistore server.
|
|
|
|
|
|
|
|
3) Navigate to http://<server>/importer-picasa/start and authorize the app
|
|
|
|
to manage your Photos.
|
|
|
|
|
|
|
|
4) Watch import progress on the command line (start devcam with -verbose flag).
|
|
|
|
|
|
|
|
|
|
|
|
TODO
|
|
|
|
----
|
|
|
|
|
|
|
|
* The used OAuth2 scope is for managing (read & modify) photos, but this
|
|
|
|
needs only read rights. Is a stricter scope available?
|
|
|
|
* The album's author name is not used yet, and the album's short name is needed.
|
|
|
|
* Picasa Web dumps a lot of metadata on us. Which would be usable?
|
|
|
|
|
Rename import paths from camlistore.org to perkeep.org.
Part of the project renaming, issue #981.
After this, users will need to mv their $GOPATH/src/camlistore.org to
$GOPATH/src/perkeep.org. Sorry.
This doesn't yet rename the tools like camlistored, camput, camget,
camtool, etc.
Also, this only moves the lru package to internal. More will move to
internal later.
Also, this doesn't yet remove the "/pkg/" directory. That'll likely
happen later.
This updates some docs, but not all.
devcam test now passes again, even with Go 1.10 (which requires vet
checks are clean too). So a bunch of vet tests are fixed in this CL
too, and a bunch of other broken tests are now fixed (introduced from
the past week of merging the CL backlog).
Change-Id: If580db1691b5b99f8ed6195070789b1f44877dd4
2018-01-01 22:41:41 +00:00
|
|
|
See https://perkeep.org/issue/391
|