Issue 448 in googlecl: Avoid duplication of photos on the same album (googlecl picasa upload)

6 views
Skip to first unread message

goog...@googlecode.com

unread,
Nov 20, 2011, 3:58:51 AM11/20/11
to google...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 448 by brunolu...@gmail.com: Avoid duplication of photos on the
same album (googlecl picasa upload)
http://code.google.com/p/googlecl/issues/detail?id=448

===NOTE===
If you're asking for a new service that isn't supported by gdata-python-
client, this will immediately get flagged as WontFix.
==========

What service (Calendar, Docs, Picasa) should be enhanced?
Picasa

What is the enhancement?
Avoid re-uploading the same photos to the same album, this will produce
duplicates. The default behavior should be to not upload photos already in
the album. An option could be added to modify this default and allow the
creation of duplicates.

goog...@googlecode.com

unread,
Apr 1, 2012, 8:45:50 AM4/1/12
to google...@googlegroups.com

Comment #1 on issue 448 by moro...@gmail.com: Avoid duplication of photos
on the same album (googlecl picasa upload)
http://code.google.com/p/googlecl/issues/detail?id=448

IMHO, it should be left as is by default, with a --replace option added
that does an optional 'get', check and 'delete' if required.

Googlecl is primarily useful for further scripting, rather than literally
typing the commands on the cli. Doing a replace using the gdata-python
library requires a 'get' to find existing photo, a 'delete' to delete it if
it exists, and finally a 'post' to put up the new version. And doing
a 'get' per-photo to check whether to for a replace by default is
inefficient, especially when many scripts will be batch processing.

In my own batch upload scripts, I do a 'get' on the album to retrieve the
photo's that are currently there, then check (and remove) against those I'm
uploading. This is far more efficient than doing a 'get' on each photo.

Reply all
Reply to author
Forward
0 new messages