Skip to content

Hacking the Adobe Lightroom Catalog

I had a problem the other day.. I wanted to moved all my Photographs from my workstation to my server, and access them over the network. The main issue is that I keep all of them organized in Adobe Lightroom catalogs (v. 1.4.1), and it does not allow the catalogs to be in network drives. That’s not a big deal, as I prefer to have the catalogs local (just a couple of GBs) and the bulk of the files in the server (around 130 GBs).

Since I moved the files using a USB drive, the Catalog had all files referencing the location of the drive. So I first tried to “find missing folders” option to relocate them. Unfortunately it asks me to apply the changes to every folder manually, and that was too much work. Besides, it was renaming the folder entry to “/new-path/date”, which looks very ugly and renders the folder browser in the library useless.

So I started to look for another option. Fortunately, the Lightroom catalog file (.lrcat) is a regular SQLite database file. So I took my database browser and after a few minutes inspection, I came up with the following two commands:

UPDATE Adobe_imageFiles
SET absolutePath = replace(absolutePath,"old-path","new-path");

UPDATE AgFolderTagInfo
SET absolutePath = replace(absolutePath,"old-path","new-path");

the catalog keeps the absolutePath of every image in a table, and the first update replaces the old path with the new one. Similarly, it keeps every folder path in another table, and the second query takes care of it.

For best results backup before doing any changes, and tell Ligthroom to optimize the catalog after reopening.

One can do some other stuff too, like remove “missing file” tags, or correct filenames for images.

WTF – MSN for Mac shows offline users!

msn-mac-offline

All I could say was… WTF?!?! Looks like someone messed it up somewhere… a user should not see another user when he is in “Appear as Offline” status ….

So, if you think you are safely hidden from gazing eyes when appearing as offline, think again. MSN seems to have a God mode, and he uses a Mac :-)

Missed the concert, again….

gdudamel

Well, as the title says, I missed it again. When Dudamel was on tour last year in Europe, it was impossible to get a ticket. Then I visit a friend in Stockholm, but he was performing one week after. Then he made a special concert on Ludwigshafen (5 minutes from here), but I couldn’t get a ticket either… now, I was on Berlin for a conference, and he was directing Don Giovanni, but of course, I had to leave, it was the last train, when he was performing one hour later, grr…

Well, I will have to wait and and be patient. Maybe in the future.

The Matrix and the Three Laws of Robotics

animatrix_snapshot

This is just a mental excercise, so let’s play a little, shall we? =)

Mixing two Science Fiction worlds is always dangerous. However, both the Three Laws of Robotics from Isaac Asimov and the Matrix Universe from the Wachowski brothers explore the issue of machines becoming intelligent and having the capacity to destroy their makers, that is, us.
(Continued)

A Scanner Darkly

I was looking at this movie again last week, it’s really visually very attractive. Not that the story is not good, it’s also great (a Philip Dick story after all). I took afterwards some time to research on the movie, specially the difficulties they had during post production. Every frame was processed by hand by a huge team of animators doing digital rotoscoping all day… for 18 months!

I really like the result.