From 6ab2b1634713a84c9c73905893b25abaa643c08a Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Tue, 12 Nov 2013 18:07:24 +0100 Subject: [PATCH 1/1] add genre to picture_info --- librarian/picture.py | 1 + 1 file changed, 1 insertion(+) diff --git a/librarian/picture.py b/librarian/picture.py index ee3c61d..32ffe09 100644 --- a/librarian/picture.py +++ b/librarian/picture.py @@ -30,6 +30,7 @@ class PictureInfo(WorkInfo): Field(DCNS('language'), 'language', required=False), Field(DCNS('subject.period'), 'epochs', salias='epoch', multiple=True), Field(DCNS('subject.type'), 'kinds', salias='kind', multiple=True), + Field(DCNS('subject.genre'), 'genres', salias='genre', multiple=True, required=False), Field(DCNS('format.dimensions'), 'dimensions', required=False), Field(DCNS('format.checksum.sha1'), 'sha1', required=True), -- 2.20.1