add genre to picture_info
authorMarcin Koziej <marcin@lolownia.org>
Tue, 12 Nov 2013 17:07:24 +0000 (18:07 +0100)
committerMarcin Koziej <marcin@lolownia.org>
Tue, 12 Nov 2013 17:07:53 +0000 (18:07 +0100)
librarian/picture.py

index ee3c61d..32ffe09 100644 (file)
@@ -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),