Skip to main content
November 4, 2011
Answered

How to read user edit history from lrcat?

  • November 4, 2011
  • 1 reply
  • 1219 views

How can I  get the history list using the SDK?

And if it's not possible, would anybody be interested in a script that does this by parsing the .lrcat file?

Thank you,

Armin

This topic has been closed for replies.
Correct answer

I hacked something together in C++ so I could plug it directly into my code. I think I've removed all specific code in here and left it generic, printing out all gathered data.

This requires the soci library.

http://www.artoonie.com/projects/ila/lightroom-parse.html

1 reply

areohbee
Legend
November 4, 2011

I don't think you can read it while Lightroom is running, since its in the lrcat file which is locked, and there is no SDK support for it. But you can read it before Lightroom starts up. Python has built-in sqlite3 client which makes it convenient.

If you figure out how to do it via script I would be interested.

Correct answer
November 8, 2011

I hacked something together in C++ so I could plug it directly into my code. I think I've removed all specific code in here and left it generic, printing out all gathered data.

This requires the soci library.

http://www.artoonie.com/projects/ila/lightroom-parse.html