File metadata: Add file metadata app
Add the file metadata app. This app uses binary wrappers called drivers to extract properties from the file of documents. The default driver uses the exiftool to extract the EXIF record from JPEG images. The exiftool can also extra some properties from other files like PDFs, office files and sound file. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
13
mayan/apps/file_metadata/queue.py
Normal file
13
mayan/apps/file_metadata/queue.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from __future__ import absolute_import, unicode_literals
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from mayan.apps.task_manager.classes import CeleryQueue
|
||||
|
||||
queue = CeleryQueue(
|
||||
label=_('File metadata'), name='file_metadata'
|
||||
)
|
||||
queue.add_task_type(
|
||||
label=_('Process document version'),
|
||||
name='mayan.apps.file_metadata.tasks.task_process_document_version'
|
||||
)
|
||||
Reference in New Issue
Block a user