2018-05-20 14:50:02 +02:00
|
|
|
[main]
|
|
|
|
# time source order
|
2018-05-20 21:23:21 +02:00
|
|
|
time_src_image = exif,name
|
2020-11-30 11:56:33 +02:00
|
|
|
time_src_video = exif,name,attr
|
|
|
|
time_src_audio = exif,name,attr
|
2018-05-20 14:50:02 +02:00
|
|
|
|
|
|
|
# Date/Time formats
|
2019-11-17 18:11:10 +02:00
|
|
|
out_date_format = %%Y/%%Y-%%m-%%d
|
2018-05-20 14:50:02 +02:00
|
|
|
out_time_format = %%Y-%%m-%%d_%%H-%%M-%%S
|
|
|
|
|
|
|
|
# Output sub directorines
|
|
|
|
out_subdir_image = Foto
|
|
|
|
out_subdir_video = Video
|
|
|
|
out_subdir_audio = Audio
|
|
|
|
|
2018-06-13 18:36:55 +02:00
|
|
|
# File extensions
|
2020-11-30 11:56:33 +02:00
|
|
|
file_ext_image = jpeg,jpg,cr2
|
2022-01-30 13:41:13 +02:00
|
|
|
file_ext_video = mp4,mpg,mpeg,mov,avi,mts,3gp,m4v
|
2022-12-09 00:57:31 +02:00
|
|
|
file_ext_audio = mp3,3gpp,m4a,wav,aac
|
2018-06-13 18:36:55 +02:00
|
|
|
file_ext_garbage = thm,ctg
|
|
|
|
file_ext_ignore = ini,zip,db
|
|
|
|
|
2018-05-20 14:50:02 +02:00
|
|
|
# Thread count
|
|
|
|
threads_count = 2
|
|
|
|
|
|
|
|
# Remove garbage files (photo config, thumbnails, etc.) 0/1
|
|
|
|
remove_garbage = 1
|
|
|
|
|
2018-05-21 21:37:08 +02:00
|
|
|
# Remove empty directories
|
|
|
|
remove_empty_dirs = 1
|
|
|
|
|
2018-05-20 14:50:02 +02:00
|
|
|
# Remove source files (in case of out_path specified) 0/1
|
|
|
|
move_mode = 1
|
2020-11-30 11:56:33 +02:00
|
|
|
|
|
|
|
# umask for new folder and copied files
|
|
|
|
umask = 0o000
|
2018-09-23 22:10:08 +02:00
|
|
|
|
2022-01-30 03:10:43 +02:00
|
|
|
# use jpegtran in place of exiftran 0/1
|
|
|
|
use_jpegtran = 0
|
|
|
|
|
2022-01-30 13:41:13 +02:00
|
|
|
# use shutil libarary in place of system calls 0/1
|
|
|
|
# slower but provide more cross platform compatibility
|
|
|
|
use_shutil = 0
|
|
|
|
|
2018-09-23 22:10:08 +02:00
|
|
|
[server]
|
|
|
|
# server port
|
|
|
|
port = 8080
|
|
|
|
|
|
|
|
# path to html files
|
2020-01-18 03:28:13 +02:00
|
|
|
web_path = /usr/share/photo-importer/web/
|
2018-09-23 22:10:08 +02:00
|
|
|
|
|
|
|
# imported output path
|
|
|
|
out_path = /mnt/multimedia/NEW/
|
2019-01-27 03:05:59 +02:00
|
|
|
|
|
|
|
# fixed input path
|
|
|
|
in_path =
|
2019-11-27 19:41:32 +02:00
|
|
|
|
|
|
|
# log file
|
|
|
|
log_file = /var/log/photo-importer-server.log
|