Add open evening database lookups

Signed-off-by: Paul Brook <paul@nowt.org>