1
0
mirror of https://github.com/sashacmc/photo-importer.git synced 2024-11-24 08:02:14 +02:00
photo-importer/photo-importer.cfg

68 lines
1.6 KiB
INI
Raw Normal View History

[main]
# time source order
time_src_image = exif,name
time_src_video = exif,name,attr
time_src_audio = exif,name,attr
# Date/Time formats
out_date_format = %%Y/%%Y-%%m-%%d
out_time_format = %%Y-%%m-%%d_%%H-%%M-%%S
# Output sub directorines
out_subdir_image = Foto
out_subdir_video = Video
out_subdir_audio = Audio
# File extensions
file_ext_image = jpeg,jpg,cr2
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
file_ext_garbage = thm,ctg
file_ext_ignore = ini,zip,db
# Thread count (int, count)
threads_count = 2
# Remove garbage files (photo config, thumbnails, etc.) (bool, 0/1)
remove_garbage = 1
# Remove empty directories (bool, 0/1)
remove_empty_dirs = 1
# Remove source files (in case of out_path specified) (bool, 0/1)
move_mode = 1
# Umask for new folder and copied files (int, octal)
umask = 0o000
2018-09-23 22:10:08 +02:00
# Use jpegtran in place of exiftran (bool, 0/1)
2022-01-30 03:10:43 +02:00
use_jpegtran = 0
# Use shutil libarary in place of system calls (bool, 0/1)
# slower but provide more cross platform compatibility
use_shutil = 0
# Add original filename, if it does not contain a timestamp (bool, 0/1)
# (Useful if filename contains some notable information)
add_orig_name = 0
# This time shift (in seconds) will be added to the original timestamp during renaming
# (useful if original file have a wrong timestamp, timestamp will no affected)
time_shift = 0
2018-09-23 22:10:08 +02:00
[server]
# Server port
2018-09-23 22:10:08 +02:00
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
2018-09-23 22:10:08 +02:00
out_path = /mnt/multimedia/NEW/
# Fixed input path
in_path =
2019-11-27 19:41:32 +02:00
# Log file
2019-11-27 19:41:32 +02:00
log_file = /var/log/photo-importer-server.log