paolobenve / myphotoshare

MOVED TO GITLAB! --- A Web 2.0 Photo Gallery Done Right via Static JSON, Dynamic Javascript and a bit of php for sharing
15 stars 0 forks source link

Support for user defined metadata in 'album.ini' file #70

Closed pmetras closed 6 years ago

pmetras commented 6 years ago

These changes add support for a configuration file name album.ini that the user can place into photo albums to define user defined metadata. This is useful when media don't have some metadata (for instance geotagging) or when the metadata extracted from the media must be changed (for example when geoname does not find the correct location). By metadata, I mean media all type of sidecar information, not only metadata from EXIF part of photo files. More explanations in #61.

I've added a documentation file that explains how to use that feature.

This version only implement the bases of custom metadata, in the scanner code. The changes to the web application are limited: displaying only 3 new metadata. The web application could be enhanced by using the tags metadata to allow new ways to browse or search media. As it said in school book, "this is let to the reader as an exercise" for the moment.

Known bugs or limitations:

paolobenve commented 6 years ago

good work! you only missed to pull some commit from master

pmetras commented 6 years ago

Sorry. I'm still learning git workflows. I hope it's better now...

paolobenve commented 6 years ago

cannot understand why... your scanner/cachePath.py is different from mine...

paolobenve commented 6 years ago

supposedly you pulled my master branch to your master branch, you must merge your master branch to you album_ini branch too

pmetras commented 6 years ago

Well, the CachePath.py was not committed on my computer. Now I've pushed it, but I'm still not sure of the result. I'll check later and try to merge master.

pmetras commented 6 years ago

OK, now if I've done the job correctly, it should be good. My problem is that I'm working on two computers and I messed with the changes in the files.