salimoha / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Operate on individual pictures of picasa web albums #275

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. google picasa delete --title Prueba --query 20100424_181826-
img_1140.jpg

No photos matching 20100424_181826-img_1140.jpg

2. $ google picasa get --title Prueba 20100308_164217-img_1360.jpg

Downloading 20100308_164217-img_1360.jpg to 
20100308_164217-img_1360.jpg/Prueba/20100308_164217-img_1360.jpeg
Downloading 20100308_164217-img_1360.jpg to 
20100308_164217-img_1360.jpg/Prueba/20100308_164217-img_1360.jpeg-1
Downloading 20100424_181826-img_1140.jpg to 
20100308_164217-img_1360.jpg/Prueba/20100424_181826-img_1140.jpeg

3.$ google picasa get --title Prueba --query 20100308_164217-img_1360.jpg
Must provide destination of album(s)!

4.$ google picasa get --title Prueba --query 20100308_164217-img_1360.jpg prueba
Downloading 20100308_164217-img_1360.jpg to 
prueba/Prueba/20100308_164217-img_1360.jpeg
Downloading 20100308_164217-img_1360.jpg to 
prueba/Prueba/20100308_164217-img_1360.jpeg-1
Downloading 20100424_181826-img_1140.jpg to 
prueba/Prueba/20100424_181826-img_1140.jpeg

What is the expected output? What do you see instead?

I expect the photo with the title 20100424_181826-img_1140.jpg is deleted from 
the album "Prueba", instead I get:

No photos matching 20100424_181826-img_1140.jpg

In the second example I want to download just one picture of the album Prueba, 
but I get all the pictures downloaded inside a folder named as the photo I 
wanted to download, the third and fourth are tries of the same action.

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?

$ google --version
google 0.9.9

$ dpkg-query -l *gdata*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/
Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-
============================================
ii  libgdata-commo 0.5.2-0ubuntu1 Library for accessing GData
webservices - co
ii  libgdata-googl 2.28.3.1-0ubun Client library for accessing Google
POA thro
ii  libgdata1.2-1  2.28.3.1-0ubun Client library for accessing Google
POA thro
ii  libgdata1.4-ci 1.4.0.2-3      Google GData CLI client library
ii  libgdata6      0.5.2-0ubuntu1 Library for accessing GData
webservices - sh
ii  python-gdata   1.2.4-0ubuntu2 Google Data Python client library

Please provide any additional information below.

Redirected from 
http://groups.google.com/group/googlecl-discuss/browse_thread/thread/e25265224de
4a00a# where I explained my issues.

Original issue reported on code.google.com by jne...@gmail.com on 2 Sep 2010 at 8:45

GoogleCodeExporter commented 9 years ago
I'm looking at doing a --photo flag to specify photo names.  It'll act a lot 
like --title, just for photos.  So in each of those instances, replacing 
--query with --photo will give the correct results.

For completeness's sake -- the query option documentation for Picasa says it 
"Searches the title, caption and tags for the specified string value."  What 
they mean is "Searches the ALBUM title, PHOTO caption and PHOTO tags for the 
specified string value"

Original comment by thmil...@google.com on 2 Nov 2010 at 12:06

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r492.

Original comment by tom.h.mi...@gmail.com on 2 Nov 2010 at 5:48

GoogleCodeExporter commented 9 years ago
Issue 189 has been merged into this issue.

Original comment by thmil...@google.com on 2 Nov 2010 at 7:29