Announcement

  •  » Extensions
  •  » Google2Piwigo metadata synchronization

#1 2013-01-28 11:22:35

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Google2Piwigo metadata synchronization

Hi mistic100,

Does import from Picasa Web Albums automatically syncs metadata?

Offline

 

#2 2013-01-28 16:43:04

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Google2Piwigo metadata synchronization

which metadatas ?
I only add fields provided by Google API (name, dat_creation, author, description, tags)

if add_uploaded_file() doesn't sync file metadatas, I don't

Offline

 

#3 2013-01-28 16:46:03

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Google2Piwigo metadata synchronization

add_uploaded_file performs a sync_metadata(array($image_id));

The missing data is date_creation.

Doesn't Google2Piwigo overwrites the "metadata synced" date_creation with an empty date?

Offline

 

#4 2013-01-28 16:57:07

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Google2Piwigo metadata synchronization

I Google API returns an empty string and you checked the checkbox, yes

Offline

 

#5 2013-01-28 16:58:23

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Google2Piwigo metadata synchronization

wait, do you use the published version or the SVN version ?

because I corrected a bug in [Subversion] r19834

Offline

 

#6 2013-01-28 17:05:20

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Google2Piwigo metadata synchronization

I was using the published version and now I have applied the change introduced on [Subversion] r19834

Offline

 

#7 2013-01-28 17:36:53

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Google2Piwigo metadata synchronization

With the change it's fine! Thank you mistic100 (maybe you can publish a new version if you have no other changes under test)

Offline

 

#8 2013-01-29 19:49:18

stanelie
Member
2012-12-12
17

Re: Google2Piwigo metadata synchronization

Is there a way for the plugin to preserve the original filename of the picture instead  of having something like picasa-5668378322182782962.JPG?

Offline

 

#9 2013-01-29 19:56:33

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Google2Piwigo metadata synchronization

I'm not even sure Google API returns something which can be a filename (without special chars)

Offline

 

#10 2013-01-29 19:59:53

stanelie
Member
2012-12-12
17

Re: Google2Piwigo metadata synchronization

Well,

If I import a bunch of pictures from a picasaweb album, the title of each  picture IS the original filename, minus the file extension. Example : IMG_2820.

However, if I clic on that picture in Piwigo, under the picture in the information section, I get "File
    picasa-5668378321426654930.JPG".

So, the filename information is available somewhere since it got translated as picture title...

Offline

 

#11 2013-01-29 20:15:47

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Google2Piwigo metadata synchronization

but if you rename photo title on Picasa ?

The field I get is "$photoEntry->mediagroup->title->text", it's clearly the title, not the filename

Offline

 

#12 2013-01-29 20:17:46

stanelie
Member
2012-12-12
17

Re: Google2Piwigo metadata synchronization

So, I guess it just happens that my pictures are titled after the file name of the actual files.

When I click on "download" next to a picture in a picasaweb album, the original file name is shown in the save dialog. Maybe this information is not available through the google api you are using for your plugin?

Offline

 

#13 2013-01-29 20:27:28

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Google2Piwigo metadata synchronization

I said "I'm not even sure" ;-)

I'll check in the end of the week

Offline

 

#14 2013-02-10 18:27:05

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Google2Piwigo metadata synchronization

I don't find where we can change photo name in Google Plus, perhaps it's nor possible anymore

anyway I use the filename to detect already imported photos so I can't really save the original filename

Offline

 
  •  » Extensions
  •  » Google2Piwigo metadata synchronization

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact