OK, I've had a look now that I've got the source in front of me and it looks like I may have been wrong. The Tamron lens originally didn't have the "(A005)" part but Torsten added it with the commit message "Fixed one Tamron lens name" and I don't understand that change at the moment. If you have the chance, could you check whether your lens is autodetected if you change the "4.0" to "4" in the name string but leave the "(A005)" part there? It looks like that would be consistent with how other lenses have their aperture values written in the database.
The 168 at the end of the Nikon lens is the lens ID, but it's present in quite a few of the names in that file. Comparing the "model" tag with the "en" names suggests that the "G" that you see in your exif data should be in the "model" tag. So, I guess the same question again, if you include the "G" in the model tag but don't remove the "168" does it still solve your problem? Hopefully someone (Torsten?) can say what the correct format for these names is. Failing that, does anyone else have one of these lenses and could confirm that making changes to the names won't break the autodetection? Thanks, Graeme On Fri, 26 Mar 2021 at 13:10, Graeme Leese <[email protected]> wrote: > Hi, > > Thanks for the report. It looks to me as though the extra bit at the end > of the names in the database is wrong and should be removed to match what > you're seeing. I'll have a look and see if I can understand why it's like > it is, but I guess that changing the XML will be the right fix. > > Thanks, > Graeme > > > On Sun, 21 Mar 2021, 12:55 Johann Maierhofer, < > [email protected]> wrote: > >> Hello, >> >> I have tree lenses for my Nikon D5500 and use Darktable to edit my RAW >> file. >> Only one of these lenses is detected automatically by Darktable. The >> others I >> need to select manually from the list. >> >> After comparing the data in the XML files with the data reported in the >> EXIF >> data I found that the names do not match. After correcting the names >> Darktable >> automatically detected the lenses. >> >> In slr-nikon.xml it was >> existing entry: >> <model>Nikon AF-P DX Nikkor 10-20mm f/4.5-5.6 VR 168</model> >> name according to my EXIF data: >> <model>Nikon AF-P DX Nikkor 10-20mm f/4.5-5.6G VR</model> >> >> In slr-tamron.xml it was >> existing entry: >> <model>Tamron SP 70-300mm f/4.0-5.6 Di VC USD (A005)</model> >> name according to EXIF data: >> <model>Tamron SP 70-300mm f/4-5.6 Di VC USD</model> >> >> I do not know whether the issue is with my camera to produce wrong EXIF >> data >> or whether the xml entries should be generally changed. >> >> Thanks >> Johann >> >> >> >> >> _______________________________________________ >> Lensfun-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/lensfun-users >> >
_______________________________________________ Lensfun-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lensfun-users
