2016-01-08 23:49:06 +01:00
|
|
|
"""
|
|
|
|
Settings used by Elodie.
|
|
|
|
"""
|
|
|
|
|
2015-10-10 09:02:53 +02:00
|
|
|
from os import path
|
|
|
|
|
2016-01-08 23:49:06 +01:00
|
|
|
#: If True, debug messages will be printed.
|
2015-12-09 08:40:01 +01:00
|
|
|
debug = True
|
2016-01-08 23:49:06 +01:00
|
|
|
|
|
|
|
#: Directory in which to store Elodie settings.
|
2015-10-10 09:02:53 +02:00
|
|
|
application_directory = '{}/.elodie'.format(path.expanduser('~'))
|
2016-01-08 23:49:06 +01:00
|
|
|
|
|
|
|
#: File in which to store details about media Elodie has seen.
|
2015-10-10 09:02:53 +02:00
|
|
|
hash_db = '{}/hash.json'.format(application_directory)
|
2016-01-08 23:49:06 +01:00
|
|
|
|
|
|
|
#: File in which to store geolocation details about media Elodie has seen.
|
2015-12-24 20:39:28 +01:00
|
|
|
location_db = '{}/location.json'.format(application_directory)
|
2016-01-08 23:49:06 +01:00
|
|
|
|
|
|
|
#: Elodie installation directory.
|
2015-10-21 08:51:14 +02:00
|
|
|
script_directory = path.dirname(path.dirname(path.abspath(__file__)))
|
2016-01-08 23:49:06 +01:00
|
|
|
|
|
|
|
#: Path to Elodie's ExifTool config file.
|
2015-10-21 08:51:14 +02:00
|
|
|
exiftool_config = '%s/configs/ExifTool_config' % script_directory
|