Attempting to fix DateTime EXIF import issue...



I reported a bug about how some of my photos don't import the correct DateTime. It just sets it to the current time. Even though the DateTime in the EXIF is set correctly. Or so I assume.

http://bugzilla.gnome.org/show_bug.cgi?id=309436 <-- I have a screen shot that should expain it better.

I am able to compile the code I have a couple questions.

1. How do you use the compiled form without doing a "make install". I noticed in the f-spot script it looks to see if you are running the uninstalled version but it doesn't work. I have to install it into local to do testing. Which I would rather not do. I suppose I have to set the LD_LIBRARTY_PATH to libfspot/.libs or something.

2. Where in the code does the Exif data get scanned for the import? I am new to C# and I don't really know how to code it. But I am sure if I am in the right place I can sniff out the problem.

I found this in Exif.cs Reset():

//FIXME the month string in time fields in libexif ix currently broken so we do our own.

System.Console.WriteLine ("Inside reset {1}",tag);
                       if (tag == Tag.DateTime
                           || tag == Tag.DateTimeOriginal
                           || tag == Tag.DateTimeDigitized)
this.SetData (System.DateTime.Now);

But you will notice i added the WriteLine. And it doesn't get called. Any pointers?

Oh an bravo to the person who decided to use sqlite. I am very pleased.

--
Christian Pearce
http://www.commnav.com
http://www.perfectorder.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]