-
Notifications
You must be signed in to change notification settings - Fork 299
Add shutter mode and mechanical shutter count to nikon makernote 3 #1453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks @hassec. A couple of comments:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have a look at nikonFlashComp. Its a TagDetails array, which is a sparse array of value/strings. Can you use something similar to eliminate the need for print0x0034?
|
Thanks for the quick review @clanmills :) I've moved the test into the one you suggested.
Edit: had misunderstood |
|
You're right. We shouldn't do a big edit on working code. However, if you can get things to work with a TagDetails array instead of print0x0034() I would much prefer this. |
|
Thanks for the suggestion @clanmills! I updated my comment above, I had actually misunderstood the macro. Just adapted to code accordingly. It's now even shorter and thus nicer ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good Job. Very nice job.
Very clever of you to add the extra -g shutter/i stuff to the existing test. Less is always more in software.
|
When the CI is green, please merge. |
|
@clanmills I don't have the rights to merge |
|
Let me look at the permissions. You're obviously a very good engineer. I'm happy for you to merge. |
|
I thought I added you last week. Anyway, you should be in now. When you want to submit a PR in future, can you create it in the exiv2/exiv2 repos. Much easier work-flow. Other team members can edit/update it. And easier for me to sync/build/review. |
|
Awesome! Thanks a lot, it's much appreciated 👍 |
These were easy enough to add, and I figured they might be useful.
Added a quick test based on the Nikon z6 file (
CH0_0174.exv) that is already in the repo to test the version 8 lens data.