Open GoogleCodeExporter opened 9 years ago
What are you referring for "album date"? As I understand only are available two
timestamps: "published" (I guess means created, not sure...) and "updated".
Try this:
google picasa list-albums --fields title,published,updated
Original comment by ferranb@gmail.com
on 29 Sep 2010 at 1:56
The argument "--fields" doesn't exists in the man page nor the values
"published" and "updated".
The field "published" is actually what I referred.
In the GData Java API we have "Date date = album.getDate()".
When we use Picasa, the album's date is got from the metadata field of the
first photo with the date taken.
Original comment by oxes...@gmail.com
on 29 Sep 2010 at 12:44
Attachments:
So, the "defect" is documentation (man page).
Original comment by oxes...@gmail.com
on 29 Sep 2010 at 12:46
The date you are referring in the screen-shot is retrieved through "published".
To demonstrate:
1. Run: google picasa list-albums --title album_name --fields published
2. Change the date through web
3. Run again command in step 1
Original comment by ferranb@gmail.com
on 30 Sep 2010 at 12:07
Running "google --version" I get "google 0.9.10"
Running "google picasa list-albums --title album_name --fields published" I get
"google: error: no such option: --fields"
Running "google picasa list-albums --title "Dia dos Pais" published" it runs
fine; I get "
2010-08-08T12:00:00.000Z
2007-08-12T12:00:00.000Z
2003-08-10T12:00:00.000Z
"
I don't have doubts about how to use it. But... there is some inconsistency
between our versions. Besides the "--fields" issue, in your manpage, are the
fields "published" and "updated" shown? In my manpage, there is nothing about
this two fields.
There is no software bug here. The guilt is the documentation I have.
Thanks for the attention.
Original comment by oxes...@gmail.com
on 30 Sep 2010 at 1:10
The inconsistence happens because I'm running the version in trunk. Sorry the
confusion...
Original comment by ferranb@gmail.com
on 1 Oct 2010 at 10:17
Better documentation and support for list fields would be nice.
You can get the album title in there too if you do something like
google picasa list-albums --title "Dia dos Pais" name,published
will also give the full name of the album. See the Manual wiki page for more on
list fields.
And those publication dates can be cleaned up for human readability.
Original comment by thmil...@google.com
on 6 Oct 2010 at 4:45
Original issue reported on code.google.com by
oxes...@gmail.com
on 17 Sep 2010 at 6:24