Fix app's indexing, settings, tests
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -8,12 +8,6 @@ from .literals import DEFAULT_EXIF_PATH
|
||||
|
||||
namespace = Namespace(label=_('File metadata'), name='file_metadata')
|
||||
|
||||
setting_drivers_arguments = namespace.add_setting(
|
||||
global_name='FILE_METADATA_DRIVERS_ARGUMENTS',
|
||||
default={'exif_driver': {'exiftool_path': DEFAULT_EXIF_PATH}}, help_text=_(
|
||||
'Arguments to pass to the drivers.'
|
||||
)
|
||||
)
|
||||
setting_auto_process = namespace.add_setting(
|
||||
global_name='FILE_METADATA_AUTO_PROCESS', default=True,
|
||||
help_text=_(
|
||||
@@ -21,3 +15,13 @@ setting_auto_process = namespace.add_setting(
|
||||
'automatically by default.'
|
||||
)
|
||||
)
|
||||
setting_drivers_arguments = namespace.add_setting(
|
||||
default='''
|
||||
{{
|
||||
exif_driver: {{exiftool_path: {}}},
|
||||
|
||||
}}
|
||||
'''.replace('\n', '').format(DEFAULT_EXIF_PATH), help_text=_(
|
||||
'Arguments to pass to the drivers.'
|
||||
), global_name='FILE_METADATA_DRIVERS_ARGUMENTS', quoted=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user