From: Marcin Koziej Date: Tue, 12 Nov 2013 17:07:24 +0000 (+0100) Subject: add genre to picture_info X-Git-Tag: 1.7~123 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/6ab2b1634713a84c9c73905893b25abaa643c08a?ds=sidebyside add genre to picture_info --- 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),