Use __dir__ directly.
Use our own custom column named added (see #added:). Catch error from calibredb.